VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: Roman Delamare on July 08, 2013, 10:21:34 AM

Title: Product manufacturer no longer seen in browse-view inside on category
Post by: Roman Delamare on July 08, 2013, 10:21:34 AM
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.
Title: Re: Product manufacturer no longer seen in browse-view inside on category
Post by: jenkinhill on July 08, 2013, 10:36:32 AM
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?
Title: Re: Product manufacturer no longer seen in browse-view inside on category
Post by: Roman Delamare on July 08, 2013, 11:14:13 AM
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!
Title: Re: Product manufacturer no longer seen in browse-view inside on category
Post by: jenkinhill on July 08, 2013, 11:44:07 AM
"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
Title: Re: Product manufacturer no longer seen in browse-view inside on category
Post by: Roman Delamare on September 02, 2013, 18:13:56 PM
Didn't come back for quite a while now. Sorry for the late reply but thank you very much for your help