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.
Modul Shortcodes za PrestaShop je močno orodje, ki revolucionira upravljanje vsebine v vaši trgovini. Omogoča dinamično generiranje in vstavljanje setov izdelkov, slik in drugih elementov kjerkoli na spletnem mestu – od opisov izdelkov in CMS strani do .tpl predlog. S preprostimi kratkimi kodami lahko enostavno prikazujete posamezne izdelke, sezname izdelkov iz določenih kategorij, proizvajalcev ali promocij, pa tudi dele opisov, galerije ali informacije o dobaviteljih. Modul bistveno poveča fleksibilnost pri predstavitvi ponudbe, prihrani čas in izboljša vizualno privlačnost trgovine. Integrira se tudi z drugimi ključnimi moduli.
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" |
Modul Shortcodes automatizuje dynamické zobrazovanie produktov, kategórií a informácií kdekoľvek v obchode. Optimalizuje správu obsahu a znižuje potrebu manuálneho kódovania, zvyšujúc efektivitu.
Modul Shortcodes umožňuje dynamické zobrazovanie produktov, akcií a súvisiacich položiek kdekoľvek na webe. Týmto zlepšuje zviditeľnenie ponuky, podporuje krížový predaj a priamo zvyšuje konverziu a celkový predaj v e-shope.
Modul Shortcodes je výsledkom dlhoročných skúseností s PrestaShop. Umožňuje flexibilnú správu obsahu, vkladanie produktov, kategórií, výrobcov a iných prvkov kdekoľvek v obchode, čo optimalizuje prezentáciu a šetrí čas.
Modul Shortcodes ponúka rozsiahle možnosti konfigurácie prostredníctvom mnohých skratiek, umožňujúc širokú personalizáciu. Umožňuje flexibilné umiestnenie obsahu – produktov, popisov, galérií – kdekoľvek vo vašom obchode, dokonale prispôsobujúc sa jedinečným potrebám.
Modul Shortcodes, s otvoreným zdrojovým kódom, vám umožňuje rozsiahle prispôsobenie obsahu pomocou krátkych kódov kdekoľvek v šablónach .tpl a v administrácii. Získate tak plný prístup pre pokročilé úpravy a bezproblémové integrácie, rozširujúc funkčnosť vášho obchodu.
Modul Shortcodes ponúka doživotnú licenciu, umožňujúcu neobmedzené používanie. Získate bezplatné aktualizácie po celý rok, aby ste vždy mali najnovšie funkcie. Po roku sú k dispozícii výrazné zľavy na predĺženie prístupu k aktualizáciám.