Setono / SyliusGiftCardPlugin

Sell gift cards on your Sylius store and let users use them in the checkout process
MIT License
45 stars 39 forks source link

Prevent from using a Gift Card on shipping cost #170

Open Roshyo opened 2 years ago

Roshyo commented 2 years ago

It would be nice to be able to prevent a Gift Card from being applied on shipping costs.

loevgaard commented 2 years ago

What does this mean?

If you have an order like:

Item Price
T-shirt $10
Jeans $20
Shipping $3

It would only be applied to $30 (i.e. the t-shirt and the jeans) and not the $3?

If yes, what's the use case for this?

Roshyo commented 2 years ago

Well, sometimes a store owner could grant gift cards but since they are themselves paying for shipping cost, they would prefer it not to apply to shipping costs. So they really offer $30 of products, but not of shipping costs (potentially pushing customers to put more products in the cart)

loevgaard commented 2 years ago

I understand. It's a good use case I think, although I would never risk the bad rep myself :D