• 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 3 years, 5 months ago by blindmikey.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter blindmikey

    (@blindmikey)

    Also prevented messaging by patching the method _display_eligible_deal_notices() in advanced-coupons-for-woocommerce-free/Models/BOGO/Frontend.php

    I added this to the codeshare as well.

    Best,
    -M

    Plugin Support rymerakristel

    (@rymerakristel)

    Hello @blindmikey,

    Kindly send us an email at [email protected] to properly assist you with your BOGO questions.

    Looking forward to your email.

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Conflict with plugin “Woocommerce Role Pricing”’ is closed to new replies.