Text-based dynamic tags allow you to dynamically insert various textual elements into your PrestaShop pages. These tags can retrieve and display essential store information, such as the shop title, contact details, page titles, and customer data. Additionally, advanced options like request parameters and shortcodes enable further customization and flexibility. Many of these tags support custom text before and after, along with fallback values to ensure a seamless display when no data is available.

Text based dynamic tags on different page types

Text based Dynamic Tags on General pages

Site tags

Shop Title

Displays the shop's title with options to add custom text before and after. If the tag has no value, a fallback value can be used, in which case the before and after text will not be displayed. The title of the shop can be configured in Shop Parameters > Contact > Stores > Contact details.

Shop Contact

Retrieves shop contact details such as company name, address, phone, fax, and email with options to add custom text before and after. If the tag has no value, a fallback value can be used, in which case the before and after text will not be displayed. These details can be configured in Shop Parameters > Contact > Stores > Contact details.

Page Title

Dynamically shows the current page title with options to add custom text before and after. If the tag has no value, a fallback value can be used, in which case the before and after text will not be displayed.

Current Date Time

Displays the current date and time in a customizable format with options to add custom text before and after. If the tag has no value, a fallback value can be used, in which case the before and after text will not be displayed. Also allows advanced users to create custom date format.

Request Parameter

Allows advanced users to fetch and display request parameters (GET, POST, REQUEST), such as the search keyword on the results page with options to add custom text before and after. If the tag has no value, a fallback value can be used, in which case the before and after text will not be displayed.

Shortcode

Enables the use of custom shortcodes for advanced functionality with options to add custom text before and after. If the tag has no value, a fallback value can be used, in which case the before and after text will not be displayed.

For example, you can set the meta title as subtitle using the following shortcode:

{$page.meta.title}
Customer Info

Retrieves logged-in customer details, including ID, name, birthdate, company, email, and website with options to add custom text before and after. If the tag has no value, a fallback value can be used, in which case the before and after text will not be displayed.

Text based Dynamic Tags on Listing pages

Site tags

Shop Title

Displays the shop's title with options to add custom text before and after. If the tag has no value, a fallback value can be used, in which case the before and after text will not be displayed.

Shop Contact

Retrieves shop contact details such as company name, address, phone, fax, and email with options to add custom text before and after. If the tag has no value, a fallback value can be used, in which case the before and after text will not be displayed.

Page Title

Dynamically shows the current page title with options to add custom text before and after. If the tag has no value, a fallback value can be used, in which case the before and after text will not be displayed.

Current Date Time

Displays the current date and time in a customizable format with options to add custom text before and after. If the tag has no value, a fallback value can be used, in which case the before and after text will not be displayed.

Request Parameter

Allows advanced users to fetch and display request parameters (GET, POST, REQUEST), such as the search keyword on the results page with options to add custom text before and after. If the tag has no value, a fallback value can be used, in which case the before and after text will not be displayed.

Shortcode

Enables the use of custom shortcodes for advanced functionality with options to add custom text before and after. If the tag has no value, a fallback value can be used, in which case the before and after text will not be displayed.

For example, you can set the meta title as subtitle using the following shortcode:

{$page.meta.title}
Customer Info

Retrieves logged-in customer details, including ID, name, birthdate, company, email, and website with options to add custom text before and after. If the tag has no value, a fallback value can be used, in which case the before and after text will not be displayed.

Catalog tags

Category Name

Displays the name of the currently viewed category dynamically with options to add custom text before and after. If the tag has no value, a fallback value can be used, in which case the before and after text will not be displayed.

Listing Info

Provides listing label info or pagination details, including total items, items shown per page, current page number, and total page count with options to add custom text before and after. If the tag has no value, a fallback value can be used, in which case the before and after text will not be displayed.

Text based Dynamic Tags on Product pages

Site tags

Shop Title

Displays the shop's title with options to add custom text before and after. If the tag has no value, a fallback value can be used, in which case the before and after text will not be displayed.

Shop Contact

Retrieves shop contact details such as company name, address, phone, fax, and email with options to add custom text before and after. If the tag has no value, a fallback value can be used, in which case the before and after text will not be displayed.

Page Title

Dynamically shows the current page title with options to add custom text before and after. If the tag has no value, a fallback value can be used, in which case the before and after text will not be displayed.

Current Date Time

Displays the current date and time in a customizable format with options to add custom text before and after. If the tag has no value, a fallback value can be used, in which case the before and after text will not be displayed.

Request Parameter

Allows advanced users to fetch and display request parameters (GET, POST, REQUEST), such as the search keyword on the results page with options to add custom text before and after. If the tag has no value, a fallback value can be used, in which case the before and after text will not be displayed.

Shortcode

Enables the use of custom shortcodes for advanced functionality with options to add custom text before and after. If the tag has no value, a fallback value can be used, in which case the before and after text will not be displayed.

For example, you can set the meta title as subtitle using the following shortcode:

{$page.meta.title}
Customer Info

Retrieves logged-in customer details, including ID, name, birthdate, company, email, and website with options to add custom text before and after. If the tag has no value, a fallback value can be used, in which case the before and after text will not be displayed.

Catalog tags

Product Name

Displays the name of the currently viewed product dynamically with options to add custom text before and after. If the tag has no value, a fallback value can be used, in which case the before and after text will not be displayed.

Product Price

Shows the price of the product, reflecting any discounts or special offers, with options to add custom text before and after. If you want to style different parts of the price separately (e.g., decimals as cents), you can extract these elements individually using the tag. If the tag has no value, a fallback value can be used, in which case the before and after text will not be displayed.

Product Rating

Retrieves and displays the product's average rating and the number of customer reviews with options to add custom text before and after. If the tag has no value, a fallback value can be used, in which case the before and after text will not be displayed.

Product Meta

Displays additional product details such as reference number, condition, delivery time, ISBN, and other metadata with options to add custom text before and after. If the tag has no value, a fallback value can be used, in which case the before and after text will not be displayed.

Product Short Description

Displays the brief description of the product as entered in PrestaShop with options to add custom text before and after. If the tag has no value, a fallback value can be used, in which case the before and after text will not be displayed.

Category Name

Shows the name of the category the product belongs to with options to add custom text before and after. If the tag has no value, a fallback value can be used, in which case the before and after text will not be displayed.

Brand Name

Displays the brand or manufacturer name associated with the product with options to add custom text before and after. If the tag has no value, a fallback value can be used, in which case the before and after text will not be displayed.

© WebshopWorks - Professional PrestaShop Addons