Fresh 1.3.5 installation is fine, but when upgrading from 1.3.0.2 I discovered that the new radio button for option 2=on with Qty Box per Product wasn't showing.
mysql_upgrade_zencart_1302_to_135.sql contains this:
Code:
UPDATE configuration SET configuration_title = 'Display Product Add to Cart Button (0=off; 1=on; 2=on with Qty Box per Product)', configuration_description = 'Do you want to display the Add to Cart Button?<br /><br /><strong>NOTE:</strong> Turn OFF Display Multiple Products Qty Box Status to use Option 2 on with Qty Box per Product' WHERE configuration_key= 'PRODUCT_LIST_PRICE_BUY_NOW';
Running this seems to fix it:
Code:
UPDATE configuration SET set_function = 'zen_cfg_select_option(array(\'0\', \'1\', \'2\'), ' WHERE configuration_key= 'PRODUCT_LIST_PRICE_BUY_NOW';
Also, the configuration_description could be a bit confusing.
NOTE: Turn OFF Display Multiple Products Qty Box Status to use Option 2 on with Qty Box per Product
As far as I understand it, if Display Multiple Products Qty Box Status is on and Display Product Add to Cart Button is either 1 or 2, then Qty Box per Product will always show, but the Add to Cart Button never will.
Might something like this explain it better?
NOTE: To display Add to Cart button per product, turn off Display Multiple Products Qty Box Status
Bookmarks