• Resolved csshop

    (@csshop)


    I need a script to set the max discount amount of coupon. I am using this as a buy 3 get 1 free coupon. I want it to have a max value discount.

    Coupon is set up for 25% off cart total if 4 items are added. Works great. But I want to limit the max total discount if customer adds different products.

    Example
    Customer “A” Adds 4 items to the cart all same price
    item 1 $6
    item 2 $6
    item 3 $6
    item 4 $6

    Coupon gives discount of $6 PERFECT

    Example
    Customer “B” Adds 4 items to cart different prices
    item 1 $6
    item 2 $7
    item 3 $18
    item 4 $16

    Coupon gives discount of $11.75 NOT GOOD for a BUY 1 Get 1 FREE
    If I could set coupon to a max value of say $7 it would be fine.

    https://ww.wp.xz.cn/plugins/woocommerce-auto-added-coupons/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Soft79

    (@josk79)

    Hi csshop,

    the pro version has an option where you can limit the discount to the lowest priced item. This works if you have 4 items in the cart (3 + 1 free). So in example B the discount will be $6.

    Unfortunately, if you place more items in the cart, still the cheapest will be chosen… is that a problem? Fixing that would require some customization.

    Thread Starter csshop

    (@csshop)

    That would work fine, 2 questions (1) how do i get pro and (2) can you send me a screen shot of how to set that option up?

    Thread Starter csshop

    (@csshop)

    Never mind on how to buy, I just fouind it and bought the pro version.

    Can you show me where that setting is located?

    Plugin Author Soft79

    (@josk79)

    Use these settings:

    General – Discount Type: Product % Discount
    General – Coupon Amount: 100
    Products – Limit Discount to: Lowest priced product
    Products – Minimum amount of matching products: 4

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

The topic ‘Max amount’ is closed to new replies.