Radio Button Product Options
Trying to figure out how to add radio buttons for product options instead of a drop down list.
|
Re: Radio Button Product Options
Hello Phil,
Is the request still actual for you? |
Re: Radio Button Product Options
Yes I am still interested in this. I had to put this project on hold, but I do still want to do this.
|
Re: Radio Button Product Options
Thanks for letting me know, Phil.
OK, to get started you will need to edit the implementation of product options that is done in the <X-Cart>/skins/admin/en/product/attribute_value/select/body.tpl template. For that, you should decorate the \XLite\View\Product\AttributeValue\Customer\Select class (more about decoration here http://kb.x-cart.com/display/XDD/Step+3+-+applying+logic+changes) and point it to your template. For that you should decorate the getDir() method. Your new template will be based on the skins/admin/en/product/attribute_value/select/body.tpl one, but it will have radio button implementation of product options, instead of select-box. If my instruction is unclear to you, please let me know and I will explain in more details. Tony |
All times are GMT -8. The time now is 11:20 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.