News:

Looking for documentation? Take a look on our wiki

Main Menu

Product manufacturer no longer seen in browse-view inside on category

Started by Roman Delamare, July 08, 2013, 10:21:34 AM

Previous topic - Next topic

Roman Delamare

Hi folks, I'm working on that shop www.penichelibrairie.com/index.php/shop/geographie.
However, when I was working on the browse-view, changing fonts and everything, the product manufacturer has gone. If was there and now gone.
In source file, I modified the "product-details button" so it would be right below the product img.

Any idea?

How do I add the product manufacturer back to the source code?

Cheers.
Joomla 2.5
Virtuemart 2.0.20b

jenkinhill

http://forum.virtuemart.net/index.php?topic=79799.0

Quote
In source file, I modified the "product-details button" so it would be right below the product img.

You mean you created a template override to change the layout?
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

Roman Delamare

Oups sorry... I always forget to give essential information like VM version in order to get help.
It's Joomla 2.5 and virtuemart 2.

It was simple. I modified template and don't know how, erased <?php echo $product->mf_name ; ?> that I had added before.
added it back and it's working like a charm.

By the way, is there any way or tutorial on how to duplicate a component so if I to any upgrade it won't override my momdifications?
Thanks!
Joomla 2.5
Virtuemart 2.0.20b

jenkinhill

"It's Joomla 2.5 and virtuemart 2"  - there are really big differences between VM2.0 and 2.0.20b so the actual version number is important.

When you modify a template file you should use the modified file as an override so that it is retained when upgrading your VirtueMart version. See http://docs.virtuemart.net/tutorials/33-templating-layouts.html and http://www.ostraining.com/blog/joomla/overrides
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

Roman Delamare

Didn't come back for quite a while now. Sorry for the late reply but thank you very much for your help
Joomla 2.5
Virtuemart 2.0.20b