-
Can we please have this filter added to
RankMath\RichSnippet\Product_WooCommerce::set_offers_variable( $product, &$entity, $seller )
// Look for itemCondition override by variation. $this->set_variation_condition( $variation, $offer ); // Have the chance to edit the offer scheme with the product data available $offer = apply_filters('rank_math/snippet/rich_snippet_product_offer', $offer, $variation, $product, $seller); $entity['offers'][] = $offer;
We really need a way to be able to edit the offer schema on variable products, WITH the product data in context to avoid more db lookup. This is the only chance in the code to be able to match the variation with the offer schema building.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The ticket ‘Can we please have this filter added’ is closed to new replies.