VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: frogybella on October 15, 2012, 16:56:08 PM

Title: Product layout?
Post by: frogybella on October 15, 2012, 16:56:08 PM
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
Title: Re: Product layout?
Post by: K&K media production on October 15, 2012, 17:21:15 PM
This are the different Layouts for products details page.
Title: Re: Product layout?
Post by: frogybella on October 15, 2012, 18:35:52 PM
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
Title: Re: Product layout?
Post by: K&K media production on October 16, 2012, 16:43:30 PM
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.
Title: Re: Product layout?
Post by: frogybella on October 18, 2012, 19:31:20 PM
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

Title: Re: Product layout?
Post by: bytelord on October 18, 2012, 20:01:48 PM
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