News:

Looking for documentation? Take a look on our wiki

Main Menu

Product front page layout different then category

Started by sohh, January 23, 2014, 19:25:31 PM

Previous topic - Next topic

sohh

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:


Category:


Can someone help me???

Thx a lot

jenkinhill

Looks like you are using a commercial VirtueMart template?
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

sohh

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

jenkinhill

#3
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.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

sohh

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.

jenkinhill

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..
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum