View Single Post
  #17  
Old 09-23-2009, 11:41 AM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: Getting RID of theQuantity 'input' field and get the dropdown

I've attached my modified product.tpl. Remember - this is not a fix - it is just a hack - so use with caution.
It removes from the template decisions based on this variable: $product.quantity_input_box_enabled

with the impact of never allowing the quantity box to be input text.

I suspect the setting of that variable might have a problem - but have not had time to figure out how to duplicate the issue so it can reported as a bug.

It would not be a bad idea for someone to review the hack to make sure I am not missing any unintended consequences.
Attached Files
File Type: zip product.tpl.zip (2.9 KB, 150 views)
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
Reply With Quote