first commit
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
<div id="st_component-st_product-list_other">
|
||||
<div id="st_component-st_product-product_list_other_head"></div>
|
||||
{foreach key=row item=product from=$results}
|
||||
<div class="st_component-st_product-product_list_other">
|
||||
{if ($show_image)==1}<div class="st_product-list_other_image" style="height: {$product.photo_max_height}px">{$product.photo}</div>{/if}
|
||||
{if ($show_name)==1}<div class="st_product-list_other_name">{$product.name}</div>{/if}
|
||||
{if ($show_price)==1}
|
||||
{if ($product.check_price)!=1}
|
||||
{if $price_view=='net_gross'}
|
||||
<div class="st_product-list_other_price_double">{$product.price_net} <br /><span>({$product.price}</span>)</div>
|
||||
{elseif $price_view=='only_gross'}
|
||||
<div class="st_product-list_other_price">{$product.price}</div>
|
||||
{elseif $price_view=='only_net'}
|
||||
<div class="st_product-list_other_price">{$product.price_net}</div>
|
||||
{elseif $price_view=='gross_net'}
|
||||
<div class="st_product-list_other_price_double">{$product.price} <br /><span>({$product.price_net}</span>)</div>
|
||||
{/if}
|
||||
{else}
|
||||
<div style="min-height: 47px; height: 47px;"></div>
|
||||
{/if}
|
||||
{if $show_discount==1 && $product.discount!=0 && $product.check_price!=1}
|
||||
<div class="st_product-list_other_discount">{__ text="Rabat"}: <span>{$product.discount} %</span></div>
|
||||
{elseif ($show_old_price==1 && $product.check_price!=1)}
|
||||
{if $product.check_old_price==1}
|
||||
{if ($price_view=='net_gross' || $price_view=='only_net')}
|
||||
<div class="st_product-list_other_old_price"><span>{$product.old_price_net}</span></div>
|
||||
{else}
|
||||
<div class="st_product-list_other_old_price"><span>{$product.old_price}</span></div>
|
||||
{/if}
|
||||
{else}
|
||||
<div class="st_product-list_other_discount"></div>
|
||||
{/if}
|
||||
{else}
|
||||
<div class="st_product-list_other_discount"></div>
|
||||
{/if}
|
||||
{/if}
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
<div class="st_component-st_product-product_list_other_foot">
|
||||
<br class="st_clear_all" />
|
||||
</div>
|
||||
<br class="st_clear_all" />
|
||||
Reference in New Issue
Block a user