VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: sohh on January 23, 2014, 19:25:31 PM

Title: Product front page layout different then category
Post by: sohh on January 23, 2014, 19:25:31 PM
Hello,

I want to make the product view layout from the category view to be the same as the front page, with bigger image, the price under the image and the description button under all.

Front page:
(http://s8.postimg.org/w00gr92f9/image.jpg)

Category:
(http://s29.postimg.org/vhubk9ubb/image.jpg)

Can someone help me???

Thx a lot
Title: Re: Product front page layout different then category
Post by: jenkinhill on January 23, 2014, 23:38:03 PM
Looks like you are using a commercial VirtueMart template?
Title: Re: Product front page layout different then category
Post by: sohh on January 24, 2014, 01:05:13 AM
Hello,

Thx to try to help me.

No, i`m using a yootheme template called Pace:

http://www.yootheme.com/demo/joomla

Should it not be different?

Thx a lot
Title: Re: Product front page layout different then category
Post by: jenkinhill on January 24, 2014, 10:01:42 AM
Pace is a template aimed at runners? Your images don't look like that template.  Since that template does not appear to have specific overrides for VirtueMart the following applies:

So you want to make the category view layout similar to the module display.  You can edit the category view template at components/com_virtuemart/views/category/tmpl/default.php to provide your rearranged layout and use the edited file as a template override.  See http://docs.virtuemart.net/tutorials/33-templating-layouts.html and http://www.ostraining.com/blog/joomla/overrides

(If you already have template overrides these will be in [yourjoomlatemplate]/html/com_virtuemart/category/   - if there is a default.php file ther then that is the one you need to edit.

And then edit the applied css to get your required image size and tidy the layout. http://forum.virtuemart.net/index.php?topic=116620.0
Add the revised css definitions as overrides by appending them to your Joomla template css  or in a custom css file.
Title: Re: Product front page layout different then category
Post by: sohh on January 24, 2014, 20:24:52 PM
Hello, i found the code and got how to override, but i can`t change the code since i`m not a developer and can`t afford one.

Please, can you help me?

Thx a lot, i really appreciate your help.
Title: Re: Product front page layout different then category
Post by: jenkinhill on January 25, 2014, 00:08:33 AM
Sorry I cannot build the overrides for you as it needs working on your site. It is doing paid work like that that pays my living costs and allows me to offer advice in this forum..