View Single Post
  #3  
Old 10-31-2005, 03:22 PM
  Debra's Avatar 
Debra Debra is offline
 

Advanced Member
  
Join Date: Aug 2005
Posts: 44
 

Default

No, that's not exactly what I am looking for, I actually already have used this on the page that has the 'detailed description of the item' (product.tpl). I need to know how and where to implement this on the previous page that lists all the items for that category.
For instance:
1. A user cicks on the category 'Bead Mixes'
2. The user then gets a product list of all of the bead mixes in that category.
3. The user decides that he/she wants to add 3 of the blue bead mixes into his/her cart without clicking on the detailed description of that item.
4. The user maunally types in the number '3' and clicks 'add to cart'.

I was thinking maybe this was in products.tpl, but I just couldn't find it.

This was the code that I replaced in product.tpl to get the desired effect:
Code:
<SELECT id="product_avail" name="amount"{if $active_modules.Product_Options ne '' && $product_options ne ''} onchange="check_wholesale(this.value);"{/if}> {section name=quantity loop=$mq start=$start_quantity} <OPTION value="{%quantity.index%}" {if $smarty.get.quantity eq %quantity.index%}selected{/if}>{%quantity.index%}</OPTION> {/section} </SELECT>

I cannot find this code in products.tpl, what should I be looking for?
__________________
X-Cart version 4.0.14
Reply With Quote