General tags

Most tags are pulled from standard functionality.

For the standard [show=...] tag, use plugins\Celena\Shop\Index for example.

Teg Description
{products}
{products category="1,2-10" template="product" limit="10" sort="desc"} - full set of parameters.

category - ID of the category or categories separated by commas, from which the goods will be received.

template - the name of the tpl file.

limit - the number of products to be displayed.

sort - sorting will be done next. ..
[show=plugins\Celena\Shop\Index,plugins\Celena\Shop\Category]...[/show]

[not- show=plugins\Celena\Shop\Index]...[/not-show]

Displays the content between the tags if the page type matches the one specified in the attribute. For example: plugins\Celena\Shop\Index,plugins\Celena\Shop\Category - will display content if the user is on the main page or in a category.
Possible options for the show
Standard options. These names correspond to the names of the controllers.

plugins\Celena\Shop\Index - main page of the site

plugins\Celena\Shop\Category - category page

plugins\Celena\Shop\Product
 - post (full product card)

plugins\Celena\Shop \Page
 - static page

plugins\Celena\Shop\Search
 - search page

plugins\Celena\Shop \Cart
 - checkout page

plugins\Celena\Shop\Payment
 - payment page

plugins\Celena\ Shop\Orders
 - client's order page
Loading...