danny_dh83 Posted October 30, 2012 Share Posted October 30, 2012 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 Link to comment Share on other sites More sharing options...
EngkusKusnadi Posted October 30, 2012 Share Posted October 30, 2012 Mungkin diaktifin ajah di Back Office "Catalog Mode" jadi ntar tombol buy dan elemen block yang lain otomatis hilang gan. Link to comment Share on other sites More sharing options...
danny_dh83 Posted October 31, 2012 Author Share Posted October 31, 2012 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 Link to comment Share on other sites More sharing options...
gonebdg - webindoshop.com Posted October 31, 2012 Share Posted October 31, 2012 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 More sharing options...
EngkusKusnadi Posted October 31, 2012 Share Posted October 31, 2012 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.. Link to comment Share on other sites More sharing options...
danny_dh83 Posted October 31, 2012 Author Share Posted October 31, 2012 (edited) 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 October 31, 2012 by danny_dh83 (see edit history) Link to comment Share on other sites More sharing options...
EngkusKusnadi Posted October 31, 2012 Share Posted October 31, 2012 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.. 1 Link to comment Share on other sites More sharing options...
danny_dh83 Posted October 31, 2012 Author Share Posted October 31, 2012 Okey, thanks pak atas info nya Link to comment Share on other sites More sharing options...
EngkusKusnadi Posted October 31, 2012 Share Posted October 31, 2012 Okay Gan, sipsip masama.. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now