- Priority: 0
- Status: Closed
- Theme: Alysum
-
Assigned To:
Marek
- Private: No
- Open Date: 21.06.18, 12:32
- Opened by: fernando salas
- Closed by: Marek
- Closed on: 26.06.18, 10:29
- Reason: Closed
- Comment: Glad to help!
Ticket #12426 - Get html color code in cart page
Hello,
Is possible to get “htlm_color_code” instead of color name in cart page?
I found the code to modify, but don’t know what variable i need to call to show this html color code
Comments
Try this:
Hello,
it doesn’t work because {$value} has the value “Grey”, so we want the html color code of this variable.
http://prntscr.com/jy0oqj
¿How can we do that?
You can use color names, that is no a problem https://www.w3schools.com/Colors/colors_names.asp
Hello,
The problem is that the client wants to set the name of the colours different that his html color code, for that reason we need to get this field instead the name to this part.
¿How can we do that?
I have no idea hot to do that fast, it’s require some code customisation.
Hello,
If you explain me how to do that i will do it (change controllers or something like that….)
Here is code example
If you appreciate my work, I would be glad to get symbolic payment 10 euro for my PayPal promokit.eu@gmail.com
Hello,
It worked!
Thank you so much for your work!