Adjust Quantity in the Shopping Cart
Currently in my cart I do not show the quantity box on the product listing or in the product info pages simply due to the nature of our products. In the shopping cart, the quantity does show, but there is no box to update the quantity. This means if a customer adds the item to the cart twice, they have to delete it and then re-add it. I know there is a better way, but I cant seem to find the correct switch in the admin.
Any thoughts?
zencart 1.3 (i know, i know . . . i need to upgrade, but with 1.4 right around the corner . . . . :D)
Re: Adjust Quantity in the Shopping Cart
If you are only allowed 1 and are hidding the quantity box ... set the maximum to 1 and that is all that can be added to the cart ...
Re: Adjust Quantity in the Shopping Cart
That doesn't really solve the problem either. What I am selling our typically high dollar items ($500 - $3000). Its unusual for someone to buy more than one item, but it does happen (someone bought 3 pendants today for Christmas gifts).
My point is, why turn off the ability to adjust the number of items in the cart, regardless of whether they have to add them one at a time? Why force them to have to delete all of the items and start over?
Thanks
Quote:
Originally Posted by
Ajeh
If you are only allowed 1 and are hidding the quantity box ... set the maximum to 1 and that is all that can be added to the cart ...
Re: Adjust Quantity in the Shopping Cart
If you don't want the Quantity box hidden ... why are you setting it up to hide it? :blink:
Re: Adjust Quantity in the Shopping Cart
IMHO, there are times where it makes sense to hide the quantity box on the product info page. But I cant think of any scenario where preventing the customer from changing the quantity in the shopping cart is a good idea. But maybe Im wrong . . . .
Re: Adjust Quantity in the Shopping Cart
The main reason for that is if you hide it on product info for a product you do not want it anywhere as you have set the quantity to order to 1 ...
What it sounds like you are trying to accomplish is not show it anywhere except the shopping_cart and that there isn't a limit to start with on how many a customer can order to start with ... is that correct?
Re: Adjust Quantity in the Shopping Cart
On the tpl_shopping_cart_default.php the part that controls the display based on the settings on the Product for hidding the quantity box or hidding the quantity box because the maximum is set to 1 is managed in this IF statement:
PHP Code:
<?php
if ($product['flagShowFixedQuantity']) {
echo $product['showFixedQuantityAmount'] . '<br /><span class="alert bold">' . $product['flagStockCheck'] . '</span><br /><br />' . $product['showMinUnits'];
} else {
echo $product['quantityField'] . '<br /><span class="alert bold">' . $product['flagStockCheck'] . '</span><br /><br />' . $product['showMinUnits'];
}
?>