Post by harap » Wed Jul 08, 2020 11:39 am

Hello,

Where can I edit the welcome email message for sending to new register and other emails?
Please advise. Thanks in advance!

Active Member

Posts

Joined
Wed Sep 16, 2015 12:34 am
Location - United States

Post by by mona » Wed Jul 08, 2020 3:55 pm

Hi

No theme version posted or theme, which is required to answer this question

Text is stored in the language files, taken by the controller and used in the tpl files
Some themes store text in the database

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


Spinning Social : Links : Menus : Payments : Socials : Ads : Screen Backgrounds : Galleries : Headers : Banners : Promos


Active Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by harap » Wed Jul 08, 2020 9:58 pm

I'm using default OC v2.2.0 theme.
Which file should I edit?
Is it possible to copy the file and place it in vqmod/vqcache (like child theme)?
Thanks!

Active Member

Posts

Joined
Wed Sep 16, 2015 12:34 am
Location - United States

Post by by mona » Wed Jul 08, 2020 11:08 pm

Thank you

All the mail text is found in

admin/language/en-gb/mail/
catalog/language/en-gb/mail/

the %s is your store name (in this case) if there are two NEVER change the order of them - that is another tutorial !

yes to is possible to copy and paste directly into vqcache, but it will be deleted when the cache refreshes.
alternatively you can learn to write simple vQmods for this

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<modification>
   <id>My Language Edits</id>
   <version>1.0</version>
   <vqmver>unknown</vqmver>
   <author>bymona</author>
   <file name="catalog/language/en-gb/mail/customer.php">
       <operation>
           <search position="replace"><![CDATA[Welcome and thank you for registering at %s!]]></search>
           <add><![CDATA[%s wishes you a warm welcome to our store, thank you for shopping with us.]]></add>
       </operation>
   </file>
   
    <file name="admin/language/en-gb/mail/customer.php">
       <operation>
           <search position="replace"><![CDATA[  --- text to change --
           ]]></search>
           <add><![CDATA[ -- new text --
           ]]></add>
       </operation>
   </file>
</modification>
save it as languagefiles.xml and upload to vqmod

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


Spinning Social : Links : Menus : Payments : Socials : Ads : Screen Backgrounds : Galleries : Headers : Banners : Promos


Active Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by harap » Thu Jul 09, 2020 12:05 am

The mail file only provides part of contents. Where is the email template for the following ? I want to make the URL link as clickable at recipient email.
---------------------------------------------------------------------------------
Welcome and thank you for registering at mysite.com!
Your account has now been created and you can log in by using your email address and password by visiting our website or at the following URL:
https://www.mysite.com/index.php?route=account/login
Upon logging in, you will be able to access other services including reviewing past orders, printing invoices and editing your account information.

Thanks,
-------------------------------------------------------------------------------

Active Member

Posts

Joined
Wed Sep 16, 2015 12:34 am
Location - United States
Who is online

Users browsing this forum: No registered users and 48 guests