Jump to content

Cart title under the cart


Recommended Posts

Hi,

 

to delete the title under the cart on the home page,

you HAVE to modify the file : blockuserinfo.tpl

 

folder : MODULES/BLOCKUSERINFO

 

 

 

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

<div id="header_user">

<ul>

<li id="header_user_info">

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

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

{if $cookie->isLogged()}

<span>{$cookie->customer_firstname} {$cookie->customer_lastname}</span>

( <a href="{$link->getPageLink('index.php')}?mylogout" title="{l s='Log me out' mod='blockuserinfo'}">{l s='Log out' mod='blockuserinfo'}</a> )

{else}

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

{/if}

</li>

<li id="shopping_cart">

{if !$PS_CATALOG_MODE}

 

 

 

<!-- THIS IS THE LINE TO MODIFY */ -->

 

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

<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_no_product{if $cart_qties > 0} hidden{/if}">{l s='0' mod='blockuserinfo'}</span>

{/if}

</li>

</ul>

</div>

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

 

 

Hope this help,

webtintin

Link to comment
Share on other sites

You do not 'HAVE' to modify the file blockuserinfo.tpl at all and I am sorry to say this is bad advice.

 

This can simply be changed without resorting to modifying files and losing these changes during any future upgrade (unless of course you put the modified copy of the file in an override folder in your theme).

 

Simply go to your BO Tools>Translations>Module translations and click your language flag. Scroll down to the module:blockuserinfo and provide the text you wish to be shown in the text box opposite 'Your Shopping cart' and save.

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