| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
How to link 2 attributes together | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Would it be possible to link one attribute to another based on the option selected in the first one?
For instance. In the example at the bottom part of http://kb.x-cart.com/display/XDD/Managing+attribute+values The "Cotton Solid Bath Towel" has 2 attributes: 1) monogram this item? 2) Monogram text However the second attribute only makes sense if the first one is selected. A solution could be to display the second only when the first one is selected. Any ideas how to do it? I don't think that the module "product variants" can be used in this situation. Thanks
__________________
X-Cart Business 5.0.12 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() There is no such a feature in the "stock" X-Cart 5. However, you can create a custom module that adds javascript hiding the second attribute when the first option is selected.
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful ![]() Click here to learn how to apply patches X-Cart Extensions |
|||||||||
|
#3
|
|||||||
|
|||||||
![]() I see that Tony has posted a tutorial on how to modify the logic of the cart:
http://kb.x-cart.com/display/XDD/Forcing+product+quantity+while+adding+to+cart In my case, what would the JS look like? Thanks
__________________
X-Cart Business 5.0.12 |
|||||||
|
|||
X-Cart forums © 2001-2020
|