{hook name="products:notification_items"} {if $added_products} {foreach from=$added_products item=product key="key"} {hook name="products:notification_product"}
{include file="common/image.tpl" image_width="50" image_height="50" images=$product.main_pair no_ids=true class="ty-product-notification__image"}
{$product.product_id|fn_get_product_name nofilter} {if !($settings.General.allow_anonymous_shopping == "hide_price_and_add_to_cart" && !$auth.user_id)}
{if !$hide_amount} {$product.amount} x {include file="common/price.tpl" value=$product.display_price span_id="price_`$key`" class="none"} {/if}
{/if} {if $product.product_option_data} {include file="common/options_info.tpl" product_options=$product.product_option_data} {/if}
{/hook} {/foreach} {else} {$empty_text} {/if} {/hook}