VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: Ed Kiefer on March 14, 2019, 20:43:24 PM

Title: I have several products. Can I sell just one of them?
Post by: Ed Kiefer on March 14, 2019, 20:43:24 PM
I have several products. Is there a way to just sell one of them? In other words have the "add to cart" function on one product?
Title: Re: I have several products. Can I sell just one of them?
Post by: StefanSTS on March 14, 2019, 21:09:37 PM
I guess you have to explain a little bit more in detail what you want.

The simple answer is, yes, you can have several products and sell only one of them.
One way would be to use different layouts for the category page (sublayout products.php) and the productdetails page (productdetails view, probably default.php).
You could also not add any price to the products you don't want to sell, so the AddToCart-Button won't show.

Regards
Stefan