| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Required Option/Attribute | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Required Option/Attribute
Is there a way to have a products option a required field ?
I had this on V4 with some java scripting but not sure with V5 many thanks
__________________
X-cart Gold - 4.0.18 - 4.1.9 - 4.1.10 - 4.3.0 |
|||||||
#2
|
|||||||
|
|||||||
Re: Required Option/Attribute
This is about 5.3, and I don't know about in other versions. A quick look at the php code shows that there is an array defined in classes/XLite/View/FormModel/Product/Info.php called
Code:
Code:
__________________
X-cart 5.2.12, php 5.6 Ed from Grenoble, France |
|||||||
#3
|
|||||||||
|
|||||||||
Re: Required Option/Attribute
It is a setting already in admin cart settings. It is global for all options/variants. If you need it on per product basis you need to get it custom coded.
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
|||
X-Cart forums © 2001-2020
|