VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: ramherfer on September 24, 2012, 11:17:50 AM

Title: Change layout product details
Post by: ramherfer on September 24, 2012, 11:17:50 AM
Hello Good morning, right now I have a sample of product details as shown in Image_1. As much as I tried, I do not know what files to modify to display as seen in Image_2. Please anyone can help me?.
Thank you.
Ramiro Hernandez

[attachment cleanup by admin]
Title: Re: Change layout product details
Post by: jenkinhill on September 24, 2012, 12:06:21 PM
The product details layout files are in joomla_root/components/com_virtuemart/views/productdetails/tmpl/

The filenames indicate which part of the display they handle. Copy the relevant file(s), make your edits and then use the edited files as template overrides.

http://forum.virtuemart.net/index.php?topic=90935.msg298367#msg298367
http://dev.virtuemart.net/projects/virtuemart/wiki/Hints_for_the_use_of_the_template_system
Title: Re: Change layout product details
Post by: ramherfer on September 24, 2012, 15:43:32 PM
I made ​​changes to the default.php file but does not show me any changes made ​​in the product details. What I can be doing wrong?
regards,
Ramiro
Title: Re: Change layout product details
Post by: jenkinhill on September 25, 2012, 09:38:29 AM
Have you selected the override in VM configuration?
Title: Re: Change layout product details [SOLVED]
Post by: ramherfer on September 26, 2012, 05:28:46 AM
If, as I use the template (jv-melody) has its own files. I've managed to fix it by changing the template area shopping cart, I modified the file is default_addtocart.php. The path of the file in templates / jv-framework / themes / jv-melody / html / com_virtuemart / ProductDetails. Now show me the way I wanted two fields (image-2) eliminating only the class and also to and including custom fields in this area by editing the default.php file.
Thank you.
Ramiro Hernandez.
Sorry for not replying sooner.