Page MenuHomeIn-Portal Phabricator

products_wish_list.tpl
No OneTemporary

File Metadata

Created
Sun, Mar 9, 4:20 PM

products_wish_list.tpl

<inp2:m_DefineElement name="product_image">
<img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> border="0" /><br/>
</inp2:m_DefineElement>
<inp2:p_InitList list_name="wish_list" types="wish_list" parent_cat_id="any" recursive="true" per_page="default" />
<table border="0" cellspacing="0" cellpadding="0" class="block-no-border">
<tr>
<td class="block-header"><inp2:m_Phrase label="lu_comm_YourWishList"/> (<inp2:p_TotalRecords list_name="wish_list" />)</td>
</tr>
<tr>
<td class="block-data">
<inp2:m_if check="p_TotalRecords" list_name="wish_list">
<table>
<tr>
<td style="width: 300px">
<inp2:m_include template="in-commerce/blocks/products/products_sorting" list_name="wish_list" />
</td>
<td style="text-align: center;">
<inp2:m_include template="in-commerce/blocks/products/products_pagination" list_name="wish_list" />
</td>
</tr>
</table>
<br />
<table>
<inp2:m_DefineElement name="product_row_start">
<tr>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="product_elem">
<td width="16%" align="center" valign="top" class="block-data">
<a href="<inp2:ProductLink template="__default__"/>"><inp2:Image render_as="product_image" thumbnail="1" DefaultImage="in-commerce/img/no_picture_list.gif" MaxWidth="120" MaxHeight="120" DefaultWidth="120" /></a>
</td>
<td width="84%" class="block-data"> <a href="<inp2:ProductLink template="__default__"/>" class="link-product2"><strong><inp2:Field name="Name" /></strong></a>
<inp2:m_if check="p_Available">
<a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="in-commerce/img/buy2.gif" alt="" width="15" height="17" border="0" style="vertical-align:middle" /></a><br />
</inp2:m_if>
<inp2:m_if check="Field" name="MSRP"><strong><inp2:m_Phrase label="lu_comm_MSRP"/>:</strong> <span class="price-msrp"><inp2:Field name="MSRP" currency="selected"/></span> <br /> </inp2:m_if>
<strong><inp2:m_Phrase label="lu_comm_OurPrice"/>:</strong> <span class="price1"><inp2:Field name="Price" currency="selected"/></span> <br />
<inp2:m_DefineElement name="add_to_wish_list">
<a href="<inp2:m_param name="wish_list_toggle_link" />"><inp2:m_Phrase label="lu_comm_AddToFav"/></a><br />
</inp2:m_DefineElement>
<inp2:m_DefineElement name="remove_from_wish_list">
<a href="<inp2:m_param name="wish_list_toggle_link" />"><inp2:m_Phrase label="lu_comm_RemoveFromFav"/></a><br />
</inp2:m_DefineElement>
<inp2:WishListToggleLink add_to_wish_list_render_as="add_to_wish_list" remove_from_wish_list_render_as="remove_from_wish_list" /><br />
<strong><inp2:m_Phrase label="lu_comm_Description"/>:</strong> <inp2:Field name="DescriptionExcerpt" />
</td>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="product_row_end">
</tr>
<inp2:m_if check="NotLastItem">
<tr>
<td colspan="2" style="background: #CCCCCC; height: 1px; padding: 0px"><img src="img/s.gif" alt="" width="1" height="1" /></td>
</tr>
</inp2:m_if>
</inp2:m_DefineElement>
<inp2:p_ListProducts list_name="wish_list" columns="1" direction="V" render_as="product_elem" row_start_render_as="product_row_start" row_end_render_as="product_row_end" empty_cell_render_as="product_empty_cell" />
</table>
<inp2:m_else />
<tr>
<td>
<inp2:m_Phrase label="lu_comm_YourWishListEmpty"/><br />
<inp2:m_Phrase label="lu_comm_TryRecomendedProductd"/>.
<br /><br />
<inp2:m_include template="in-commerce/blocks/products/products_picks" />
</td>
</tr>
</inp2:m_if>
</td>
</tr>
</table>

Event Timeline