Post by bikermunda » Tue Mar 06, 2012 6:48 am

Is there a way i can remove powered by opencart in my confirmation email to the customers ?

New member

Posts

Joined
Sat Jan 28, 2012 8:58 am

Post by fido-x » Tue Mar 06, 2012 7:19 am

Have a look at "catalog/view/theme/default/template/mail/order.tpl", line 174.

Image
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Post by SamNabz » Tue Mar 06, 2012 7:44 am

You can also edit the 'powered by' message to say something like "Thank you for shopping with us" or similar if you prefer.

In catalog/language/english/mail/order.php ~line 29

Look for:

Code: Select all

$_['text_new_powered']          = 'Powered by %s';
Change to:

Code: Select all

$_['text_new_powered']          = 'Thanks for shopping with us online!';

Cheers, Sam


Active Member

Posts

Joined
Wed Jul 06, 2011 7:32 am
Location - Sydney, Australia

Post by bikermunda » Tue Mar 06, 2012 8:07 am

<p><?php echo $text_powered; ?></p> this is the only thing i found ? and wondering how can i change this ?

New member

Posts

Joined
Sat Jan 28, 2012 8:58 am

Post by SamNabz » Tue Mar 06, 2012 8:29 am

bikermunda wrote:<p><?php echo $text_powered; ?></p> this is the only thing i found ? and wondering how can i change this ?
Hey bikermunda,

As I said before, you can edit the order.php file to change what that line says - the file can be found in catalog/language/english/mail. Have a look at my previous post.

Or you could just change that line you mentioned above - example below:

Change this:

Code: Select all

<p><?php echo $text_powered; ?></p>
To this:

Code: Select all

<p>Thank you for shopping with us!</p>
Note: If you would like to just remove it and have no text at the bottom of the order confirmation email, then simply delete <p><?php echo $text_powered; ?></p>

Cheers, Sam


Active Member

Posts

Joined
Wed Jul 06, 2011 7:32 am
Location - Sydney, Australia

Post by bikermunda » Thu Mar 08, 2012 2:36 am

Thanks Much for your reply and i have made the changes :)

New member

Posts

Joined
Sat Jan 28, 2012 8:58 am

Post by MissLiss » Wed Mar 21, 2012 2:30 pm

Just curious, If I make changes to the order.tpl and move it into my template rather than default, when I upgrade this change is permanent, right? If I make changes to the order.php in the languages folder, any upgrade will overwrite this, yes?

New member

Posts

Joined
Thu Mar 08, 2012 5:33 pm

Post by MrTech » Tue Apr 10, 2012 3:10 pm

Sorry for replying late but I'll answer it in case anyone else needs the answer.

Yes but you can take it a step further and also copy the language file inside your custom folders so that when you upgrade, you still have a copy of the original file. Even better, install vqmod (free) and write a little xml file (super easy) that will do all this for you and overwrite nothing! If it breaks after an upgrade you can either fix it or remove it altogether without much hassle at all.

Hope this helps...

~
Install Extensions OR OpenCart Fast Service! PayPal Accepted
I will professionally install and configure any free or purchased theme, module or extension.

Visit http://www.mrtech.ca if you need an OpenCart webmaster
~


User avatar
Active Member

Posts

Joined
Mon Jan 09, 2012 2:39 pm
Location - Canada, Eh!

Post by ChetanCx » Mon Dec 17, 2012 11:17 pm

in catalog/view/theme/default/template/mail/order.tpl its

Code: Select all

$text_powered
and in language file order.php its

Code: Select all

$_['text_new_powered']          = 'Powered By <a href="http://www.opencart.com">chetan</a>.';
i mean how this is working ? $text_powered and $text_new_powered are two different variables right?

User avatar
Active Member

Posts

Joined
Sat Dec 08, 2012 8:12 pm
Who is online

Users browsing this forum: Amazon [Bot] and 78 guests