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

    (@josk79)

    I don’t know that plugin so I can’t support it. You could use the PRO version of my plugin to apply free gifts.

    I have the same problem in this case.

    My coupon automatically adds a free gift to the cart. It works fine, but the URL with apply_coupon does not work.

    https://www.it-guenstiger.net/warenkorb/?add-to-cart=1810&quantity=1&apply_coupon=embundle

    1. The desired product is added to the cart
    2. The coupon should be applied (only works with the desired product) and the free gift should automatically appear in the cart.

    It works only if I already have the desired product added to the cart. The url will then increase the quantity of that product in the cart and the coupon will be succesfully applied.

    I think there is something with the sequence:
    – the URL should first add the product to the cart and then apply the coupon, because it works only if there is something in the cart.

    The parameters shouldn’t be excuted at the same time, but after each other. Maybe with a check: if ?add-to-cart is set, wait until the product is added to the cart and then apply the coupon.

    Nevertheless… I really like this plugin ??

    Plugin Author Soft79

    (@josk79)

    For now, please install this plugin and use ?fill_cart= instead of ?add-to-cart= .

    This works for me, thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Compatibility with WooCommerce Free Gift Coupons’ is closed to new replies.