• Resolved blindmikey

    (@blindmikey)


    When the plugin “Woocommerce Role Pricing” is enabled, BOGO products that should be discounted are not. Discount amount is shown, but neither the subtotal or total reflects the discount.

    I was able 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 also had 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’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 2 years, 10 months ago by blindmikey.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Conflict with plugin “Woocommerce Role Pricing”’ is closed to new replies.