Repository Forums Support WooCommerce Extended Coupon Features PRO Priority of discounts and free products

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #15542
    Walter Wittmann
    Participant

    Dear support team!
    We bought the PRO version to add free products to the shopping cart. That works so far.

    Now the free product should only be after subtracting a voucher e.g. 40% can be placed in the shopping cart.
    A priority order does not seem to work.
    Example of how it should work:
    Shopping cart: EUR 310.00 -40% = 186.00 = 1 Free product
    Shopping cart: EUR 510.00 -40% = 306.00 = 2 Free product
    (1 free product from EUR 150.00 cart value.
    2 Free product from EUR 300.00 shopping cart value etc.)

    With the ask for support.

    #15543
    Soft79
    Keymaster

    Hi,

    Unfortunately that won’t work. In WooCommerce a coupon min/max spend is always based on the subtotal of the cart, so it doesn’t take coupon discounts in account.

    #15546
    Walter Wittmann
    Participant

    Thank you for your prompt reply!
    This is not good!
    Is it possible to solve this with a function?
    Or another idea?

    #15552
    Soft79
    Keymaster

    You can use wjecf_free_product_amount_for_coupon to adjust the amount of free items.

    #15553
    Walter Wittmann
    Participant

    Thanks for the information! We will test it.

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