VirtueMart Forum

VirtueMart 2 + 3 => Templating & Layouts => Topic started by: naoko15 on November 30, 2012, 09:29:39 am

Title: Products in module = products in category
Post by: naoko15 on November 30, 2012, 09:29:39 am
Hello, how can i make the layout of the products in category look exactly the same as one from the products in the virtuemart module? It shouldn't be too difficult?  I've already managed to remove the product details button and add the add to cart button + quantity box. I'm using Joomla 2.5 and VM 2.0.12f

Thanks!
Title: Re: Products in module = products in category
Post by: naoko15 on December 02, 2012, 10:26:17 am
Any ideas? help please, i've spent ages trying to figure this out with no luck
Title: Re: Products in module = products in category
Post by: jenkinhill on December 02, 2012, 17:12:20 pm
Do you really mean a VirtueMart module - ie such as VM - Featured products (the VirtueMart Products module)  or do you mean the VM component product details display?

http://forum.virtuemart.net/index.php?topic=79799
Title: Re: Products in module = products in category
Post by: naoko15 on December 02, 2012, 17:29:59 pm
Yes, the VM products module  : )
Title: Re: Products in module = products in category
Post by: naoko15 on December 03, 2012, 16:05:15 pm
No one? : (
Title: Re: Products in module = products in category
Post by: jenkinhill on December 03, 2012, 17:12:54 pm
Well you ask an open ended question. How does anyone know what your modules already look like without seeing your site?

But all you have to do is edit & style the category/tmpl/default.php to suit your requirements  - product output is marked as  // Show Products

Make sure you use the edited template as an override.
Title: Re: Products in module = products in category
Post by: naoko15 on December 03, 2012, 17:33:51 pm
You're right, the thing is i don't know how to edit those files to make the layouts look alike, i've spent hours trying. These are a couple of links to a test site almost identical to the one i'm working on.

Thanks for your reply! very much appreciated