- Issue created by @darko_antunovic
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.
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.
Active
1.0
Code