Page 1 of 1

Powered by in order confirmation email

Posted: Tue Mar 06, 2012 6:48 am
by bikermunda
Is there a way i can remove powered by opencart in my confirmation email to the customers ?

Re: Powered by in order confirmation email

Posted: Tue Mar 06, 2012 7:19 am
by fido-x
Have a look at "catalog/view/theme/default/template/mail/order.tpl", line 174.

Re: Powered by in order confirmation email

Posted: Tue Mar 06, 2012 7:44 am
by SamNabz
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!';

Re: Powered by in order confirmation email

Posted: Tue Mar 06, 2012 8:07 am
by bikermunda
<p><?php echo $text_powered; ?></p> this is the only thing i found ? and wondering how can i change this ?

Re: Powered by in order confirmation email

Posted: Tue Mar 06, 2012 8:29 am
by SamNabz
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>

Re: Powered by in order confirmation email

Posted: Thu Mar 08, 2012 2:36 am
by bikermunda
Thanks Much for your reply and i have made the changes :)

Re: Powered by in order confirmation email

Posted: Wed Mar 21, 2012 2:30 pm
by MissLiss
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?

Re: Powered by in order confirmation email

Posted: Tue Apr 10, 2012 3:10 pm
by MrTech
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...

Re: Powered by in order confirmation email

Posted: Mon Dec 17, 2012 11:17 pm
by ChetanCx
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?