Post by rbaprado » Wed Jul 15, 2015 6:58 am

I would like to include the current cart total in the top cart navigation link, so it would be somewhat like "Shopping Cart (X items, $total). I saw the $text_items in echoed in cart.tpl but I cannot echo it in header.tpl (undefined variable). Is there smething obvious that I am missing?

Thanks a lot.

Newbie

Posts

Joined
Wed Jul 15, 2015 6:53 am

Post by dswtpl » Fri Jul 17, 2015 2:58 pm

Hello rbaprado,

As I understand your issue, you need to change 2 language file :
1) catalog -> language -> english -> module -> cart.tpl
2) catalog -> language -> english -> checkout -> cart.tpl

replace with following code

Code: Select all

$_['text_items']             = 'Shopping Cart(%s item(s), %s)';
Good Luck :)

New member

Posts

Joined
Thu Feb 12, 2015 10:17 pm
Who is online

Users browsing this forum: No registered users and 7 guests