{strip} {$_lang = substr($wa->locale(), 0, 2)} {$_sprite_url = "`$wa_url`wa-apps/shop/img/backend/products/product/icons.svg?v=`$wa->version()`"} {* ЛОКАЛИЗАЦИЯ *} {$_tooltips = [ "default" => [ "id" => "default" ], "prices-tooltip-1" => [ "id" => "prices-tooltip-1", "html" => _w("The SKU variant is visible in the storefront.")|escape ], "prices-tooltip-2" => [ "id" => "prices-tooltip-2", "html" => _w("The SKU variant visible in the storefront.")|escape ], "prices-tooltip-3" => [ "id" => "prices-tooltip-3", "html" => _w("The variant is available for purchase.")|escape ], "prices-tooltip-4" => [ "id" => "prices-tooltip-4", "html" => _w("The variant is unavailable for purchase.")|escape ], "prices-tooltip-5" => [ "id" => "prices-tooltip-5", "html" => _w("The promo in which this SKU variant is included is paused. You can view the price change in the promo info block below.")|escape ], "prices-tooltip-6" => [ "id" => "prices-tooltip-6", "html" => _w("The SKU variant is included in a planned promo. You can view the price change in the promo info block below.")|escape ], "prices-tooltip-7" => [ "id" => "prices-tooltip-7", "html" => _w("The promo is on.")|escape ], "prices-tooltip-8" => [ "id" => "prices-tooltip-8", "html" => _w("The promo is on but is temporarily paused.")|escape ], "prices-tooltip-9" => [ "id" => "prices-tooltip-9", "html" => _w("The promo is planned for the future.")|escape ], "prices-tooltip-10" => [ "id" => "prices-tooltip-10", "html" => _w("The promo price does not differ from the original product price.")|escape, "position" => "top" ], "prices-tooltip-11" => [ "id" => "prices-tooltip-11", "html" => _w("Product price changed for promo.")|escape, "position" => "top" ] ]} {if !empty($promos_model.promos)} {foreach $promos_model.promos as $_promo} {if $_promo.status === "active"} {$_key = "prices-tooltip-promo-{$_promo.id}"} {$_tooltips[$_key] = [ "id" => $_key, "html" => sprintf(_w("The SKU variant is included in functioning promo “%s”. You can view the price change in the promo info block below."), $_promo.name)|escape ]} {/if} {/foreach} {/if} {$_locales = [ "stock_title" => _w("The quantity on this virtual stock is the sum of quantities on physical stocks — %s. You can change the list of stocks in “Settings” section."), "storefronts_toggle_open_forms" => [ _w("Show %d storefront to which the promo is applied", "Show %d storefronts to which the promo is applied", 1, false), _w("Show %d storefront to which the promo is applied", "Show %d storefronts to which the promo is applied", 2, false), _w("Show %d storefront to which the promo is applied", "Show %d storefronts to which the promo is applied", 5, false) ], "storefronts_toggle_hide_forms" => [ _w("Hide %d storefront to which the promo is applied", "Hide %d storefronts to which the promo is applied", 1, false), _w("Hide %d storefront to which the promo is applied", "Hide %d storefronts to which the promo is applied", 2, false), _w("Hide %d storefront to which the promo is applied", "Hide %d storefronts to which the promo is applied", 5, false) ] ]} {/strip} {* ШАБЛОНЫ *} {$_templates = []} {* КОМПОНЕНТЫ *} {$_components = []} {capture assign="_component_prices_section"}
{if $formatted_product["normal_mode"]} {/if}
[`Prices & availability`]
{/capture} {$_components["component-prices-section"] = $_component_prices_section|trim} {capture assign="_component_price_table"}
[`SKU`]
[`Compare at price`]
[`Price`]
[`Quantity`] ({ { product.stock_unit.name_short } })
{/capture} {$_components["component-price-table"] = $_component_price_table|trim} {capture assign="_component_promo_section"}
{if !empty($frontend_urls) && (count($frontend_urls) > 1)}
{/if}
{/capture} {$_components["component-promo-section"] = $_component_promo_section|trim} {capture assign="_component_stocks_manager"}
{/capture} {$_components["component-stocks-manager"] = $_component_stocks_manager|trim} {capture assign="_component_dropdown"} {/capture} {$_components["component-dropdown"] = $_component_dropdown|trim} {* PAGE *}
{* VUE *} {* INIT JS *}