Vote for v1.5 Fixes

PrestaShop Forum: Build a free online shop. Count on the Community!

The best place in the world to ask questions about PrestaShop and get advice from our passionate community!

PrestaShop Forum: Build a free online shop. Count on the Community!

Jump to content

 
Photo

Bagaimana cara menghilangkan My Account dari sitemap?

hide my account sitemap

  • Please log in to reply
8 replies to this topic
danny_dh83

    PrestaShop Apprentice

  • Members
  • PipPip
  • 59 posts

Posted 30 October 2012 - 11:09 AM

Bagaimana cara menghilangkan My Account dari sitemap? Saya ingin membuat web dengan prestashop tapi tanpa menggunakan pendaftaran customer dan keranjang belanja. Tolong dari teman-teman semua disini karena saya masih newbie.

Thanks

EngkusKusnadi

    PrestaShop Apprentice

  • Members
  • PipPip
  • 129 posts

Posted 30 October 2012 - 01:39 PM

Mungkin diaktifin ajah di Back Office "Catalog Mode" jadi ntar tombol buy dan elemen block yang lain otomatis hilang gan. :D
Web Development | Web Freelancer
Phone : 089-869-06689
mail : engkuskusnadi90@gmail.com | website : http://engkus-kusnadi.blogspot.com

danny_dh83

    PrestaShop Apprentice

  • Members
  • PipPip
  • 59 posts

Posted 31 October 2012 - 03:04 AM

Gak bisa pak. Soalnya klo saya aktifkan katalog mode, daftar harganya pasti hilang. Dan link My account tidak bisa hilang juga. Ada saran lainnya? Thanks

gonebdg - webindoshop.com

    PrestaShop Fanatic

  • Moderators
  • 1244 posts

Posted 31 October 2012 - 03:17 AM

Anda buka dan edit file sitemap.tpl, hapus bagian (My Account) tersebut
<div class="sitemap_block">
		<h3>{l s='Your Account'}</h3>
		<ul>
			<li><a href="{$link->getPageLink('my-account', true)}">{l s='Your Account'}</a></li>
			<li><a href="{$link->getPageLink('identity', true)}">{l s='Personal information'}</a></li>
			<li><a href="{$link->getPageLink('addresses', true)}">{l s='Addresses'}</a></li>
			{if $voucherAllowed}<li><a href="{$link->getPageLink('discount', true)}">{l s='Discounts'}</a></li>{/if}
			<li><a href="{$link->getPageLink('history', true)}">{l s='Order history'}</a></li>
		</ul>
	</div>


EngkusKusnadi

    PrestaShop Apprentice

  • Members
  • PipPip
  • 129 posts

Posted 31 October 2012 - 03:20 AM

sebenernya ada beberapa cara gan buat ngehilangin "pendaftaran customer dan keranjang belanja", kalau misal catalog mode belum sesuai, coba alternatif ini.

Buat ngehilangin keranjang belanja tinggal di uninstall ajah modules block cart di BO.

Kalau ngehilangin pendaftaran Customer atau Buy Button bisa pake tag comment di .tpl nya caranya gini :

{* {$misal_ini_price} *}

kalau misal belum berhasil, coba gan di attach pengen kayak gimana tampilannyah.. :D
Web Development | Web Freelancer
Phone : 089-869-06689
mail : engkuskusnadi90@gmail.com | website : http://engkus-kusnadi.blogspot.com

danny_dh83

    PrestaShop Apprentice

  • Members
  • PipPip
  • 59 posts

Posted 31 October 2012 - 04:38 AM

Untuk menghilangkan tombol add to cart waktu melihat item nya itu di edit di file mananya pak? bagian mana yang harus saya edit?
Thanks banyak pak informasinya.

Edited by danny_dh83, 31 October 2012 - 04:59 AM.


EngkusKusnadi

    PrestaShop Apprentice

  • Members
  • PipPip
  • 129 posts

Posted 31 October 2012 - 05:14 AM

kalau misal dihalaman depan itu biasanya di folder modules/homefeatured/homefeatured.tpl ntar comment ajah :

{*

<a class="exclusive ajax_add_to_cart_button" rel="ajax_id_product_{$product.id_product}" href="{$link->getPageLink('cart')}?qty=1&amp;id_product={$product.id_product}&amp;token={$static_token}&amp;add" title="{l s='Add to cart' mod='homefeatured'}">{l s='Add to cart' mod='homefeatured'}</a>

*}

kalau di halaman product-list ada di theme/product-list.tpl, sama halnya tinggal comment ajah gan :

{*
<a class="button ajax_add_to_cart_button exclusive" rel="ajax_id_product_{$product.id_product|intval}" href="{$link->getPageLink('cart',false, NULL, "add&amp;id_product={$product.id_product|intval}&amp;token={$static_token}", false)}" title="{l s='Add to cart'}"><span></span>{l s='Add to cart'}</a>
*}

Kurang lebih begitu gan.. :D
Web Development | Web Freelancer
Phone : 089-869-06689
mail : engkuskusnadi90@gmail.com | website : http://engkus-kusnadi.blogspot.com

danny_dh83

    PrestaShop Apprentice

  • Members
  • PipPip
  • 59 posts

Posted 31 October 2012 - 05:23 AM

Okey, thanks pak atas info nya

EngkusKusnadi

    PrestaShop Apprentice

  • Members
  • PipPip
  • 129 posts

Posted 31 October 2012 - 05:26 AM

Okay Gan, sipsip masama.. :)
Web Development | Web Freelancer
Phone : 089-869-06689
mail : engkuskusnadi90@gmail.com | website : http://engkus-kusnadi.blogspot.com





Also tagged with one or more of these keywords: hide my account, sitemap

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users