Jump to content

Remove shopping cart from web


Recommended Posts

Hi.

 

I'm working on an auction site, so I would like to remove the shopping cart from the entire web.

 

I have uninstalled "Blockcart" inside modules and Top Of Pages/Header Of Pages.

 

I edited web/modules/blockuserinfo/blockuserinfo.tlp with:

 

<!-- Block user information module HEADER -->

 

<div id="header_user">

 

<ul id="header_nav">

 

<!--{if !$PS_CATALOG_MODE}

 

<li id="shopping_cart">

 

<a href="{$link->getPageLink($order_process, true)}" title="{l s='Your Shopping Cart' mod='blockuserinfo'}">{l s='Cart:' mod='blockuserinfo'}

 

<span class="ajax_cart_quantity{if $cart_qties == 0} hidden{/if}">{$cart_qties}</span>

 

<span class="ajax_cart_product_txt{if $cart_qties != 1} hidden{/if}">{l s='product' mod='blockuserinfo'}</span>

 

<span class="ajax_cart_product_txt_s{if $cart_qties < 2} hidden{/if}">{l s='products' mod='blockuserinfo'}</span>

 

<span class="ajax_cart_total{if $cart_qties == 0} hidden{/if}">

 

{if $cart_qties > 0}

 

{if $priceDisplay == 1}

 

{assign var='blockuser_cart_flag' value='Cart::BOTH_WITHOUT_SHIPPING'|constant}

 

{convertPrice price=$cart->getOrderTotal(false, $blockuser_cart_flag)}

 

{else}

 

{assign var='blockuser_cart_flag' value='Cart::BOTH_WITHOUT_SHIPPING'|constant}

 

{convertPrice price=$cart->getOrderTotal(true, $blockuser_cart_flag)}

 

{/if}

 

{/if}

 

</span>

 

<span class="ajax_cart_no_product{if $cart_qties > 0} hidden{/if}">{l s='(empty)' mod='blockuserinfo'}</span>

 

</a>

 

</li>

 

{/if}-->

 

<li id="your_account"><a href="{$link->getPageLink('my-account', true)}" title="{l s='Your Account' mod='blockuserinfo'}">{l s='Your Account' mod='blockuserinfo'}</a></li>

 

</ul>

 

<p id="header_user_info">

 

{l s='Welcome' mod='blockuserinfo'}

 

{if $logged}

 

<a href="{$link->getPageLink('my-account', true)}" class="account"><span>{$cookie->customer_firstname} {$cookie->customer_lastname}</span></a>

 

<a href="{$link->getPageLink('index', true, NULL, "mylogout")}" title="{l s='Log me out' mod='blockuserinfo'}" class="logout">{l s='Log out' mod='blockuserinfo'}</a>

 

{else}

 

<a href="{$link->getPageLink('my-account', true)}" class="login">{l s='Log in' mod='blockuserinfo'}</a>

 

{/if}

 

</p>

 

</div>

 

<!-- /Block user information module HEADER -->  

 

 

 

 

But shopping cart is still there!! What else can i do to remove it?

 

Thanks!!!

 

Prestahop 1.5

Template Home Decor Prestashop Theme - PRS030062. 

Link to comment
Share on other sites

yes, I know what you said and if you are asked to repeat then be patient....yes?

 

Your theme is displaying cart, you will need to look in (possibly) themes/yourtheme/header.tpl 

 

this is not a 'core/native' prestashop issue, but your theme..so look  there.

Link to comment
Share on other sites

??¿¿

 

Well, there is no mention of shopping cart in themes/yourtheme/header.tpl.

 

 

 

But i have found the solution: I have edited themes/mytheme/modules/blockuserinfo/blockuserinfo.tlp with the same code (my first post), and now the shopping cart is history!!

 

Solved! I hope this topic can help others facing the same problem.

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...