Issue with coupon with discount applied on shipping

  • Posts: 43
  • Thank you received: 6
  • Hikashop Business
3 weeks 1 day ago #365462

-- HikaShop version -- : 5.1.3
-- Joomla version -- : 5.1.4
-- PHP version -- : 8.2
-- Browser(s) name and version -- : firefox

Hello,

I’ve created a coupon to apply a 100% discount on the shipping costs for one of my category (original artworks). When I do some tests, if I add only products from the other category (fine art prints) to the cart, the discount is not applied and I am being charged with the normal shipping amount. However, if I do a test and add one product from the original artwork category and one product from the other category (fine art prints), I’m not being charged any shipping.

Each category has its own warehouse, so the items are counted as shipped separately, so I’m not understanding why the discount is applied to the shipping costs of both items and not only on the category for which I have applied the discount on shipping.

Am I doing something wrong here or missing something? What can I do for the shipping discount to be applied to only one category, so that the other shipping costs are still due if a person decides to purchase an item from both categories at the same time?

Thank you!

Please Log in or Create an account to join the conversation.

  • Posts: 83303
  • Thank you received: 13467
  • MODERATOR
3 weeks 22 hours ago #365463

Hi,

You can't restrict a coupon's shipping percentage to the shipping cost of only one warehouse.
Either the coupon applies, and it applies to the total shipping cost, or it doesn't apply.

You can configure the shipping methods so that the shipping is free for one warehouse and not for other warehouses.
But then, it doesn't involve the use of a coupon. In that case, you can use the restriction settings of your shipping methods to achieve this. Maybe that could work for you ?
Now, if you need to require the user to take an action (like enter a coupon code), to get the discount, this won't be possible. In that case, the only solution would be to develop a custom plugin to recalculate the coupon value on the fly based on your specific requirements.

The following user(s) said Thank You: Noe

Please Log in or Create an account to join the conversation.

  • Posts: 43
  • Thank you received: 6
  • Hikashop Business
3 weeks 18 hours ago #365469

Hi,

Ok, thank you for your answer! I think I will try your suggestion for now, eventhough it is not ideal and I would prefer to do it with a coupon, I think it should work this way for this specific offer.

Please Log in or Create an account to join the conversation.

Time to create page: 0.057 seconds
Powered by Kunena Forum