News:

Support the VirtueMart project and become a member

Main Menu

Product layout?

Started by frogybella, October 15, 2012, 16:56:08 PM

Previous topic - Next topic

frogybella

Hi everybody,

I have some troubles to understand clearly the Shopfront Setting in Virtuemart 2.0 configuration page.

What is product layout for?
I see differents choices (default,notify, default1, pdf... ). But there is no change if I choose one or the other.

Thanks for your help.

Kind regards,

Frogy
Frogybella

My website : www.fdbi.com

K&K media production

This are the different Layouts for products details page.

frogybella

Thanks for your answer.
How does it works? Why there is no change in the display when I change one to the other?
Is there a file I can override?

Kind regards
Frogybella

My website : www.fdbi.com

K&K media production

I dont't now, why you have no changes if you change the layout. I tested it with different installations and it works for me.

You can override the layout. Copy the file

components/com_virtuemart/views/productdetails/tmpl/default.php

to

your_template/html/com_virtuemart/productdetails/default.php

and change what you want for custom layout output.

frogybella

Thank youvery much for your help.
Now it works.
I have overrided the file default from components/com_virtuemart/views/productdetails/tmpl/default.php to mytemplate/html/productdetails folder
I rename it and now I can see it on the list of the Virtemart configuration with the others.

Great.

Froggy

Frogybella

My website : www.fdbi.com

bytelord

Hello,

You will find useful information regrading overrides and template system here:

Use firebug to examine you site code and css styling: https://forum.virtuemart.net/index.php?topic=102850.0
Creating Template overrides: https://forum.virtuemart.net/index.php?topic=98505.0
Template System: https://dev.virtuemart.net/projects/virtuemart/wiki/Hints_for_the_use_of_the_template_system


Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!