Prestashop Shortcodes

Shortcode module for prestashop allows to automatically build various contents on any part of your website. You can put shortcodes to your theme files and also to contents in your shop back office. This addon will automatically replace these short codes with automatically generated contents.

Shop version 8.x, 1.7.x, 1.6.x, 1.5.x PrestaShop 8.0 support Yes :-)
Available translations
Module version 1.5.1
Works with ThirtyBees Yes
  • Trusted developer of module Shortcodes
  • Support to the module Shortcodes
  • Free updates of the module Shortcodes
  • Open source - you can edit module code Shortcodes
  • Module Shortcodes works with PrestaShop 1.7
  • Module Shortcodes works with PrestaShop 1.6
  • Module Shortcodes works with PrestaShop 1.5
  • Module Shortcodes works with PrestaShop 8.0

More info: Prestashop Shortcodes

With shortcodes module you can automatically generate some sets of products, pictures in various positions on your theme with possibility to use shortcodes inside contents defined in back office (like descriptions / contents on cms pages, category pages, product pages). Below you can find a list of currently available shortcodes.

 

Where you can use these shortcodes?

Really big advantage of this module is fact that you can use these shortcodes everywhere. You can use them in any part of your shop .tpl file and also in your shop back office. You can put these codes into your product description, short description, to contents of your cms pages, category descriptions etc. 

 

List of available codes in ShortCodes module for PrestaShop

Shortcode Explanation
[product:9] This shortcode will display one instance of product with defined ID, in this case product ID numer is 9
[products:1,2,3,4] This shortcode will display list of products with ID 1,2,3,4 - you can define as much products as you want
[productsByAttributes:1-1,1-2] You can build list of products that will display selected combniations
for exmaple 1-2 means that you will show product with ID 1, and its combination with ID 2
[product-description:2] This shortcode will display description of product with ID 2
[product-description-short:2] This shortcode will display short description of product with ID 2
[last-products:12] This shortcode will display recently added products to shop, the number decides about number of products to display
[category:7:16:price:desc] This shortcode will display list of products from category with ID 7, module will get 16 products from this category. Sorting method is set to sort products by PRICE and order way i set to descending. 
Available sorting methods: random, price, name, id_product, manufacturer, position, date_add, date_upd
Available sorting ways: descending [9-0], ascending [0-9]
[sale:nb:order_way:order_by] This shortcode gives possibility to display "on sale" products (products that have specific dropped price).
nb - is a number of products to display,
order_way - is a order method (position, price, id_product, name, date_add, date_upd)
order_way - is definition of order way (desc/asc)
[manufacturer:2:8:price:desc]

This shortcode will display list od products from selected manufacturer, in this case manufacturer with ID 2. Module will get 8 products from shop database.  Sorting method is set to sort products by PRICE and order way i set to descending.  Available sorting methods: random, price, name, id_product, manufacturer, position, date_add, date_upd. Available sorting ways: descending [9-0], ascending [0-9]

[manufacturer:1:name]

This shortcode will be replaced with manufacturer's name (where ID of manufacturer is 1)

[manufacturer:1:description] This shortcode will be replaced with manufacturer's description
[manufacturer:1:short_description] This shortcode will be replaced with manufacturer's short description
[manufacturer:1:picture] This shortcode will be replaced with manufacturer's picture
[manufacturer:1:image_link] This shortcode will be replaced with manufacturer's url to image 
[manufacturer:1:link] This shortcode will be replaced with manufacturer's link (url to manufacturer page)
[supplier:1:4:price:desc] This shortcode will display list od products from selected supplier, in this case supplier with ID 1. Module will get 4 products from shop database.  Sorting method is set to sort products by PRICE and order way i set to descending.  Available sorting methods: random, price, name, id_product, manufacturer, position, date_add, date_upd. Available sorting ways: descending [9-0], ascending [0-9]
[productgallery:9:16:home_default]  This shortcode displays list of pictures of selected product. In this case product with ID 9. It will show 16 pictures of products and the size of displayed picture will be imagetype 'home_default'
[categories:2,3,4,5] This shortcode gives possibility to display links to category pages (image of category, name)
Special shortcodes
[hpp:9] This shortcode is a shortcode for module "homepage products pro" - it will display list of products defined in this module with ID 9
[rpp:6] This shortcode is a shortcode for module "related products pro" - it will display list of products defined in this module with ID 6
[ExtraTab:2] This shortcode is a shortcode for a module "extra tabs pro" - it will display extra tab contents. In this case - contents of extra tab with ID 2
[htmlboxpro:4] This shortcode includes box contents created with module "html box pro" 

Usage examples of module: Prestashop Shortcodes

Associated videos: Prestashop Shortcodes

No video is associated with this module at the moment

Module reviews: Prestashop Shortcodes

Reviews were placed by customers that purchased this addon. If you already purchased this plugin and if you expect to left a review - you will get an email form shop after 2 weeks from purchase. This email will contain reminder about pending comment with url to review form
Average grade
4.94
Anita2023-02-20
Giulietta2023-02-17
Théodore2023-02-15
Jacek2023-01-19
Gabriel2023-01-11
Kíra2023-01-11
Wiktoria2022-10-20
Blanka2022-10-02
Eugène2022-09-10
Kirk2022-08-16
Léon2022-07-04
Leonardo2022-05-17
Fernando2019-11-21
Raquel2019-11-11
Aleks2019-11-07
Karina2019-11-01
Jerzy2019-10-24
Ane2019-10-16
Géza2019-10-06
Margaux2019-10-06
Joey2019-09-30
Cyprian2019-09-26
Gilles2019-09-25
Sophia2019-09-22
Sister2019-09-20
Jeannine2019-09-15
Timothée2019-08-31
Katalin2019-08-02
Nicolás2019-08-02
Zsolt2019-06-10
William2019-05-07
Rafael2019-04-28
Theresia2019-04-23
Daria2019-04-06
Marc2019-03-26
Pablo2019-03-09
Santiago2019-03-06
Anastazja2019-03-02
Adélaïde2019-03-01
Giovanna2019-02-20
Lester2019-02-01
Mário2018-08-12
Josianne2018-07-29
Guillermo2018-07-11
Ingrid2018-07-10
Soraia2018-02-09
Ulrico2018-01-30
Laney2017-12-23
Antonino2017-08-24
Georgina2017-07-10
Carlos2017-07-06
Júlia2017-05-19
László2017-04-08
Rozalia2016-11-21
Vilmos2016-08-21
Bianka2016-04-02
Lívia2015-11-26
Carlos2015-10-06
Kaela2015-04-21
Lazzaro2015-03-21
Sandra2015-02-13
Cristina2015-02-05
Lonie2014-11-26
Leonard2014-08-27
Francisca2014-05-13
Alix2013-07-07

Frequently asked questions

Feature under construction

Associated blog posts

No blog entries associated with this product

Shortcodes Changelog - informations about updates

1.5.0

- added support of product access module - if some product visibility will be affected by this module, module shortcodes will not display this product as well

 

1.4.9

- added htmlboxpro shortcode to support htmlboxpro module

- this shortcode will display blocks created with htmlboxpro addon

 

1.4.8

- added new shortcode to display links to category pages (image + link)

 

1.4.7

- added new shortcode to display ExtraTab contents (contents from extraTabsPro module)

 

1.4.6

- added improvements to module usage in prestashop 1.7.8.x

 

1.4.5

- added new shortcode to display products with dropped prices (products that are on sale)
- the shortcode is: [sale:12:id_product:DESC]

- 12 is a number of products to display, id_product is a sort by, DESC is a sort way

 

1.4.4

- added improvements to module workflow in prestashop 1.6.x

 

1.4.3

- added improvements to workflow of products from categories,

- module displays also products from subcategories of selected category now

 

1.4.2

- added improvements to workflow of addon on manufacturer page

 

1.4.1

- added improvements to appearance of the module on category page, when shortcode is used in "description" field 

 

1.4.0

- added improvements to appearance of productsByAttributes when shortcode is used in product's description

 

1.3.9

- added new shortcode [last-products:12] this shortcode allows to display recently added products to shop.

- number decides about number of products that module will display

 

1.3.8

- added improvements to regular expressions used by module

 

1.3.7

- added improvements to module usage with manually added scripts to shop's .tpl files

 

1.3.6

- added improvements to recently added feature to create link to exact attribute

 

1.3.5

- added new shortcode to display product combinations as a products: [productsByAttributes:1-1,1-2,1-3,1-4]

 

1.3.4

- added improvements related to usage of related products pro module in the module (with shortcode [rpp:2])

 

1.3.3

- added new shortoces to display product description and product description short:

- [product-description:2] - shortcode will show product's description (in this case product with ID 2) 

[product-description-short:2] - shortcode will show product's short description (in this case product with ID 2)

 

1.3.2

- added improvements to module appearance on product pages in prestashop 1.7

 

1.3.1

- major release of module update for prestashop 1.7.x where i optimized the code

- added feature to replace shortcodes in "quickview" window

 

1.2.3

- released separated version thats work with prestashop 1.5.x

 

1.2.2

- added improvements to module to not spawn the errors when order by is wrong

 

1.2.1

- added improvements to random display products from selected suppliers

- added improvements to random display products from selected manufacturers

- due to the changes in the override - module requires reinstallation in prestashop 1.6.x

 

1.2.0

- added new shortcodes to the module related to manufacturer

  1. [manufacturer:1:name] it replaces shortcode with manufacturer name
  2. [manufacturer:1:short_description] - it replaces shortcode with manufacturer short description
  3. [manufacturer:1:description] - it replaces shortcode with manufacturer description
  4. [manufacturer:1:link] - it replaces shortcode with url to manufacturer page
  5. [manufacturer:1:image_link] - it replaces shortcode with url to manufacturer picture
  6. [manufacturer:1:picture] - it replaces shrotcode with image of manufacturer

 

1.1.0

- added improvements to module, now it is ready to work with prestashop 1.7.x releases

 

1.0.0

started project on mypresta addons marketplace