Post by imagex » Thu Jul 05, 2012 6:27 pm

I want to show the product tags on the actual live web pages.

Here is my site and a product page :
http://www.tshirtsuperstar.com/good-bad-ugly-tshirt

I see on another opencart site they show the tags on the page:
http://www.labeshops.com/womens-clothin ... ct_id=1325

Specifically see a screenshot showing the tags :
http://webdevworks.org/images//ToQmuV.jpg

There must be an option in admin to show this? but i cant find it... help ASAP please!

(I am running on my site Opencart Version 1.4.9.5 )

New member

Posts

Joined
Fri Dec 04, 2009 3:10 am

Post by Avvici » Fri Jul 06, 2012 12:16 pm

You place tags right after description in product creation. This is of course in the Admin. It should show up fine. If you are using a custom them then perhaps it was forgotten in the code.

Open your product.tpl and make sure this code is in there:

Code: Select all

 <?php if ($tags) { ?>
  <div class="tags"><?php echo $text_tags; ?>
  <?php foreach ($tags as $tag) { ?>
  <a href="<?php echo $tag['href']; ?>"><?php echo $tag['tag']; ?></a>, 
  <?php } ?>

User avatar
Expert Member

Posts

Joined
Tue Apr 05, 2011 12:09 pm
Location - Asheville, NC

Post by imagex » Mon Jul 16, 2012 8:40 pm

i tried this, but all it did was put my related products into 1 column, mess up the layout a little and not add the tags at all.... any idea how to get it working?

New member

Posts

Joined
Fri Dec 04, 2009 3:10 am
Who is online

Users browsing this forum: No registered users and 12 guests