• Resolved miketsu

    (@miketsu)


    My scenario: buy 2 get X% discount, buy 3 get Y% discount, 4 or more get Z% (bulk discount)
    The Discount table show:
    2-2 | X%
    3-3 | Y%
    4+ | Z%

    Is there anyway I can change 2-2, 3-3 to 2 and 3 (when min = max) ?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi

    Thanks for reaching out.

    You can customize the discount table as per your requirement by creating a simple override at your theme level.

    Here is a guide detailing the same:

    You can refer to How to further customize the discount table?
    https://docs.flycart.org/en/articles/4230405-all-about-discount-table-2-0

    You need to create a folder/file and make the changes in that newly created overridden file.
    
    Kindly create an override file and then customize it according to your requirement.
    You can check with your site developer for further customizations.

    To make changes in the override, here is a snippet for reference :
    https://gist.github.com/Balakrishnan-flycart/b622b8a27e54f29e68d8fe0be94db068
    
    Here is the path :
    /wp-content/themes/<YOUR_THEME_FOLDER>/advanced_woo_discount_rules/discount_table.php.
    
    Hope this helps!

    Thanks
    Team Flycart

    Thread Starter miketsu

    (@miketsu)

    Hi,
    This solution is a little complex for a simple modification but ended up allowing me to customize more than I expected.
    Thank you.

    Happy to help 🙂 @miketsu

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Change Discount Table range format when min = max’ is closed to new replies.