Jump to content
sariwangi2008

Bagaimana membuat katalog tanpa harga?<SOLVED>

Recommended Posts

1. Mohon bantuannya, bagaimana cara menampilkan katalog produk tanpa adanya harga...istilahnya cuma dibuat katalog aja.
2. Bagaimana menambah pages/halaman baru, yang nantinya isinya keterangan2 saja...tanpa produk.(seperti home teks editor)
3. Terima kasih untuk bantuannya.

Share this post


Link to post
Share on other sites

1. kalo pake PS 1.4 ada setingnya buat set toko jadi katalog mode, jadi fungsi belanja benar2 dimatiin.
2. lewat tools - cms, disana bisa bikin halaman sendiri seperti yang dimaksud.

Share this post


Link to post
Share on other sites

Kalau menggunakan Prestashop 1.4 sudah support katalog mode, tinggal aktifin.
Kalau diaktifkan, maka semua yang berkaitan dengan Jual beli jadi disable. Seperti harga, keranjang belanja, module-module yang berkaitan dengan aktifitas jual-beli (seperti module: BlockCart, BlockBestSellers, BlockSpecial), bahkan footer-link yang mengarah ke halaman best-sales.php dan prices-drop.php juga di-disable.

Untuk pertanyaan no 2 sudah dijawab tuh ama Bang Tobi

42384_hmcSWJSR3ysuwxTk2fzL_t

Share this post


Link to post
Share on other sites

untuk bang tobi slamat kenal... aku kok bikin page baru atau edit salah satu page di tool cms nggak berubah-berubah...yang muncul tetap tulisan aslinya/defaultnya...tolong dong dibantuin solusinya. thanx sblmnya

Share this post


Link to post
Share on other sites
untuk bang tobi slamat kenal... aku kok bikin page baru atau edit salah satu page di tool cms nggak berubah-berubah...yang muncul tetap tulisan aslinya/defaultnya...tolong dong dibantuin solusinya. thanx sblmnya


cachenya kali ? coba matiin dulu yg di tab preferences - performance.

Share this post


Link to post
Share on other sites

makasih bang tobi...aku cobain dulu moga berhasil...ntar kalo ada masalah mohon petunjuknya suhu

Share this post


Link to post
Share on other sites

udah aku matiin cache-nya....aku buat page baru...judul ada tapi pas dilihat diweb kok blank....knapa ya suhu? tolong bantuan lagi

Share this post


Link to post
Share on other sites

mau nanya donk..sama kaya yg di atas ane...

 

kalo kita pake katalog mode itu kan harga nya g muncull..

 

nah yang ane mau tanya gmana cara pake katalog mode..tapi harga produk juga muncul..kecuali modul blanja yg lain..

 

jd ane cuma pengen ada produk ma harga aja..

 

thx be4

Share this post


Link to post
Share on other sites

Hi, steve87..

 

Anda harusi modifikasi kalau mau menampilkan harga di Catalog Mode.

1. product-list.tpl sekitar line 41

 

{if (!$PS_CATALOG_MODE AND ((isset($product.show_price) && $product.show_price) || (isset($product.available_for_order) && $product.available_for_order)))}
<div>
 {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}
 {if isset($product.available_for_order) && $product.available_for_order && !isset($restricted_country_mode)}<span class="availability">{if ($product.allow_oosp || $product.quantity > 0)}{l s='Available'}{elseif (isset($product.quantity_all_versions) && $product.quantity_all_versions > 0)}{l s='Product available with different options'}{else}{l s='Out of stock'}{/if}</span>{/if}
</div>
{/if}

 

menjadi:

 

<div>
 {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}
{if (!$PS_CATALOG_MODE AND ((isset($product.show_price) && $product.show_price) || (isset($product.available_for_order) && $product.available_for_order)))}
 {if isset($product.available_for_order) && $product.available_for_order && !isset($restricted_country_mode)}<span class="availability">{if ($product.allow_oosp || $product.quantity > 0)}{l s='Available'}{elseif (isset($product.quantity_all_versions) && $product.quantity_all_versions > 0)}{l s='Product available with different options'}{else}{l s='Out of stock'}{/if}</span>{/if}
{/if}
</div>

 

2. product.tpl, sekitar line 236

 

  <!-- prices -->
  {if $product->show_price AND !isset($restricted_country_mode) AND !$PS_CATALOG_MODE}

 

menjadi:

 

  <!-- prices -->
  {if $product->show_price AND !isset($restricted_country_mode)}

Edited by Zaid (see edit history)

Share this post


Link to post
Share on other sites

Jika Anda mengaktifkan fitur Product Compare maka anda juga harus melakukan modifikasi di products-comparison.tpl sekitar line 50:

 

   {if isset($product->show_price) && $product->show_price && !isset($restricted_country_mode) && !$PS_CATALOG_MODE}
 <p class="price_container"><span class="price">{convertPrice price=$product->getPrice($taxes_behavior)}</span></p>
 <div class="product_discount">
 {if $product->on_sale}
  <span class="on_sale">{l s='On sale!'}</span>
 {elseif $product->specificPrice AND $product->specificPrice.reduction}
  <span class="discount">{l s='Reduced price!'}</span>
 {/if}
 </div>
 {if !empty($product->unity) && $product->unit_price_ratio > 0.000000}
	  {math equation="pprice / punit_price"  pprice=$product->getPrice($taxes_behavior)  punit_price=$product->unit_price_ratio assign=unit_price}
  <p class="comparison_unit_price">{convertPrice price=$unit_price} {l s='per'} {$product->unity|escape:'htmlall':'UTF-8'}</p>
 {else}

 {/if}
   {/if}

 

Menjadi:

 

 <p class="price_container"><span class="price">{convertPrice price=$product->getPrice($taxes_behavior)}</span></p>
   {if isset($product->show_price) && $product->show_price && !isset($restricted_country_mode) && !$PS_CATALOG_MODE}
 <div class="product_discount">
 {if $product->on_sale}
  <span class="on_sale">{l s='On sale!'}</span>
 {elseif $product->specificPrice AND $product->specificPrice.reduction}
  <span class="discount">{l s='Reduced price!'}</span>
 {/if}
 </div>
 {if !empty($product->unity) && $product->unit_price_ratio > 0.000000}
	  {math equation="pprice / punit_price"  pprice=$product->getPrice($taxes_behavior)  punit_price=$product->unit_price_ratio assign=unit_price}
  <p class="comparison_unit_price">{convertPrice price=$unit_price} {l s='per'} {$product->unity|escape:'htmlall':'UTF-8'}</p>
 {else}

 {/if}
   {/if}

Share this post


Link to post
Share on other sites

udah ane coba..dan ikutin sperti yg agan Zaid bilang..tapi koq msh gak muncul yah harganya??

Share this post


Link to post
Share on other sites

udah ane coba..dan ikutin sperti yg agan Zaid bilang..tapi koq msh gak muncul yah harganya??

 

Setiap perubahan file template (.tpl) membutuhkan re-compile smarty. Coba aktifkan 'force compile' smarty (Back Office > Preference > Performance)

Share this post


Link to post
Share on other sites

 

Setiap perubahan file template (.tpl) membutuhkan re-compile smarty. Coba aktifkan 'force compile' smarty (Back Office > Preference > Performance)

 

 

Setiap perubahan file template (.tpl) membutuhkan re-compile smarty. Coba aktifkan 'force compile' smarty (Back Office > Preference > Performance)

 

 

Setiap perubahan file template (.tpl) membutuhkan re-compile smarty. Coba aktifkan 'force compile' smarty (Back Office > Preference > Performance)

saya coba dulu ya mas... :-D

Share this post


Link to post
Share on other sites

sudah saya aktivkan mas zaid..

tapi koq masih gak keluar yah harganya??

 

 

atau ada cara lain..misalnya saya pake versi biasa..cuma saya mau hapus tombol add to card atau tombol beli itu gmana mas??thx be4

Share this post


Link to post
Share on other sites

Saya udah edit postingan sebelumnya (#12), sudah saya cek di localhost dan berhasil.

 

Kalau anda ingin menghilangkan tombol add to cart, coba comment out / delete product.tpl sekitar line 364

<p{if (!$allow_oosp && $product->quantity <= 0) OR !$product->available_for_order OR (isset($restricted_country_mode) AND $restricted_country_mode) OR $PS_CATALOG_MODE} style="display: none;"{/if} id="add_to_cart" class="buttons_bottom_block"><input type="submit" name="Submit" value="{l s='Add to cart'}" class="exclusive" /></p>

 

Menjadi

{* <p{if (!$allow_oosp && $product->quantity <= 0) OR !$product->available_for_order OR (isset($restricted_country_mode) AND $restricted_country_mode) OR $PS_CATALOG_MODE} style="display: none;"{/if} id="add_to_cart" class="buttons_bottom_block"><input type="submit" name="Submit" value="{l s='Add to cart'}" class="exclusive" /></p> *}

Share this post


Link to post
Share on other sites

loh koq itu product.tpl nya jd dikit gitu mas yang di edit??

 

saya sudah ikutin lagi kaya gitu..tapi koq g ada perubahan yah mas??

 

harganya tetep g muncull.. apa karena versi prestashop nya beda??

 

saya pake versi 1.4.6.2 saya pake mode catalog

Share this post


Link to post
Share on other sites

sipp mas...makasih..udah bisa mas..

 

tinggal ilangin tulisan sudah termasuk pajak itu gmana yah mas??

 

sblumnya saya ucapin makasih bgt mas..hehehe..

Share this post


Link to post
Share on other sites

Coba Opsi pajak di disable aja (Back Office > Payment > Taxes)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More