Viewing 15 replies - 1 through 15 (of 21 total)
  • Plugin Author DecomTeam

    (@decomteam)

    Hi @jeppeskovsgaard,
    We didn’t close that ticket (its still pinned to the top – so everyone can see it).

    – right now Giftable doesn’t support coupon codes, we have a plan to release an update (that will work with coupon codes) – in next few months.

    – you can create a custom function that will remove GIFT and GIFTABLE from the page with: woocommerce_applied_coupon, woocommerce_coupons_enabled filters when the coupon code is applied ( WC()->cart->applied_coupons ).

    Thread Starter jeppe

    (@jeppeskovsgaard)

    Okay. I’ll try that. Thanks!

    I hope you’ll make an update soon. ??

    Plugin Author DecomTeam

    (@decomteam)

    Hi @jeppeskovsgaard,
    Could you just share how many “Gifts” are you having?
    – how many coupons?
    – do you have one or a lot of Gift categories?

    If we get time, maybe we could create small function/plugin that will remove GIFT X if a Coupon X is used, please share as much as you can with us via email support [at/] decom.ba

    • This reply was modified 6 years, 8 months ago by DecomTeam.
    Plugin Author DecomTeam

    (@decomteam)

    Hi @jeppeskovsgaard,
    If you have just 1 coupon code We created this code that you can edit – its working with coupon code coupon01 and it will remove all gifts you define in items_id_to_remove.

    Code Link – Gist

    If you get any issues, bugs send it please to us – so we can check/fix it,
    I hope it helps.

    • This reply was modified 6 years, 8 months ago by DecomTeam.
    Thread Starter jeppe

    (@jeppeskovsgaard)

    Hello @decomteam

    I have:

    • 1 gift category
    • 25 coupons (more being added weekly/monthly by the marketing department)
    • 12 gifts

    Thanks a lot for the gist. I really appreciate that. However I have 25 coupons. I’m not a PHP developer, so I don’t know how to make it dynamic and work with any amount of coupons. I think I’ll wait till you come up with a solution for the plugin. It looks like you’re not that far from a working solution. ??

    Plugin Author DecomTeam

    (@decomteam)

    Oh, @jeppeskovsgaard
    Then that code will not work (its created to work with one coupon code and multiple gifts).

    Not sure about today but I will see to extend it to all coupons and all gifts – then it can be useful for you.
    If any coupone code is used = remove all gifts and hide giftable carousel?

    Thread Starter jeppe

    (@jeppeskovsgaard)

    @decomteam

    Sounds great.

    Let’s say I’ve set a minimum value in the gift category for 100$.

    A user has added products to the cart with a total value of 110$ and adds a free gift to the cart.

    Now the same user adds a -20$ off coupon, which brings the cart subtotal to 90$. The subtotal is now lower than the defined minimum value of 100$, so the user is no longer eligible for a free gift. The free gift added to the cart is removed as well as the carousel.

    That is how it should work. I hope that makes sense.

    Plugin Author DecomTeam

    (@decomteam)

    Hi @jeppeskovsgaard,
    colleague created small “beta” plugin: It doesnt check price/total, it will just remove all products “Gifts” when “Coupon Code” is used.
    Screenshot – Product data

    BETA:
    https://github.com/apsolut/decom-small-giftable-coupon-alternative
    *if you could test it and send us a feedback,have in mind its BETA

    • This reply was modified 6 years, 8 months ago by DecomTeam.
    • This reply was modified 6 years, 8 months ago by DecomTeam.
    Thread Starter jeppe

    (@jeppeskovsgaard)

    Thanks for that @decomteam.

    What’s the status for implementing a permanent fix in the primary/core plugin?

    Plugin Author DecomTeam

    (@decomteam)

    Dont have ETA about that, did you check a plugin, is it working for you ?

    Thread Starter jeppe

    (@jeppeskovsgaard)

    Okay. Fair enough. ??

    Yes, I did. The gifts are not removed when applying a coupon.

    See my test here: https://www.screenmailer.com/v/IiyjBaUKMZEX32Y

    Plugin Author DecomTeam

    (@decomteam)

    Could you just test the same case 1. Add Gift 2. Add coupon code 3. Refresh page (F5) ?
    – just to check something.

    Will try to investigate today whats going on, as I tested it with theme StoreFront – it was working

    Thread Starter jeppe

    (@jeppeskovsgaard)

    Still not working: https://www.screenmailer.com/v/1WMBaIbV7VjR4O0

    I tried the same when logged out. Still doesn’t work.

    I use Storefront Theme btw.

    Plugin Author DecomTeam

    (@decomteam)

    Hi @jeppeskovsgaard,
    I just re-tested it – from my side it looks like its working:
    Video Showcase

    WooCommerce 3.3.4 ?
    StoreFront latest ?

    *maybe re-download git add-on

    • This reply was modified 6 years, 8 months ago by DecomTeam.
    Thread Starter jeppe

    (@jeppeskovsgaard)

    Hmm. Okay I’ll try disabling some plugins and test again.

    It’s the latest WooCommerce and Storefront version, yes.

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘Gift is not removed when adding coupon’ is closed to new replies.