Prestashop Shortcodes - krótkie kody w PrestaShop

Moduł krótkich kodów pozwala na automatyczne budowanie treści w dowolnych miejscach Twojego sklepu. Shortcode mogą być wykorzystywane zarówno w szablonach jak i w zapleczu w miejscach w których budujemy własne treści (np. treść opisu produtku, treść stron cms itp.). Wykorzystane krótkie kody zostaną zastąpione automatycznie generowanymi treściami.

Wersja sklepu 1.7.x, 1.6.x, 1.5.x
Dostępne wersje językowe
Wersja modułu 1.3.6
Działa z ThirtyBees Tak
  • Pewne źródło pochodzenia modułu Shortcodes - krótkie kody w PrestaShop
  • Support do modułu Shortcodes - krótkie kody w PrestaShop
  • Bezpłatne aktualizacje modułu Shortcodes - krótkie kody w PrestaShop
  • Otwarty kod - możliwość wprowadzania zmian Shortcodes - krótkie kody w PrestaShop
  • Moduł Shortcodes - krótkie kody w PrestaShop działa z PrestaShop 1.7
  • Moduł Shortcodes - krótkie kody w PrestaShop działa z PrestaShop 1.6
  • Moduł Shortcodes - krótkie kody w PrestaShop działa z PrestaShop 1.5

Opis modułu: Prestashop Shortcodes - krótkie kody w PrestaShop

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.

 

Gdzie można korzystać z shortcode ?

Niewątpliwą zaletą modułu jest fakt, że z shortcode można korzystać wszędzie. Np. na stronach edycji produktów w zapleczu sklepu, na stronach edycji kategorii czy stron CMS. Krótkie kody mogą być wykorzystywane również w plikach szablonu .tpl - dotyczy to zarówno szablonu jak i modułów.

 

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] Ten krótki kod spowoduje wyświetlenie listy produktów zawierających konkretne kombinacje.
Np. 1-2 oznacza wyświetlenie produktu o ID 1 a konkretnie jego kombinacji o ID 2
[product-description:2] Ten krótki kod wyświetli opis produktu o wskazanym numerze id, w tym przypadku 2
[product-description-short:2] Ten krótki kod wyświetli krótki opis produktu o wskazanym id, w tym przypadku 2
[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]
[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'
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

Przykłady wykorzystania modułu: Prestashop Shortcodes - krótkie kody w PrestaShop

Powiązane Video: Prestashop Shortcodes - krótkie kody w PrestaShop

Aktualnie brak powiązanych klipów wideo

Opinie o module: Prestashop Shortcodes - krótkie kody w PrestaShop

Average grade
5.00
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

Najczęściej zadawane pytania

feature under construction

Powiązane posty z bloga

Aktualnie brak powiązanych artykulow

Shortcodes - krótkie kody w PrestaShop Changelog - informations o aktualizacjach

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