Looking at the standard template code, there's a way to use an observer to "force" the add-to-cart button to use a quantity of 1 without modifying the template file.
I also would like to propose to the ZC team a modification to the template that would put the calculation/determination of the zen_get_buy_now quantity into one of the main_template_vars.php for the product type's includes/modules/pages folder.
This would allow modification of the value without touching the template or the core function.
@jagall, take a look at the following commit to github: https://github.com/mc12345678/Attrib...61d243c621ef0c
Which modified only the observer class file: includes/classes/observers/class.attributes_grid_products.php
The entire package can again be downloaded from: https://github.com/mc12345678/Attrib...isable-qty-box


Reply With Quote
