As the title suggests, I am trying to figure out how to use radio buttons instead of drop down boxes for my custom attributes used in configurable products. The drop down boxes really do not go with the design on my pages and the radio boxes would really save space and keep the flow of data on page unencumbered. So, can this be done in stock Magento? If not, are there available plug-ins with this functionality?
It is not that simple to change it without breaking the dynamic price functionality.
Personally, I juste removed the “Choose an Option...” text by doing that :
In the file Product.js :
var options = this.getAttributeOptions(attributeId); this.clearSelect(element); //element.options[0] = new Option(this.config.chooseText, ''); // COMMENT OUT THIS LINE
var prevConfig = false; if(element.prevSetting){ prevConfig = element.prevSetting.options[element.prevSetting.selectedIndex]; }
if(options) { var index = 0; // CHANGE THE INDEX TO 0
If anybody has made the real script to build radio, please post it