Jump to content


Photo

How to display product tags on product page in prestashop 1.6 ?

tags product page links

  • Please log in to reply
6 replies to this topic

#1 DEFTONES

DEFTONES

    Advanced Member

  • Members
  • PipPipPip
  • 45 posts

Posted 26 April 2014 - 12:20 PM

How i can display tags associated with products on product page, for example, below the produc image?



looking for the best presta addons with outstanding support? check this: PrestaShop Modules

#2 vekia

vekia

    Advanced Member

  • Members
  • PipPipPip
  • 7926 posts

Posted 26 April 2014 - 12:22 PM

it's easy to achieve

you can use this simple code

  {foreach from=Tag::getProductTags(Tools::getValue('id_product')) key=k item=v}
        {foreach from=$v item=value}
            <li><a href="{$link->getPageLink('search', true, NULL, "tag={$value|urlencode}")}">{$value|escape:html:'UTF-8'}</a></li>
        {/foreach}
    {/foreach}

use this code in product.tpl file located in your theme directory.

 

 

 

detailed guide you can find here: tags on product page

guide is based on prestashop 1.5 but it works well in prestashop 1.6

 

effects:
tags-on-product-page-prestashop.gif
 


free tutorials, free templates, free addons, prestashop modules MndfRK4.png  lpHMrZ5.png  gtKHYO7.png  google-48.png


#3 Tom Evans

Tom Evans

    Advanced Member

  • Members
  • PipPipPip
  • 67 posts

Posted 04 June 2014 - 05:41 AM

Vekia, isn't it possible through any SEO module or product's label under the catalog of the shop?



#4 storehippo

storehippo

    Member

  • Members
  • PipPip
  • 23 posts

Posted 26 December 2014 - 10:16 AM

Nice info regarding product tags on product page....this is very impotant for ecommerce platform having a SAAS based platform.



#5 Guest_TherRox_*

Guest_TherRox_*
  • Guests

Posted 28 March 2016 - 06:01 PM

Hi,

Seems doesnt work for me. It is just showing "0" on product flypage.
It should be showing "1" cause i'm on the page, isnt it ??

___
SocPlugin: Most popular soft for SMM

#6 Guest_Thorka_*

Guest_Thorka_*
  • Guests

Posted 24 April 2016 - 08:39 PM

Any pointers to where one can find the required variables / methods for checking if the current product is already added to the cart on the flypage?

#7 vekia

vekia

    Advanced Member

  • Members
  • PipPipPip
  • 7926 posts

Posted 26 September 2016 - 09:56 AM

you can use some "server" software like xampp to run some kind of "hosting" environment on your own PC


free tutorials, free templates, free addons, prestashop modules MndfRK4.png  lpHMrZ5.png  gtKHYO7.png  google-48.png






IPB Skin By Virteq