{* NAVIGATE BACK *}
{if !empty($product.id) && !empty($product_list_data)}
{$_tooltips = []}
{* @event backend_prod.%plugin_id%.header *}
{if !empty($backend_prod_event)}{foreach $backend_prod_event as $_}{ifset($_.header)}{/foreach}{/if}
{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')}
{* SIDEBAR *}
{* CONTENT *}
{$content}