| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | Mark Forums Read | User manuals | Login |
Radio Button Product Options | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Radio Button Product Options
Trying to figure out how to add radio buttons for product options instead of a drop down list.
__________________
Ver 5.2.6 |
|||||||
#2
|
|||||||||
|
|||||||||
Re: Radio Button Product Options
Hello Phil,
Is the request still actual for you?
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
#3
|
|||||||
|
|||||||
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.
__________________
Ver 5.2.6 |
|||||||
#4
|
|||||||||
|
|||||||||
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
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|