News:

Looking for documentation? Take a look on our wiki

Main Menu

Change layout product details

Started by ramherfer, September 24, 2012, 11:17:50 AM

Previous topic - Next topic

ramherfer

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]

jenkinhill

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
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

ramherfer

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

jenkinhill

Have you selected the override in VM configuration?
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

ramherfer

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.