Problem/Motivation
The site breaks when I have items in the cart and I try to change the currency on the currency block.
The currencies work as cookies and use the Automatic conversion source.
Specifically, if the item has overriden unit price, and the price is set to 0.
Steps to reproduce
- You must have some kind of custom code and at least one of the items unit price has to be set to overriden and to 0
- Go to cart page
- Change the price from the currency block
Proposed resolution
I have written a custom patch that prevents the WSOD, but sometimes it still messes up the currencies...
Without the patch, I have just edited the cookie storage and reverted back to the currency that was previously set
In the worst case if the site still breaks I had to programmatically delete order.
Comments
Comment #2
darko_antunovicComment #3
avpadernoComment #4
valicthat' fixed with 3615986 in v2
tnx