{strip} {$_templates = []} {/strip}
{* APP BODY *}
{* PRODUCTS MENU *}
{$products_menu}
{* NAVIGATE BACK *} {if !empty($product.id) && !empty($product_list_data)} {$_tooltips = []}
{if !empty($product_list_data["prev"])} {$_tooltips["prev_product_name"] = [ "id" => "prev_product_name", "html" => sprintf(_w("Previous product ā€œ%sā€"), $product_list_data["prev"]["name"]), "position" => "top-left" ]} {/if} {sprintf(_w("Product %d of %d"), $product_list_data["position"], $product_list_data["count"])} {if !empty($product_list_data["next"])} {$_tooltips["next_product_name"] = [ "id" => "next_product_name", "html" => sprintf(_w("Next product ā€œ%sā€"), $product_list_data["next"]["name"]), "position" => "top" ]} {/if} {$_tooltips["product_name"] = [ "id" => "product_name", "html" => {$product.name|default:_w('New product')|escape}, "width" => "40%", "position" => "bottom-left" ]}
{/if}

{$product.name|default:_w('New product')|escape}

id: {$product.id|default:_w('Product ID')}
{* @event backend_prod.%plugin_id%.header *} {if !empty($backend_prod_event)}{foreach $backend_prod_event as $_}{ifset($_.header)}{/foreach}{/if}
{* SIDEBAR *}
{$sidebar}
{* CONTENT *}
{$content}

{sprintf_wp('An error has occurred because of outdated stock entries in the product properties. Click the %s button to remove useless stock entries.', _wp('Fix'))}

{* @event backend_prod.%plugin_id%.bottom *} {if !empty($backend_prod_event)}{foreach $backend_prod_event as $_}{ifset($_.bottom)}{/foreach}{/if}