2

I have used checkout_cart_product_add_after event, for change product price.

Used observer code like below

$item->setCustomPrice($price);
$item->setOriginalCustomPrice($price);
$item->getProduct()->setIsSuperMode(true);

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

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

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

  • Hello @SureshChikani. Did you found any solution for that? – Rohan Hapani Nov 14 '18 at 13:09
  • @SureshChikani any solution? – Bilal Usean Feb 12 at 18:18
  • Yes I done this but I need to find out the code for it. I will post solution here one I Free. – Suresh Chikani Feb 12 at 18:33

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.