VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: thewitt on February 13, 2015, 06:56:53 AM

Title: Catalog Mode for ONE Product, or Product Category
Post by: thewitt on February 13, 2015, 06:56:53 AM
I would like to have the option to set one product as a Catalog product, where it does not have an ADD TO CART button, but simply a product description.

I could live with this by Product Category as well.

I assumed I could do this with a Template Override for the Product Category, however it does not appear to work as I assumed it would and just generates an Info error about my template settings being old.

Somewhere, there is a trick to this, but searching all the related links to the Joomla and VM Template systems has not yet turned up the answer.

Is it possible for someone to point me to a step by step description of how to install and apply a template override for Product Categories?  That might at least get me started in the right direction.


Running VM 3.0.4 on Joomla 3.3

Thanks,

-t
Title: Re: Catalog Mode for ONE Product, or Product Category
Post by: jenkinhill on February 13, 2015, 12:31:27 PM
http://forum.virtuemart.net/index.php?topic=79799
Title: Re: Catalog Mode for ONE Product, or Product Category
Post by: thewitt on February 13, 2015, 13:38:59 PM

Quote from: jenkinhill on February 13, 2015, 12:31:27 PM
http://forum.virtuemart.net/index.php?topic=79799

Thanks. I updated the original post.
Title: Re: Catalog Mode for ONE Product, or Product Category
Post by: GJC Web Design on February 13, 2015, 13:57:57 PM
there is no trick - you copy the default prod detail template - rename it (lowercase, no spaces or underscores) and stick it in the over ride folder

edit to leave out the call to the add to cart sublayout

it appears in the prod detail  "Product Details Page" dropdown -> select it  -> job done
Title: Re: Catalog Mode for ONE Product, or Product Category
Post by: thewitt on February 14, 2015, 08:18:01 AM
Thank you, worked like a charm.  I ended up having to override sublayouts as well, but the process worked beautifully.