View Single Post
  #39  
Old 01-23-2012, 12:36 AM
 
philrisk philrisk is offline
 

X-Adept
  
Join Date: Jul 2009
Location: Newcastle upon Tyne, UK
Posts: 412
 

Default Re: Case Quantities (ie. 12, 24, 36, etc) in quantity pulldown

Quote:
Originally Posted by pwdesign
philrisk

Thank you very much for your detailed instructions. Everything was spot on except for the very first change box on product_details.tpl. The file in my template skin (fashion mosaic gray) and the one in the common_files directory are very different from the example you gave. There is a ton of code within the first if statement. I even checked the product_details.tpl in 2-columns to see if they matched your example and they did not.

I made an attempt to stitch in the unique extra_case code in product_details.tpl, as well as all the other changes. The Case Size extra field displays in the product admin and I updated a few products, but when I go to the storefront, the quantity box is still a text box, that any number can be entered into. Is it supposed to be a dropdown?

Any light you can shed on the situation would be most appreciated. Thank you for all you've done already.


Hi pwdesign

That piece of code is at line 75 of /skin/2-column/customer/main/product_details.tpl in a default install of 4.4.4.

It is right after:
{if $active_modules.Feature_Comparison}
{include file="modules/Feature_Comparison/product.tpl"}
{/if}

To get the dropdown for the quantities you need to make sure you have
"Show quantity selector as input textbox" unchecked in the Appearance settings.
__________________
Live with Gold 4.5.1
Dedicated Linux server
MaxCDN 4 pull zones
Dedicated SSL

Reply With Quote