Jump to content

Bagaimana cara menghilangkan My Account dari sitemap?


danny_dh83

Recommended Posts

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>

 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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&id_product={$product.id_product}&token={$static_token}&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&id_product={$product.id_product|intval}&token={$static_token}", false)}" title="{l s='Add to cart'}"><span></span>{l s='Add to cart'}</a>

*}

 

Kurang lebih begitu gan.. :D

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...