I have used checkout_cart_product_add_after event, to add the custom price in catalog product.

I used the code for to add custom price,


Above code is not working while multi-currency. On cart page, if I added the product custom price with $10 it is showing $10.

When I am changing currency from the switcher to INR, It was showing ₹10.

If I disabled event and add to cart same product, it's working properly in both currencies.

Does anyone have an idea about this issue?

  • Did you declared the value of $price in to the file only as a static value or it is a dynamic value coming from somewhere else? – Abhishek Tripathi Oct 31 '18 at 7:18
  • No, we do some calculation and set price in the item. – Emipro Technologies Pvt. Ltd. Oct 31 '18 at 9:22
  • Did you get any solution for this? – jaydip sinh Parmar Dec 26 '19 at 7:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.