Jump to content

Reload checkout step if a voucher is applied


kubilayrd
 Share

Recommended Posts

I am trying to integrate a 3rd party taxing module into my shop (PS version 1.7.6.4) and since I am unable to hook voucher applied, the price is calculated incorrectly if a voucher is applied at the last step of the checkout. I simply need to reload the checkout step if a voucher is applied/removed at the last step of the checkout (payment details step).

I was unable to find the most proper place for this. Should I look for `updateCart` event or is there more straightforward place to plug this code in?

Edited by kubilayrd
Method name change (see edit history)

Share this post


Link to post
Share on other sites

Hello, in this scenario you can used the hook ActionCartSave and perform action base on params variable

function hookActionCartSave($params)

like id_card, id_product, discount_name etc

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More