Hi,
I'm trying to modify Views\Product\_attributes.cshtml to be able to display a color box from the color picker product attribute in a drop down list, alongside the color name (e.g like shown in the attached file), instead of just displaying each box color next to each other (which becomes a problem when you have a lot of different color choices!).
I can see that this works when you create a product link attribute, but not when using the color picker and a simple link.
I understand that it is invalid HTML to put a div element inside a <select> option element, so I'm guessing this must be done using javascript.
Please could you advise how this can be done?
ALSO...I think I've found a related bug...
If you configure a simple product attribute combination to associate a color picker value with an image, the main image is changed when a color is selected - This works perfectly on a desktop device, but doesn't do anything on a mobile device (the main image remains unchanged). Is there a quick fix for this?
Many thanks,
Nick