Problem with price ranges for variations
-
Hi
Thank you for your plugin, it’s really helpful
I faced with some issue, when product has many variations (about 30), and in this case the price range stops working correctly. By default, Wooommerce shows a range of price variations from the smallest to the highest price. So in the case when discounts are applied using your plugin and the product has more than 20 variations the price range stops working correctly, it only shows the minimum price.
I looked into the plugin code and found a filter which limits variations to 20 items:
apply_filters(‘advanced_woo_discount_rules_check variants_limit_for_variable_strikeout’, 20); in /v2/App/Controllers/ManageDiscount.php:getVariablePriceHtml()
Of course, this can be easily fixed by adding a filter in the theme code, but why is this filter needed? Does it somehow affect productivity? I didn’t find any mention of this filter in the documentation. And I spent several hours trying to figure out what the problem was.
Thanks.
- The topic ‘Problem with price ranges for variations’ is closed to new replies.