Hi,
I would like to remove the 'quantity' text entry box that comes with every product.
if i comment out the lines in product.tpl, then when i click on the 'add to cart' button my cart shows up as empty.
i would like a defalut value of '1' for quantity to be assigned, so that i do not have to display this on a product page.
how can i do it? if the customer wants to order more than one, then they should be able to do so from the 'Cart' page.
in file: catalog\view\theme\default\template\product\product.tpl
On line 88 replace the
with
and remove the from line 87
On line 88 replace the
Code: Select all
<input type="text" name="quantity" size="3" value="1" />
Code: Select all
<input type="hidden" name="quantity" value="1" />
Code: Select all
<?php echo $text_qty; ?>
Who is online
Users browsing this forum: No registered users and 65 guests