Repository Forums Support WooCommerce Extended Coupon Features PRO How to reduce coupon usage by every BOGO usage

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #16391
    Guido Gallo
    Participant

    Hello!

    I’m a happy new customer enjoying this plugin.

    I need some help with a special situation, I need to decrease the coupon usage by every free item given.

    Example, I give a free pillow by every mattress, then the coupon is configured using BOGO and gives the same amount of pillows as mattress, that is ok, but if is used to buy 5 mattress on the same purchase gives 5 pillows (thats ok) but the coupon decrease is only 1.

    How can I change on php maybe to reduce the coupon usage as many free products are given?

    Thanks in advance for your help!

    #16393
    Soft79
    Keymaster

    I think adding two properties (‘max free items to give away’ and ‘number of items given away’) to the coupon would be the easiest solution. Decrease the 2nd property with the amount of applied free products every time the coupon is used.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.