• When this plugin is enabled, BOGO products from the plugin “Advanced Coupons for Woocommerce” that should be discounted are not. Discount amount is shown, but neither the subtotal or total reflects the discount.

    I was able to modify the file woocommerce-role-pricing/core/class-woorolepricinglight.php so that it’s method woocommerce_get_price() returns early if the discount is 0%.

    I also had to add code to the file advanced-coupons-for-woocommerce-free/Models/BOGO/Frontend.php so that the method _set_matching_cart_item_deals_prices() checks if role pricing exists, and if so, does not apply any discounts. I’ve opened up a separate support ticket with that author.

    You can see the appropriate edits here: https://codeshare.io/2jpB03

    Best,
    -M

    • This topic was modified 3 years, 5 months ago by blindmikey.
  • The topic ‘Conflict with plugin “Advanced Coupons for Woocommerce”’ is closed to new replies.