Langkah-langkahnya :
1. Masuk ke folder Themes - Nama-themes-anda- Product-list.tpl (edit dengan notepad dsb)
2. Temukan kode berikut dalam file produt-list.tpl
{if isset($product.show_price) && $product.show_price && !isset($restricted_country_mode)}<span class="price" style="display: inline;">{if !$priceDisplay}{convertPrice price=$product.price}{else}{convertPrice price=$product.price_tax_exc}{/if}</span><br />{/if}Ganti dengan kode berikut:
{if $product.show_price AND !isset($restricted_country_mode) AND !$PS_CATALOG_MODE}<p><span class="price">{if ($product.price == 0)}Price: Call!{else}{if !$priceDisplay}{convertPrice price=$product.price}{else}{convertPrice price=$product.price_tax_exc}{/if}{/if} {if isset($product.reduction) && $product.reduction && isset($product.show_price) && $product.show_price && !$PS_CATALOG_MODE}<span style="color: red;"><span style=" text-decoration: line-through;color: red; padding-left: 5px; font-size: 13px;">{convertPrice price=$product.price_without_reduction}</span></span>{/if}</span></p>{else}<div style="height:21px;"></div>{/if}Setelah diganti, save data dan lihat perubahannya di dalam front office Toko Online anda
3. Masih dalam folder themes - nama-themes-anda. masuk ke product.tpl (edit dengan notepad dsb)
4. Temukan kode berikut dalam file product.tpl
<p class="our_price_display">Ganti dengan kode berikut:
{if $priceDisplay >= 0 && $priceDisplay <= 2}
<span id="our_price_display">{convertPrice price=$productPrice}</span>
<!--{if $tax_enabled && ((isset($display_tax_label) && $display_tax_label == 1) OR !isset($display_tax_label))}
{if $priceDisplay == 1}{l s='tax excl.'}{else}{l s='tax incl.'}{/if}
{/if}-->
{/if}
</p>
<span class="our_price_display">
{if ($product->getPrice(true, NULL, 2) == 0)}
Price: Call! {else}
{if $priceDisplay >= 0 && $priceDisplay <= 2}
<span id="our_price_display">{convertPrice price=$productPrice}</span>
{if $tax_enabled && ((isset($display_tax_label) && $display_tax_label == 1) OR !isset($display_tax_label))}
{if $priceDisplay == 1}{l s='tax excl.'}{else}{l s='tax incl.'}{/if}
{/if}
{/if}
{/if}
</span>
Ok, setelah selesai, lihat pada bagian front office, jika sudah berubah Anda sudah berhasil mempraktekannya.. selamat mencoba ^_^
0 komentar:
Post a Comment