![]() |
Qty Removal in product.tpl
Hi
Does anyone know how to remove the quantity dropdown from this template? We use a different product template for a few products (with X-conf) which only adds 1 by default so I need to remove the QTY box as it serves no purpose. Thanks |
Re: Qty Removal in product.tpl
have you tried this
<input type="hidden" name="amount" value="1"> Of course you have to remove some code first :) |
Re: Qty Removal in product.tpl
Yep got it working now - chunk of code at the top needs ripping out and replacing.
Also managed to remove the "Add to Cart" and "Wishlist" buttons now, so it just shows add to configuration. Nearly got it looking like we need it. Thanks again |
Re: Qty Removal in product.tpl
Good .. I been meaning to write a mod that takes care of displaying or not display based on the adding product page as some folks want it on some products but not others.
|
Re: Qty Removal in product.tpl
I needed it to work with X-configurator.
By default it shows QTY drop down but only adds 1 so there was no need to show it. Also X-conf added a third button "Add to configuration" below the standard "add to Cart and "Add to Wishlist" buttons which the user is not supposed to click. Problem is you automatically click on add to cart so they had to go as well. Got it working with the "Multiple product listing" mod from Websitecm. Works a treat and cheaper than the $200 Qualiteam wanted |
Re: Qty Removal in product.tpl
What code, exactly, does one have to remove in order to get this to work?
I can effectively remove the word "Quantity" but the drop down box still remains. Then I comment out a bit more code and the box jumps to the top of the screen. I am unsure on what to remove and exactly where to add the code below. Thanks for your help. Quote:
|
Re: Qty Removal in product.tpl
This is the code you need to remove
Code:
then put this one instead Code:
<script type="text/javascript"> |
Re: Qty Removal in product.tpl
Worked like a charm, thanks. I suppose I find the same bit of code to remove the Quantity Box from the products list page?
|
Re: Qty Removal in product.tpl
It will be in buy_now.tpl and is siimilar
|
Re: Qty Removal in product.tpl
OK this may seem noobish...but which product.tpl file do I correct.
There is nearly 40 of them.... |
All times are GMT -8. The time now is 07:24 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.