entering a coupon removes shipping

  • Posts: 24
  • Thank you received: 0
13 years 7 months ago #14598

Hi,

I'm using the following checkout sequence:
cart_coupon,login,address,payment_shipping,confirm_cart_coupon_status_fields,end

On the last screen, confirm_cart_coupon_status_fields, if I enter or remove a coupon code, the shipping is also removed. I then have to manually go back to the payment_shipping section in order to reapply it.

Has something like this been seen before? Any ideas?

Thanks,

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

  • Posts: 24
  • Thank you received: 0
13 years 7 months ago #14610

Allright, I found a workaround for now.

I had the setting "Auto select default shipping and payment methods" set to no. I changed this to the value "If only one method is available". Now, on the payment/shipping screen, shipping is automatically selected and must be saved even when a coupon is added later.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 7 months ago #14616

The shipping method selection is indeed removed when a coupon is entered. That is because shipping methods can be restricted on the order amount and the coupon will change that value. So the shipping method which was selected by the user might not be possible anymore or the system might have more/different shipping methods to display.

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

  • Posts: 24
  • Thank you received: 0
13 years 7 months ago #14628

That makes sense, but I don't think it applies to this situation. The same shipping method is applicable to the order with or without that coupon. And, for some reason the workaround above fixes the problem without any change to the order, shipping methods or discounts.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 7 months ago #14640

That's because when you use the option "If only one method is available", the default shipping method is selected automatically after reseting the shipping method selection. So it's normal that it works with that option and not the other.

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

  • Posts: 23
  • Thank you received: 0
11 years 4 months ago #113763

nicolas wrote: The shipping method selection is indeed removed when a coupon is entered. That is because shipping methods can be restricted on the order amount and the coupon will change that value.


Faced this situation... Please, advice... how to make that shipping method selection can be based not from discounted value of order - but from value BEFORE of all discounts/coupons/points?

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
11 years 4 months ago #113968

There is no option for that. That will require the write a custom shipping method plugin which would recalculate all the prices without taking into account the discounts/coupons/points. It's no simple task and a lot more complex that changing two lines somewhere in HikaShop.

If you're a developer (or you hire one to do it for you), we have documentation on our website to create shipping plugins which will help you achieve that:
www.hikashop.com/en/support/documentatio...r-documentation.html

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

  • Posts: 23
  • Thank you received: 0
11 years 4 months ago #114187

I have customized hikashop manual shipping plugin and now it's selecting shipping variant without discounts. Seems now it works as it's needed.

Thank you for the documentation link. Not found this before. It will be very usefull.

Last edit: 11 years 4 months ago by appetit.

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

Time to create page: 0.074 seconds
Powered by Kunena Forum