{if $products} {script src="js/tygh/exceptions.js"} {if !$no_pagination} {include file="common/pagination.tpl"} {/if} {if !$no_sorting} {include file="views/products/components/sorting.tpl"} {/if} {assign var="image_width" value=$image_width|default:60} {assign var="image_height" value=$image_height|default:60}
{hook name="products:product_compact_list_view"} {foreach from=$products item="product" key="key" name="products"} {assign var="obj_id" value=$product.product_id} {assign var="obj_id_prefix" value="`$obj_prefix``$product.product_id`"} {include file="common/product_data.tpl" product=$product} {hook name="products:product_compact_list"}
{hook name="products:product_compact_list_image"}
{include file="common/image.tpl" image_width=$image_width image_height=$image_height images=$product.main_pair obj_id=$obj_id_prefix} {assign var="product_labels" value="product_labels_`$obj_prefix``$obj_id`"} {$smarty.capture.$product_labels nofilter}
{/hook}
{assign var="name" value="name_$obj_id"}{$smarty.capture.$name nofilter} {$sku = "sku_`$obj_id`"} {$smarty.capture.$sku nofilter}
{assign var="old_price" value="old_price_`$obj_id`"} {if $smarty.capture.$old_price|trim} {$smarty.capture.$old_price nofilter} {/if} {assign var="price" value="price_`$obj_id`"} {$smarty.capture.$price nofilter} {assign var="clean_price" value="clean_price_`$obj_id`"} {$smarty.capture.$clean_price nofilter}
{if !$smarty.capture.capt_options_vs_qty} {assign var="product_options" value="product_options_`$obj_id`"} {$smarty.capture.$product_options nofilter} {assign var="qty" value="qty_`$obj_id`"} {$smarty.capture.$qty nofilter} {/if} {if $show_add_to_cart} {assign var="add_to_cart" value="add_to_cart_`$obj_id`"} {$smarty.capture.$add_to_cart nofilter} {/if}
{/hook} {/foreach} {/hook}
{if !$no_pagination} {include file="common/pagination.tpl" force_ajax=$force_ajax} {/if} {/if}