Decoding special characters in cart (custom options message)
-
04-10-2020 - |
Question
Customers can enter their own custom message that will be added to the product. Everything works fine, except the special characters are encoded in the cart. I can't seem to find a way to fix this (where to put the decode) so any help is very welcome!
The url called to add product to the cart: /checkout/cart/add/product/
+ url with parameters
Thanks! Klemen
Solution
Solution was in checking custom theme cart files and applying urldecode(); to the options displayed there.
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange