Cvp: Üye Girişi Yapmayan Fiyatları Göremesin
homefeatured.tpl:
<div>
{if $logged eq 1}
<p class="price_container"><span class="price">{if !$priceDisplay}{convertPrice price=$product.price}{else}{convertPrice price=$product.price_tax_exc}{/if}</span></p>
{/if}<a class="button" href="{$product.link}?phpMyAdmin=98526d0b8b5f8f81f62e93bf38e4e836" title="{l s='View' mod='homefeatured'}">{l s='View' mod='homefeatured'}</a>
{if ($product.quantity > 0 OR $product.allow_oosp) AND $product.customizable != 2}
<a class="exclusive ajax_add_to_cart_button" rel="ajax_id_product_{$product.id_product}" href="{$base_dir}cart.php?qty=1&id_product={$product.id_product}&token={$static_token}&add&phpMyAdmin=98526d0b8b5f8f81f62e93bf38e4e836" title="{l s='Add to cart' mod='homefeatured'}">{l s='Add to cart' mod='homefeatured'}</a>
{else}
{if $logged eq 1}<span class="exclusive">{l s='Add to cart' mod='homefeatured'}</span>{/if}
{/if}
</div>
themes / temanız / product.tpl
{* Giriş kontrolüne göre Göster *}
{if $logged eq 1}
<p class="price">
{if $product->on_sale}
<img src="{$img_dir}onsale_{$lang_iso}.gif" alt="{l s='On sale'}" class="on_sale_img"/>
<span class="on_sale">{l s='On sale!'}</span>
{elseif ($product->reduction_price != 0 || $product->reduction_percent != 0) && ($product->reduction_from == $product->reduction_to OR ($smarty.now|date_format:'%Y-%m-%d %H:%M:%S' <= $product->reduction_to && $smarty.now|date_format:'%Y-%m-%d %H:%M:%S' >= $product->reduction_from))}
<span class="discount">{l s='Price lowered!'}</span>
{/if}
<br />
<span class="our_price_display">
{if !$priceDisplay || $priceDisplay == 2}
<span id="our_price_display">{convertPrice price=$product->getPrice(true, $smarty.const.NULL)}</span>
{if $tax_enabled}{l s='tax incl.'}{/if}
{/if}
{if $priceDisplay == 1}
<span id="our_price_display">{convertPrice price=$product->getPrice(false, $smarty.const.NULL)}</span>
{if $tax_enabled}{l s='tax excl.'}{/if}
{/if}
</span>
{if $priceDisplay == 2}
<br />
<span id="pretaxe_price"><span id="pretaxe_price_display">{convertPrice price=$product->getPrice(false, $smarty.const.NULL)}</span> {l s='tax excl.'}</span>
{/if}
<br />
</p>
{if ($product->reduction_price != 0 || $product->reduction_percent != 0) && ($product->reduction_from == $product->reduction_to OR ($smarty.now|date_format:'%Y-%m-%d %H:%M:%S' <= $product->reduction_to && $smarty.now|date_format:'%Y-%m-%d %H:%M:%S' >= $product->reduction_from))}
<p id="old_price"><span class="bold"> {/if}
{/if}
{* Fiyat için Giriş Kontrolü Sonu *}