- Version of Framework >=2.0
- PHP version >=7.4
![]()
Despite the fact that the plugin is compatible with the old version of PHP 7.4, we recommend using it on systems with PHP 8.0 for faster and more stable work.
Using the application you can create and customize various menus for the frontend of your website.
You can set the structure of the new menu using a simple visual editor. Automatic generation of links to individual sections of the site (for example, store categories) is available using installed plugins.
After creating the structure, you can test it in the "Information" section.
Installing a menu on the site
Installing a Menu on a Website If your design theme does not support the default application, then you will need basic knowledge of HTML layout to modify the templates.
Using the following code you can get an array of elements of a specific menu. Note that $menu_id — this is the ID of a specific menu
, $user_id - this is the user ID.{$user_id = $wa->user("id")}
{$items = $wa->menu->get($menu_id,$user_id)}
или
{$items = $wa->menu->get($menu_id,$wa->user("id"))}
The next step is to create the HTML structure of your menu. The easiest way to do this is to use the function wa_print_tree, which will output a nested structure of UL lists:
{wa_print_tree tree=$items elem='<a href=":url" class=":class" id=":element_id">:name</a>'}
A slightly more advanced way is to use Smarty loops, for example foreach.
<nav class="menu">
{* cycle by elements of the top level *}
{foreach $items as $item}
<div class="menu-item">
{* rendering links *}
<a href="{$item.url}" {if $item.class}class="{$item.class}"{/if} {if $item.element_id}id="{$item.element_id}"{/if}>{$item.name}</a>
{* an element may have nested elements *}
{if !empty($item.childs)}
<div class="menu-item-childs">
{* cycle by elements of the second level *}
{foreach $item.childs as $child}
<div class="menu-item-child">
{* rendering links *}
<a href="{$child.url}" {if $child.class}class="{$child.class}"{/if} {if $child.element_id}id="{$child.element_id}"{/if}>{$child.name}</a>
{* further there may be more nested elements: {$child.childs} etc.*}
</div>
{/foreach}
</div>
{/if}
</div>
{/foreach}
</nav>
Caching
The application uses a cache to reduce the load on the server. You can change the cache lifetime on the settings page.
The default is file cache. But by following this guide you can change the cache settings of your Webasyst:
https://developers.webasyst.ru/features/cache/
-
4.7 × 155
All types of discounts. Discount constructor
from $26.99/mo7 days free
-
4.8 × 28
Allows the buyer to ask a question about product.
$13.997 days free
-
4.6 × 109
1-Click ordering lets you skip checkout proceeding
from $12.99/mo7 days free
-
4.3 × 8
Creation of gift certificates and discount cards
from $23.99/mo7 days free
-
3.9 × 18
Optimize JPG and PNG images with TinyPNG service
from $6.99/mo7 days free
-
5.0 × 7
Plugin lets to share the product in WhatsApp
from $6.99/mo7 days free
-
5.0 × 9
Displays the reason for cancelling an order
from $4.99/mo7 days free
-
5.0 × 7
Load images for products from external links
$17.997 days free
-
5.0 × 1
The plugin creates a compact banner on the site
from $5.99/mo7 days free
-
5.0 × 1
Receive notifications about orders in telegram
from $6.99/mo7 days free
-
Sorting products by priority and not only
from $11.99/mo7 days free
-
4.8 × 5
Filtering, export and processing orders
from $44.99$1157 days free
-
4.8 × 13
Choose the number of items per page to see
from $6.99/mo7 days free
-
5.0 × 5
Creates a printed form for the guarantee.
from $6.99/mo7 days free
-
4.8 × 9
Remove "Free" label from the checkout
from $4.99/mo7 days free
-
5.0 × 60
Filter delivery & payment methods by any criteria
from $14.99/mo7 days free
-
4.5 × 41
Creation and sale of product sets with discount
from $22.99/mo7 days free
-
Plugin adds new reports to the store.
from $6.99/mo7 days free
-
4.3 × 3
Generate delivery form in excel format
from $6.99/mo7 days free
-
4.0 × 2
Instant access to products without a category
from $7.99$19.997 days free
-
4.1 × 37
Filter orders by params and export to xlsx/csv.
$997 days free









