Zen Cart Logo
Forums / Basic Configuration / Adjust Quantity in the Shopping Cart

Adjust Quantity in the Shopping Cart

Locked

Views: 2,373

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
30 Nov 2006, 11:35 PM
#1
voltage avatar

voltage

Totally Zenned

Join Date:
Apr 2005
Location:
Houston, TX
Posts:
1,356
Plugin Contributions:
1

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)

1 Dec 2006, 12:47 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

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 ...

3 Dec 2006, 2:10 AM
#3
voltage avatar

voltage

Totally Zenned

Join Date:
Apr 2005
Location:
Houston, TX
Posts:
1,356
Plugin Contributions:
1

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

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 ...

3 Dec 2006, 2:13 AM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

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:

3 Dec 2006, 2:45 AM
#5
voltage avatar

voltage

Totally Zenned

Join Date:
Apr 2005
Location:
Houston, TX
Posts:
1,356
Plugin Contributions:
1

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 . . . .

3 Dec 2006, 3:00 AM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

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?

3 Dec 2006, 3:38 AM
#7
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

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
  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'];
  }
?>