VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: ILCILA on February 05, 2013, 14:30:53 PM

Title: Disable "add to cart" for specific categories
Post by: ILCILA on February 05, 2013, 14:30:53 PM
Hello everyone!

I am working on a shop for an electronics company, they have 2 groups who are going to visit the website

- Home owners
-- Category 1
-- Category 2
- Professionals
-- Category 1
-- Category 2
-- Category 3
-- Category 4

the home owners can order their products direct. But the professionals may not order, they online need a catalogue function.

How can I disable the "add-to-cart" function in the product (sub-)catagories for the Professionals?

Great thanks,

Gerben
Title: Re: Disable "add to cart" for specific categories
Post by: jenkinhill on February 05, 2013, 17:44:35 PM
http://forum.virtuemart.net/index.php?topic=112416.msg378054#msg378054
Title: Re: Disable "add to cart" for specific categories
Post by: ILCILA on February 06, 2013, 09:17:15 AM
Quote from: jenkinhill on February 05, 2013, 17:44:35 PM
http://forum.virtuemart.net/index.php?topic=112416.msg378054#msg378054
First of all, thanks!

Now the following step --> I know I can select a template per catagorie, so the simple step is to make a template overide and select this overide...

But how to create this?
Title: Re: Disable "add to cart" for specific categories
Post by: ILCILA on February 06, 2013, 09:50:32 AM
Found it!


All the credits go to jenkinhill!