Post by vaanbooch » Thu Dec 08, 2011 8:50 pm

Hi,

I'm trying to move the cart to the right column. I've moved the following code from header.tpl to column_right.tpl

Code: Select all

<div id="cart">
    <div class="heading">
      <h4><?php echo $text_cart; ?></h4>
      <a><span id="cart_total"><?php echo $text_items; ?></span></a></div>
    <div class="content"></div>
  </div>
... but I've got this error:

Notice: Undefined variable: text_cart in ..../my_template/template/common/column_right.tpl on line 3
Notice: Undefined variable: text_items in ..../my_template/template/common/column_right.tpl on line 4

As far as I can see $text_cart and $text_items are not passed to the .tpl.

That to do?

Thank you in advance.

Be Easy Web Design


Newbie

Posts

Joined
Thu Dec 08, 2011 8:34 pm

Post by uksitebuilder » Fri Dec 09, 2011 3:07 am

there is a free extension to do this.

ImageImageImageImage

For Friendly Professional Support - Click Here


User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by vaanbooch » Fri Dec 09, 2011 6:03 am

Yes, I found it - http://www.opencart.com/index.php?route ... on_id=2184 .

Thanks, I'll try it :-)

Be Easy Web Design


Newbie

Posts

Joined
Thu Dec 08, 2011 8:34 pm

Post by permanenttick » Tue Dec 13, 2011 11:25 pm

I tried to install this module but not same common.js file 1.5.1.3 v with readme file explaination.

So how can we do 1.5.1.3v

Newbie

Posts

Joined
Tue Nov 29, 2011 11:21 am
Who is online

Users browsing this forum: No registered users and 7 guests