News:

Support the VirtueMart project and become a member

Main Menu

Just a question, Can you have 2 product page themes

Started by wemblystiggs, August 24, 2012, 13:00:05 PM

Previous topic - Next topic

wemblystiggs

Just as the title says, can you have two different product themes, we have our normal items which are smallish and shot in macro so look perfectly fine in the product page we currently have which has a 200 X 200 pixel box and then thumbnails below to select pic and a hover over zoom image thingy.

Problem is we will also be doing clothing and I would like a 250 x 400 for that item alone. I think we can use a  slightly different theme for different products but would like to know for sure before I get someone to try it and have to pay them :)


jenkinhill

Yes, and very easy to do using template overrides. You can even set a different override for each product if you wish!
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

wemblystiggs

I have looked at doing this, however where do I select which override I am using....

Also do you just copy the product CSS style sheet and rename or do you have to create a complete new theme?

jenkinhill

Overrides are defined as "Product Details Page" on the Product Information tab for each product or you can set "Default Product Details Page " for each category if each type of product is in separate cats.

Once you have edited the override template layout you can rename the style ids & classes and add the new styles to the end of your Joomla template css - so they don't get overwritten during VM updates. You only need the one stylesheet.

http://dev.virtuemart.net/projects/virtuemart/wiki/Hints_for_the_use_of_the_template_system
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

wemblystiggs

Thanks, but I think I am just going to get someone to do it for me. Its just a little outside my comfort zone. I only want to make the product picture a little bigger on my clothing line.