View Single Post
  #13  
Old 02-25-2011, 08:00 AM
  HAS's Avatar 
HAS HAS is offline
 

Member
  
Join Date: Apr 2010
Location: The Netherlands
Posts: 20
 

Default Re: Qty Removal in product.tpl

Quote:
Originally Posted by cflsystems
It will be in buy_now.tpl and is siimilar

Hello,

I am trying to hide the quantity-dropdown box in productslist.tpl, so I put in next code (removed the original part):

Code:
<script type="text/javascript"> <!-- var min_avail = 1; var avail = 1; var product_avail = 1; --> </script> <input type="hidden" name="amount" value="1" />

This works fine exept when a product has a minimum order quantity for example lets say 10pcs then an error shows up, and the product will not be added to the cart.
When I change the value="1" into value="10" the cart wil be updated with 10pcs as long as the MOQ is set less than 10pcs in the productdetails.
But then all the products with MOQ <10pcs will be added to the cart with 10x
Is there a way to fix this problem? What exactly does :
Code:
<input type="hidden" name="amount" value="1" />
__________________
http://www.batterijservice.nl
v.4.3.1

Xbanner | CDSEO | Marketing manager pro | Hidden Cat. | Glossary Tiptool | MM OPC | Social bookmarks | Advanced filter | Mega menu | Store Manager | Custom datafeed | MSP payment
Reply With Quote