| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
Add to cart Button on certain products only... | |||
![]() |
|
||
|
|
Thread Tools | Search this Thread |
|
#1
|
|||||||
|
|||||||
|
Hello, just wanted to know what the best way was to add an add to cart button on certain products only. I have about 300 products, but I can only sell about 14 of them over the internet.
My first thought was to code it direct in to the Description Box? If anybody knows of a better way, please let me know! Thanks, Yamz |
|||||||
|
#2
|
|||||||
|
|||||||
|
If you put a query around the add to cart form such as.
{if $product.productid eq 12345 } Add to cart bits here {else} Phone ordering bits here {/if} Alternatively, if you set stock to zero for the items where you dont wat ordering then no add to cart buttons etc will appear.
__________________
ex x-cart guru |
|||||||
|
#3
|
|||||||
|
|||||||
|
Thanks man, I will try that!
|
|||||||
|
|
|||
|
X-Cart forums © 2001-2020
|
|||