Post by homegrownpromos » Sat Feb 23, 2013 9:21 am

Hello. I'd like to add the text "As Low As" before my pricing on my category and product pages.

I'm a programming idiot, but I'm a kick ass direction follower!

My shop is http://www.custombandmerchshop.com if you want to check out what I have done so far.


Thanks!

Jim


Posts

Joined
Fri Jan 04, 2013 5:28 am

Post by dirtboy » Sat Feb 23, 2013 10:36 am

find this file catalog > language > english > product > product.php

find and edit this line of code

Code: Select all

$_['text_price']        = 'Price:';
change "Price" to whatever you want.

then find catalog > language > english > product > category.php

find and edit this line of code

Code: Select all

$_['text_price']        = 'Price:';
again, change price to whatever you want it to say.

“Anyone who stops learning is old, whether at twenty or eighty. Anyone who keeps learning stays young. The greatest thing in life is to keep your mind young.”
- Henry Ford


User avatar
Active Member

Posts

Joined
Wed Mar 07, 2012 3:04 pm

Post by sully210 » Wed May 08, 2013 8:09 am

What if I wanted to add a brand new piece of text that is named uniquely. I added two additional items, text_location and text_calendar. When I look at the page now it gives me this error
Notice: Undefined variable: text_calendar in /home/gooch/public_html/ccobriens/catalog/view/theme/yoosingle/template/common/footer.tpl on line 10
Where do I define the variable other than the language file?

Thanks:-)

Thank you,
Sully :)


User avatar
Active Member

Posts

Joined
Tue Jul 13, 2010 4:46 am
Location - USA

Post by dirtboy » Wed May 08, 2013 12:51 pm

find this file catalog > controller > common > footer.php

find this line of code

Code: Select all

$this->data['text_newsletter'] = $this->language->get('text_newsletter');
below it add this code

Code: Select all

$this->data['text_location'] = $this->language->get('text_location');
$this->data['text_calendar'] = $this->language->get('text_calendar');

“Anyone who stops learning is old, whether at twenty or eighty. Anyone who keeps learning stays young. The greatest thing in life is to keep your mind young.”
- Henry Ford


User avatar
Active Member

Posts

Joined
Wed Mar 07, 2012 3:04 pm

Post by sully210 » Wed May 08, 2013 9:37 pm

Thank You very much. I couldn't figure it out. :-[

Thank you,
Sully :)


User avatar
Active Member

Posts

Joined
Tue Jul 13, 2010 4:46 am
Location - USA
Who is online

Users browsing this forum: No registered users and 5 guests