Quote:
Originally Posted by qualiteam
You could use 'Custom JS', perfectly suits this task.
|
Found a script which might work , however I am not very sure which variable to use. Please help!
I put this in the colorswatch/controller.js
jQuery(function(){
$(".color-swatches input[type=radio]:").change(function(){
jQuery('.active-color').text($(".color-swatches input[name^="attribute_values"]:checked").val());
})
})
the following in colorswatch/body.twig
<span class ="active-color"></label>