{assign var="quick_view" value="true"} {capture name="val_hide_form"}{/capture} {capture name="val_capture_options_vs_qty"}{/capture} {capture name="val_capture_buttons"}{/capture} {capture name="val_no_ajax"}{/capture} {script src="js/tygh/exceptions.js"} {$obj_prefix=$obj_prefix|default:"ajax"}
{hook name="products:view_main_info"} {if $product}
{include file="common/view_tools.tpl" quick_view=true}
{$obj_id=$product.product_id} {include file="common/product_data.tpl" obj_prefix=$obj_prefix obj_id=$obj_id product=$product but_role="big" but_text=__("add_to_cart") add_to_cart_meta="cm-form-dialog-closer" product=$product show_sku=true show_rating=true show_old_price=true show_price=true show_list_discount=true show_clean_price=true details_page=true show_discount_label=true show_product_amount=true show_product_options=true hide_form=$smarty.capture.val_hide_form min_qty=true show_edp=true show_add_to_cart=true show_list_buttons=false capture_buttons=$smarty.capture.val_capture_buttons capture_options_vs_qty=$smarty.capture.val_capture_options_vs_qty separate_buttons=true block_width=true no_ajax=$smarty.capture.val_no_ajax show_descr=true quick_view=true } {assign var="form_open" value="form_open_`$obj_id`"} {assign var="product_detail_view_url" value="products.view?product_id=`$product.product_id`"} {$thumbnail_width = $settings.Thumbnails.product_quick_view_thumbnail_width} {$thumbnail_height = $settings.Thumbnails.product_quick_view_thumbnail_height} {$smarty.capture.$form_open nofilter} {hook name="products:quick_view_image_wrap"} {if !$no_images}
{assign var="discount_label" value="discount_label_`$obj_prefix``$obj_id`"} {$smarty.capture.$discount_label nofilter} {include file="views/products/components/product_images.tpl" product=$product show_detailed_link=true image_width=$settings.Thumbnails.product_quick_view_thumbnail_width image_height=$settings.Thumbnails.product_quick_view_thumbnail_height}
{/if} {/hook}
{capture name="product_detail_view_url"} {hook name="products:product_detail_view_url"} {$product_detail_view_url} {/hook} {/capture} {$product_detail_view_url = $smarty.capture.product_detail_view_url|trim} {hook name="products:quick_view_title"} {if !$hide_title}

{$product.product nofilter}

{/if} {/hook}
{assign var="old_price" value="old_price_`$obj_id`"} {assign var="price" value="price_`$obj_id`"} {assign var="clean_price" value="clean_price_`$obj_id`"} {assign var="list_discount" value="list_discount_`$obj_id`"} {assign var="discount_label" value="discount_label_`$obj_id`"}
{if $smarty.capture.$old_price|trim || $smarty.capture.$clean_price|trim || $smarty.capture.$list_discount|trim}
{if $smarty.capture.$old_price|trim}{$smarty.capture.$old_price nofilter} {/if} {/if}
{$smarty.capture.$price nofilter}
{if $smarty.capture.$old_price|trim || $smarty.capture.$clean_price|trim || $smarty.capture.$list_discount|trim} {$smarty.capture.$clean_price nofilter} {$smarty.capture.$list_discount nofilter}
{/if}
{if $smarty.capture.$discount_label|trim}
{$smarty.capture.$discount_label nofilter}
{/if}
{if $capture_options_vs_qty}{capture name="product_options"}{$smarty.capture.product_options nofilter}{/if}
{assign var="product_options" value="product_options_`$obj_id`"} {$smarty.capture.$product_options nofilter}
{if $capture_options_vs_qty}{/capture}{/if}
{if $capture_options_vs_qty}{capture name="product_options"}{$smarty.capture.product_options nofilter}{/if} {assign var="advanced_options" value="advanced_options_`$obj_id`"} {$smarty.capture.$advanced_options nofilter} {if $capture_options_vs_qty}{/capture}{/if}
{if $capture_options_vs_qty}{capture name="product_options"}{$smarty.capture.product_options nofilter}{/if}
{assign var="product_amount" value="product_amount_`$obj_id`"} {$smarty.capture.$product_amount nofilter} {assign var="qty" value="qty_`$obj_id`"} {$smarty.capture.$qty nofilter} {assign var="min_qty" value="min_qty_`$obj_id`"} {$smarty.capture.$min_qty nofilter}
{if $capture_options_vs_qty}{/capture}{/if} {assign var="product_edp" value="product_edp_`$obj_id`"} {$smarty.capture.$product_edp nofilter} {if $capture_buttons}{capture name="buttons"}{/if}
{assign var="add_to_cart" value="add_to_cart_`$obj_id`"} {$smarty.capture.$add_to_cart nofilter} {assign var="list_buttons" value="list_buttons_`$obj_id`"} {$smarty.capture.$list_buttons nofilter}
{if $capture_buttons}{/capture}{/if}
{$product.promo_text nofilter}
{assign var="prod_descr" value="prod_descr_`$obj_id`"} {if $smarty.capture.$prod_descr|trim}
{$smarty.capture.$prod_descr nofilter}
{/if}
{hook name="products:brand"} {include file="views/products/components/product_features_short_list.tpl" features=$product.header_features} {/hook} {$sku = "sku_`$obj_id`"} {$smarty.capture.$sku nofilter}
{assign var="form_close" value="form_close_`$obj_id`"} {$smarty.capture.$form_close nofilter} {/if} {if $smarty.capture.hide_form_changed == "Y"} {assign var="hide_form" value=$smarty.capture.orig_val_hide_form} {/if} {/hook}