N1 Nex1on

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.

ParameterMeaningDefault
limitHow many to show. From 1 to 20.4
sortOrder: new — newest, popular — best selling, price — cheapest first, price_desc — most expensive first, discount — biggest discount Values: new, popular, price, price_desc, discount.new
saleyes — 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}

Обновлено 16.10.2026

На этой странице
Поделиться: Telegram WhatsApp
Откладывать можно и без входа: закладки сохранятся в этом браузере, а после входа их можно перенести в учётную запись. Вход
Обсуждение

Комментарии

Обсуждение ещё не началось

Пока никто не высказался. Будьте первым.

Пожаловаться на запись