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 |
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:
$schema Code:
$schema[self::SECTION_DEFAULT]['images']['required'] = true; |
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.
|
All times are GMT -8. The time now is 07:38 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.