{$_lang = substr($wa->locale(), 0, 2)} {$_sprite_url = "`$wa_url`wa-apps/shop/img/backend/products/product/icons.svg?v=`$wa->version()`"} {* КОМПОНЕНТЫ *} {$_components = []} {capture assign="_component_view_toggle"}
{/capture} {$_components["component-view-toggle"] = $_component_view_toggle|strip} {capture assign="_component_paging"} {literal}
[`of`]
{/literal} {/capture} {$_components["component-paging"] = $_component_paging|strip} {capture assign="_component_paging_dropdown"} {literal} {/literal} {/capture} {$_components["component-paging-dropdown"] = $_component_paging_dropdown|strip} {capture assign="_component_product_slider"} {literal}
{/literal}{literal}
{ { "+" + controls.before_count } }
{ { "+" + controls.after_count } }
{/literal} {/capture} {$_components["component-product-slider"] = $_component_product_slider|strip} {capture assign="_component_tree_menu"} {literal}
  • %item.name%
  • {/literal} {/capture} {$_components["component-tree-menu"] = $_component_tree_menu|strip} {capture assign="_component_sidebar_section"} {literal}
    %label%
    {/literal} {/capture} {$_components["component-sidebar-section"] = $_component_sidebar_section|strip} {* ШАБЛОНЫ *} {$_templates = []} {capture assign="_media_image_delete_confirm"}{include file="../dialogs/media_image_delete_confirm.html" inline}{/capture} {$_templates["dialog_media_image_delete_confirm"] = $_media_image_delete_confirm} {capture assign="_media_image_dialog"}{include file="../dialogs/media_image_dialog.html" inline}{/capture} {$_templates["dialog_media_image"] = $_media_image_dialog} {capture assign="_media_image_unsaved_changes_confirm"}{include file="../dialogs/media_image_unsaved_changes_confirm.html" inline}{/capture} {$_templates["dialog_media_image_unsaved_changes_confirm"] = $_media_image_unsaved_changes_confirm} {* ПОДСКАЗКИ *} {$_tooltips = [ "products-list-date" => [ "id" => "products-list-date", "html" => _w("Product-adding date")|escape ], "return-to-old-products" => [ "id" => "return-to-old-products", "html" => _w("Return to the old section")|escape, "position" => "top", "class" => "inline" ], "product_from_subcategories" => [ "id" => "product_from_subcategories", "html" => _w("This product is contained in a subcategory.")|escape, "position" => "top", "class" => "inline" ], "view_thumbs" => [ "id" => "view_thumbs", "html" => _w("Tiles")|escape, "position" => "top-right", "class" => "inline" ], "view_table" => [ "id" => "view_table", "html" => _w("Table: product")|escape, "position" => "top-right", "class" => "inline" ], "view_table_extended" => [ "id" => "view_table_extended", "html" => _w("Table: product & variant")|escape, "position" => "top-right", "class" => "inline" ], "product-media-dialog-1" => [ "id" => "product-media-dialog-1", "html" => _w("Enter a description that will be used in the TITLE and in META tags used by search systems.") ] ]} {* ЛОКАЛИЗАЦИЯ *} {$_locales = [ "hidden" => _w("Hidden, not for sale"), "published" => _w("Published, for sale"), "unpublished" => _w("Unpublished, not for sale"), "products_forms" => [ _w("%d product", "%d products", 1, false), _w("%d product", "%d products", 2, false), _w("%d product", "%d products", 5, false) ], "product_sku_forms" => [ _w("%s in %d SKU", "%s in %d SKUs", 1, false), _w("%s in %d SKU", "%s in %d SKUs", 2, false), _w("%s in %d SKU", "%s in %d SKUs", 5, false) ], "product_sku_mod_forms" => [ _w("%d variant", "%d variants", 1, false), _w("%d variant", "%d variants", 2, false), _w("%d variant", "%d variants", 5, false) ], "select_category" => _w("Please select a category"), "use_in_sku_forms" => [ _w("Used in %d variant.", "Used in %d variants.", 1, false), _w("Used in %d variant.", "Used in %d variants.", 2, false), _w("Used in %d variant.", "Used in %d variants.", 5, false) ], "ai_generate_image_error" => _w("Unable to generate an image."), "ai_generate_image_only_selected" => _w("AI photo editor is available only for explicitly selected products."), "ai_improve_all_selected" => _w("Generate for all"), "ai_improve_all_selected_hint" => _w("for %d selected products"), "ai_abort_process" => _w("Abort process") ]} {* includes will update templates/components array *} {include file="./components/main.html" scope="parent" inline} {include file="./components/products/table.html" scope="parent" inline} {include file="./components/products/thumbs.html" scope="parent" inline} {include file="./components/products/filters.html" scope="parent" inline} {include file="./components/products/mass_actions.html" scope="parent" inline} {include file="./components/products/presentations_dropdown.html" scope="parent" inline} {include file="./dialogs/errors.html" scope="parent" inline} {include file="./dialogs/list.column_manager.html" scope="parent" inline} {include file="./components/products/empty_content.html" scope="parent" inline} {$_globals_components = $wa->globals("components")} {if !empty($_globals_components)} {$_components = array_merge($_globals_components, $_components)} {/if}