Shop
What you can insert into a template from the “Shop” module: blocks and lists with parameters and examples.
Cart — shop.cart
A button-link to the shop cart. Kind: button; works on any page.
Example:
{block:shop.cart}Cart icon — shop.cart_icon
Cart icon for the header: the number of items in the cart and a link to it. Kind: block; works on any page.
Example:
{block:shop.cart_icon}Category tiles — shop.categories_tiles
Shop categories as tiles with a name and picture: one click into the catalogue. Kind: block; works on any page.
Example:
{block:shop.categories_tiles}New arrivals — shop.latest
Side-column “New arrivals”: a few new products with prices. Kind: block; works on any page.
Example:
{block:shop.latest}New products — shop.products
A list of new products for your own markup: title, address, price, picture. Kind: list for your own markup; works on any page.
| Parameter | Meaning | Default |
|---|---|---|
limit | How many to show. From 1 to 20. | 4 |
sort | Order: new — newest, popular — best selling, price — cheapest first, price_desc — most expensive first, discount — biggest discount Values: new, popular, price, price_desc, discount. | new |
sale | yes — only discounted products (old price above the current one), no — all Values: no, yes. | no |
Inside the list: {item.title} {item.url} {item.price} {item.cover} {item.cover_large} {item.old_price} {item.discount} {item.excerpt}.
Example:
[each:list:shop_products:limit:4:sort:popular]
<a href="{item.url}">{item.title}</a> — {item.price} [if:item.discount]<s>{item.old_price}</s> {item.discount}[/if]
[/each]Shop showcase — shop.showcase
Shop showcase on the home page: featured products as cards with price and an Add to cart button. Kind: block; works on any page.
Example:
{block:shop.showcase}Updated 16.10.2026
No one has commented yet. Be the first.