Hi,
I can confirm that you code is working, thank you for looking into this.
However I have another few questions.
1. To modify the look of the radio buttons I have added span classes to characteristics like that:
<span class="test">S</span>
and added such css to my template:
.hikashop_product_characteristics_table td label > input:checked + span {
border: 1px solid #3598db;
color: #fff;
background-color: #3598db;
}
.hikashop_product_characteristics_table td label span {
margin-right: 0px;
border: 1px solid #666666;
width: 64px;
height: 40px;
display: inline-block;
text-align: center;
vertical-align: middle;
border-radius: 2px;
color: #666666;
padding-top: 9px;
text-decoration: none;
font-size: 18px;
cursor:pointer;
}
Is there a way to hide html classes from dropdown? In admin panel product->variant-> main options->in dropdown selection it shows:
<span class="test">S</span>
but I would like to have just "S". Just for more user friendly when changing it. Same applies for front-end dropdown selection if need it.....
Screenshot attached to be more clear.
2. We use 2 characteristics. SIZE and COLOR. As for every color we create new product we would like to hide Color characteristic display from product page and display only Size. How can I hide it or How can I apply different css for different characteristics?
Thank you