Developer forum

Forum » Ecommerce - Standard features » Free shipping rule when paying with a Gift card

Free shipping rule when paying with a Gift card

Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

We have a site using Gift cards.

The first requirement was to avoid including the value of the gift card in the calculation for the Shipping fee, at the time the gift card is purchased.

And for this purpose, we have defined a Free shipping discount.

Now, we have another challenge. When paying an order with a gift card, the shipping fee calculation is based on the remaining amount which leads to many orders without free shipping.
For example, if I have a 250RON order and I pay 200RON with the gift card, the remaining amount is 50RON which will not trigger the free shipping rule.

How should I handle this situation? Is there a combination of configurations that would give me what I need?

Thank you,
Adrian


Replies

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Nevermind. I have found the checkbox:

 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Hi Adrian,

 

Just curious, you had to define a discount so that a gift card would not be calculated as a Shipping Fee? Wouldn't having it be 0 in weight be enough for it?

 

I understand that we may have physical gift cards (which need shipping) and virtual gift cards (which do not need shipping), but 0 weight should be enough to control that, wouldn't it?

 

Best Regards,

Nuno Aguiar

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi Nuno,

There are 2 separate situations:
1. When buying gift cards

2. When using gift cards.

For the first situation, a discount with Free shipping for Gift card products (assigned to a group) would do the trick.
For the second situation, if you want to offer free shipping on the value of the order before applying the gift card, you have to use the checkbox.

Adrian

 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Hi Adrian,

 

Correct, there are 2 situations

 

  1. This is the situation I would not expect you to have to create a Discount. It should just work with 0 weight.
    I see this as the same with Digital Products (non shippable products). If we have to setup discounts/free shipping for products that are not "shippable", seems like an unnecessary complication (that DW should simplify if that's the case)
     
  2. Makes sense. Understood

 

Best Regards,

Nuno Aguiar

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi Nuno,

I have a correction.

The checkbox will work for any discount not just for GiftCards. Which is not good.

I will have to find another solution for my issue.

Adrian

 
Morten Snedker Dynamicweb Employee
Morten Snedker
Reply

Hi Adrian,

I don't know if managed to get it resolved, but as for your last comment:
Can't you just have giftcards in a certain group, and have that particular group be assigned to the discount?

/Snedker

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi Morten,

That part is just half of the story.

The part I have not figured out is how do I handle the Shipping fee is a Gift card is used. Specifically, how Do I ignore the value of the Gift Card when calculating if the order should get free shipping.

Consider this scenario:
Order of 200 EUR. GIft card (voucher code) for 150 EUR. The value of the order is 50 EUR.

If free shipping is set at 200 EUR, this order will never get free shipping, although it should.

If I uncheck the "Base free shipping calculation on discounted price.." this order will correctly get free shipping but so will all orders with a regular discount.
I believe that the calculation of free shipping should ignore the values of the Gift Cards used in the checkout.

I have no idea how I should correctly handle this scenario even with custom code. We will probably have to create a Custom Shipping Fee Provider and use it for all Shipping charges.

If you have any suggestions, please help me.

Thank you,
Adrian

 

You must be logged in to post in the forum