This module displays list of tags that are associated with viewed product page. As you already know - prestashop does not have a feature to show tags associated with product on product page. This is the module that llows to show them.
WIth this PrestaShop module you can easily display list of tags on product pages. Each product page will show tags that are associated with viewed product page. As a shop owner you can decide where module will show the list of tags (you can configure the position on module configuration page). Full list of available positions you can find below.
Module tho display tags on product page
Product page has several positions where you can show custom contents created by modules. This module is ready to support each available position on product page. Below you can find a list of all available hooks in the module:
PrestaShop 1.5 | PrestaShop 1.6 | PrestaShop 1.7, 8.x, 9.x |
|
|
|
Random order of tags
Module has feature to shuffle list of tags. This means that if this option will be enabled you will see tags in random order with each page refresh.
Limit the number of tags to show
If your product has many associated tags, there is a chance that list of tags will be very long. In this case you can use this option and define how many tags module will show.
Deprecated: Creation of dynamic property
" warnings in /modules/ptags/ptags.php
, ensuring full compatibility with PHP 8.2 and later versions. This update enhances module stability and performance within modern PHP environments. The following properties are now explicitly declared, eliminating deprecated dynamic property creation:
ptags::$mypresta_link
ptags::$secure_key
ptags::$nocategoriesfound
ptags::$addcategory
ptags::$error_saved
ptags::$saved
ptags::$mkey
ptags::$available_hooks
displayProductAdditionalInfo
hook, providing more flexibility in displaying product tags and enhancing the user experience.displayAfterProductThumbs
hook in PrestaShop 1.7.x, allowing for more dynamic placement of product tags within product listings.foreach
loops operating on empty arrays, enhancing code robustness and preventing potential warnings.displayPtags
hook and the {hook h='displayPtags'}
shortcode. This allows for highly customizable placement of product tags on product pages, providing greater control over layout and design.