
Originally Posted by
Ajeh
You could alter the $buttonUpdate to be '' when $show_products_quantity_max = 1 ...
Morning Ajeh!
Thanks for the suggestion!
Ultimately I got it to work, but I couldn't use what you suggested... probably because I'm doing it wrong. "-)
Here's what works -- at least in testing:
In tpl_shopping_cart_default this is the original...
Code:
if ($product['buttonUpdate'] == '') {
echo '' ;
} else {
echo $product['buttonUpdate'];
}
I changed it to...
Code:
if ($product['flagShowFixedQuantity'])
That worked. Shows properly across different "test clients" and products, updates the field, hasn't deleted any other products, etc.
I thought I tried that last night and didn't get the correct results. It's possible that my system was getting clunky... I've had a lot of problems running this new version of ZC with Xampp using Opera 9xx on this computer; runs much better on a clunky old notebook so I know it's not ZC but something about this system. Anyway I'll stop rambling and make coffee!!
If you know of any reason that won't work in "real life", please let me know.
Thanks again for your help, Linda!
Cheers,
Becky