Jump to content

How to change header CART


Recommended Posts

Hi guys,

 

I have something which will not give me sleep today if I am not gonna do this.

 

It's all about header cart, normally when you add product to cart, header cart showing

you

 

4 products the amount 3 268,46 $

 

I want it to show me just like that:

 

4 products

 

I found code (I guess) in blockuserinfo.tpl

 

  <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>
  {if $cart_qties >= 0}
<span class="ajax_cart_total{if $cart_qties == 0} hidden{/if}">

 

I thought that if I am gonna add

style="display:none;"

 

It will hide it, but it doesn't work, actually even when I erase all code for this file it is still work well :) - magic

 

If someone will help me I will give him nice template I promise

Link to comment
Share on other sites

I done it before, but it didn't help.

 

But anyway I solve problem, and I know why there wasn't any changes in this module.

 

I had got the same module "blockuserinfo" in themes/mytheme/modules and I was changing

one in prestashop/modules, that's why it wasn't work.

 

Anyway thank for try.

 

I will show my new theme here.

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