Have a look at "catalog/view/theme/default/template/mail/order.tpl", line 174.
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!
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:
Change to:
In catalog/language/english/mail/order.php ~line 29
Look for:
Code: Select all
$_['text_new_powered'] = 'Powered by %s';
Code: Select all
$_['text_new_powered'] = 'Thanks for shopping with us online!';
Cheers, Sam
<p><?php echo $text_powered; ?></p> this is the only thing i found ? and wondering how can i change this ?
Hey bikermunda,bikermunda wrote:<p><?php echo $text_powered; ?></p> this is the only thing i found ? and wondering how can i change this ?
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>
Code: Select all
<p>Thank you for shopping with us!</p>
Cheers, Sam
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?
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...
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
~
in catalog/view/theme/default/template/mail/order.tpl its and in language file order.php its
i mean how this is working ? $text_powered and $text_new_powered are two different variables right?
Code: Select all
$text_powered
Code: Select all
$_['text_new_powered'] = 'Powered By <a href="http://www.opencart.com">chetan</a>.';
Who is online
Users browsing this forum: Amazon [Bot] and 78 guests