This PR fixes the issue where the ProductPageListener would break on pages that do not have a product option field.
This was breaking because the $productGroup->option check calls a magic getting on Field\Group which throws an exception because that field does not exist, and so it was impossible to save product pages
This PR fixes the issue where the
ProductPageListener
would break on pages that do not have a product option field.This was breaking because the
$productGroup->option
check calls a magic getting onField\Group
which throws an exception because that field does not exist, and so it was impossible to save product pages