PrestaShop Documentation, PrestaShop Tutorials

How to show tags on product page in PrestaShop

In PrestaShop, tags are often not visible on the product page by default (depending on theme). You can enable them using a module or by editing the theme template.


Method 1 — Using the PrestaShop Tags Module (Recommended)

  1. Go to Back Office → Modules → Module Manager.
  2. Search for “Tags Block” module.
  3. Install or enable Block Tags.
  4. Go to Positions (Hook positions).
  5. Hook it to:
    • displayFooterProduct
    • or displayProductAdditionalInfo

After this, tags will appear on the product page.


Method 2 — Show Tags by Editing Theme File

If the module is not available, edit the product template.

Step 1

Open theme file:

/themes/your-theme/templates/catalog/product.tpl

Step 2

Add this code where you want tags to appear:

{if isset($product.tags) && $product.tags}
<div class="product-tags">
    <strong>Tags:</strong>
    {foreach from=$product.tags item=tag}
        <a href="{$link->getPageLink('search', true, null, "tag={$tag.name|urlencode}")}">
            {$tag.name}
        </a>
    {/foreach}
</div>
{/if}

Step 3

Save file and clear cache.

Go to:

Advanced Parameters → Performance → Clear Cache

Result

Product page will show something like:

Tags: shoes | running | sports

Each tag will link to a search result page.


Important Tip (for speed):
If your store has many products (1000+), tags can slow search queries. Many PrestaShop stores prefer categories or filters instead.


  •  

About zohaibk

We develop useful addons for #E-Commerce and #CRM software to provide extra features.#PrestaShop,#Magento,#SugarCRM,#Vtiger & #Android #apps
View all posts by zohaibk →