How to add manufacturer on category view?..w/ image
Rate this topic: 1.00 out of 6 based on 1 vote(s)
- GK User
- Mon Dec 14, 2015 11:50 pm
- Reply with quote
- Report this post
I want to add the manufacturer where the red circle is located in the image. How can this be done? Am I missing a box in configuration?
-
- Gold Boarder
- teitbite
- Wed Dec 16, 2015 11:29 am
- Reply with quote
- Report this post
Hi
I do not think You can just enable it in settings. I cannot see this information in code of this layout, but it can be easily added by editing file /html/com_virtuemart/category/default.php and copying the below code to line 196:
I do not think You can just enable it in settings. I cannot see this information in code of this layout, but it can be easily added by editing file /html/com_virtuemart/category/default.php and copying the below code to line 196:
- Code: Select all
<h3 class="catMfTitle"><?php $product->mf_name; ?></h3>
-
- Moderator
- GK User
- Wed Dec 16, 2015 5:41 pm
- Reply with quote
- Report this post
When I added this to line 196, it stopped the page from loading. The category pages only loaded a blank white page. Is there another solution?
-
- Gold Boarder
- teitbite
- Sat Dec 19, 2015 12:12 pm
- Reply with quote
- Report this post
Hi
This is a correct solution. I checked it on my copy of this template. Please send me an access to FTP so I'll try to add it myself.
This is a correct solution. I checked it on my copy of this template. Please send me an access to FTP so I'll try to add it myself.
-
- Moderator
- teitbite
- Sun Dec 20, 2015 4:24 pm
- Reply with quote
- Report this post
Hi
Thanks for the access. Your file looks a little different than the one I have so in Your case is should be this code:
in line 191. Unfortunately I cannot even see a new H3 I it's adding. Do You have a cache enabled in joomla or server ? Please clear it or disable it.
Thanks for the access. Your file looks a little different than the one I have so in Your case is should be this code:
- Code: Select all
<h3 class="catMfTitle"><?php echo $product->mf_name; ?></h3>
in line 191. Unfortunately I cannot even see a new H3 I it's adding. Do You have a cache enabled in joomla or server ? Please clear it or disable it.
-
- Moderator
- GK User
- Wed Dec 23, 2015 4:47 am
- Reply with quote
- Report this post
Thank you soo much. You are definitely one of the best support guys on this site. Ill continue to recommend people to GavickPro. Is there a way to put the manufacturer label on top of the actual product name? Is this something that can be done by copying the code on a different line?
-
- Gold Boarder
- teitbite
- Sun Dec 27, 2015 12:37 pm
- Reply with quote
- Report this post
Hi
Yes, that's that simple. Of course I removed Your access, so cannot do this right now, but please edit file /html/com_virtuemart/category/default.php, look for this line and try copy it above while checking if manufacturer is in a desired place already.
Yes, that's that simple. Of course I removed Your access, so cannot do this right now, but please edit file /html/com_virtuemart/category/default.php, look for this line and try copy it above while checking if manufacturer is in a desired place already.
-
- Moderator
- teitbite
- Tue Dec 29, 2015 12:15 pm
- Reply with quote
- Report this post
Hi
Glad I could help.
---
If You were satisfied with our support please let other users know on Twitter: http://twitter.com/gavickpro or Facebook: http://www.facebook.com/gavickpro
Glad I could help.
---
If You were satisfied with our support please let other users know on Twitter: http://twitter.com/gavickpro or Facebook: http://www.facebook.com/gavickpro
-
- Moderator
9 posts
• Page 1 of 1