| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
"Buy Now" button without the "Quantity" | ||||
|
|
Thread Tools | Search this Thread |
#21
|
|||||||
|
|||||||
Can anyone help with the request above...?
thank you
__________________
v4.0.18 |
|||||||
#22
|
|||||||
|
|||||||
Someone MUST know how this can be done...???
__________________
v4.0.18 |
|||||||
#23
|
|||||||
|
|||||||
Quote:
I'd like to do something like this, but only for certain products. Is there a way to limit this to particular produtcs only? To show the quantity for some and for others to set it to default of 1? Thanks.
__________________
Version 4.0.10 |
|||||||
#24
|
|||||||
|
|||||||
this was excellent. worked nice.
anybody know how to remove quantity from product detailes. Tron |
|||||||
#25
|
|||||||
|
|||||||
Quote:
Hi all, I'm new to this forum. See my code below - i know it isn't the best but it works
__________________
Version 3.5.2 |
|||||||
#26
|
|||||||
|
|||||||
Quote:
QUANTITY ONLY FOR CERTAIN PRODUCTS IN PRODUCT DESCRIPTION ONLY! If the product ID is 666 or 667 the quanity dropdown menu will not apear! Customize at will! You got to put 2x {if} tags in the "product.tpl". But watch out - i worked on version 3.5.2! The 1st one: Code:
And the 2nd one (with the default amount variable = 1 before the {if} tag): Code:
Quote:
To remove quantity from product details just comment out (HTML comment) or delete all the lines between the two {if} tags. Hope i helped you guys out a bit! Don't blame me for bad code - I'm a newbie to X-Cart.
__________________
Version 3.5.2 |
|||||||
#27
|
|||||||
|
|||||||
Will this code pasted on the first page affect the categroy pages or the product pages .. or both ?
We wouldn't mind getting rid of the quantity dropdown on the category pages but are a bit hesitant to remove them from the product page.
__________________
www.harrismichaeljewelry.com X-Cart version 4.1.18 Mods DSEFU PRO Auction Manager for XCART X-cart Customer Reward Points Customer Review Management for X-cart Recently Viewed Products X-cart Modification X-RMA X-AOM Customers Also Bought Modification Recently Viewed Products X-cart Modification Hidden Categories Product Options Copier Multiple Upselling Links for X-cart |
|||||||
#28
|
|||||||
|
|||||||
Quote:
This code pasted in the correct place in "product.tpl" affects only the product description, not the category menu. But if you add a "Product Option" to a product the quantity will disapear from the category menu too! If you wan't it to disappear from only certain products in the category menu you got to do it on your own :P I think you can use the {if} tags in "buy_now.tpl" (like i did in "product.tpl") to remove the quantity.
__________________
Version 3.5.2 |
|||||||
#29
|
|||||||
|
|||||||
Quote:
And how _do _ I get it to dissapear from only the category page ??
__________________
www.harrismichaeljewelry.com X-Cart version 4.1.18 Mods DSEFU PRO Auction Manager for XCART X-cart Customer Reward Points Customer Review Management for X-cart Recently Viewed Products X-cart Modification X-RMA X-AOM Customers Also Bought Modification Recently Viewed Products X-cart Modification Hidden Categories Product Options Copier Multiple Upselling Links for X-cart |
|||||||
#30
|
|||||||
|
|||||||
[quote="maerik"][quote="Steele"]
Quote:
WORKS. I replaced this code: Code:
with this: Code:
and deleted this to delete the "Quantity" before the box. Code:
|
|||||||
|
|||
X-Cart forums © 2001-2020
|