• Resolved elmersw

    (@elmersw)


    I’m using the Flexible Shipping plug-in to determine the rates for shipping and standard WC flat rate for local delivery (including free delivery).

    I noticed a gift card in the cart counts towards free shipping. At first I assumed this problem was (only) related to the Flexible Shipping plug-in. The problem is described here.

    I just discovered the problem also appears when using the standard Woocommerce flat rates. I deactivated the FS plug-in to be sure and the problem still exists.

    A summary of the problem:

    1. If I only add a gift card to the cart, no shipment options are available and no shipping fees are added. Just as expected.
    2. If I add other items to the cart as well, the value of all items is taken into account for the free shipping threshold. My free ‘shipping’ threshold is set at EUR 50. If I add physical products amounting to EUR 25 to the cart, shipping fees will be EUR 2.95. Adding a gift card with a value of EUR 25 on top of that, will result in free shipping. This is not what I expect as a gift card has nothing to do with shipping.

    Customers could take advantage of this situation:

    Suppose they add physical products to their cart amounting to EUR 25 and a gift card amounting to EUR 25. Then they are entitled to free delivery. Their next order could have the same contents and be partially paid with the first gift card. In this case I have only sold products amounting to EUR 50 and can expect EUR 25 for future orders. Overall the threshold has only been reached once, but I have to deliver both orders for free. Imagine what happens if someone keeps repeating this process.

    So, how do I prevent the value of the gift card counting towards free shipping?

    Note: I do know I can prevent gift cards being paid with gift cards. That would actually prevent the endless loop in my example. The problem remains though.

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

    (@pimwick)

    We have instructions on how to prevent the purchase of a gift card from counting towards the Free Shipping calculation with the standard WooCommerce free shipping code. See the guide here:

    https://www.pimwick.com/pw-faq/prevent-gift-cards-from-counting-towards-the-free-shipping-amount/

    This should work with the Flexible Shipping plugin as long as that plugin uses the same core logic as the WooCommerce free shipping calculations.

    Thread Starter elmersw

    (@elmersw)

    Thanks. I had not seen that before. I will try that. Do I need to adjust to code for taxes?

    Plugin Author pimwick

    (@pimwick)

    You will not need to adjust the code, it simply excludes the purchase amount of the gift card from the calculation.

    Thread Starter elmersw

    (@elmersw)

    Thanks. It seems that the Flexible Shipping plug-in is NOT using the same logic as standard Woocommerce. The code provided does work when enabling WC free shipping, but it does not when using the free shipping option within the FS plug-in.

    So, heading back to the FS authors again…

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Gift cards counting towards free shipping’ is closed to new replies.