v1.6-v1.7 Prestashop Minimalist Pro - Email templates

12345

New member
XNullUser
Joined
Jul 17, 2022
Messages
29
Reaction score
0
Points
1
NullCash
3
A little trick to make your life easy...

One think that's always annoy me, is the copyright/advertisment mention at the footer of each email.

This is how to remove properly the Ecommerce software by Prestashop at the bottom of the pages, once and for all! :geek:

Go to themes\classic\templates\_partial and open the file footer.tpl with NotePad++

At the end of the footer.tpl (around line 44) you will see this block:

Code:
<div class="row">
      <div class="col-md-12">
        <p class="text-sm-center">
          {block name='copyright_link'}
            <a class="_blank" href="http://www.prestashop.com" target="_blank">
                 {l s='%copyright% %year% - Ecommerce software by %prestashop%' sprintf=['%prestashop%' => 'PrestaShop™', '%year%' => 'Y'|date, '%copyright%' => '©'] d='Shop.Theme.Global'}
            </a>
          {/block}
        </p>
      </div>
</div>

Did you notice, the 4 Prestashop?
Just replace them by the name of your website, like this:

Code:
  <a class="_blank" href="http://www.MYWEBSITE.com" target="_blank">
     {l s='%copyright% %year% - Ecommerce software by %MYWEBSITE%' sprintf=['%MYWEBSITE%' => 'MYWEBSITE™', '%year%' => 'Y'|date, '%copyright%' => '©'] d='Shop.Theme.Global'}
</a>

Save your file, and it's done. It was simple, no?

Now ALL (did you notice the caps?) yours mails will have your website copyright mention instead of the Prestashop copyright mention :cool:

Of course you can replace this copyright part by anything else, like this for exemple:

Code:
<div class="row">
      <div class="col-md-12">
        <p class="text-sm-center">
          Please do not reply to this email from your email, as messages received at this email address are not read. For a quick response to your question, sign in to your account and click on the 'Contact Us' link (at the bottom of any page).
        </p>
      </div>
</div>

... or any special announcement (closed dates for holidays or inventary, publicity, etc...)

Enjoy ;)

Note: if you don't create a mails folder in your /themes/name-of-the-theme folder, don't forget to keep a copy from your modification, without that, your modification will be remplaced by the original fine each time you will upgrade Prestashop.
Thanks! i usually use notepad ++ and replace all files on emails like that
 

vra1974

Member
XNullUser
Joined
May 19, 2020
Messages
132
Reaction score
11
Points
18
NullCash
3
A little trick to make your life easy...

One think that's always annoy me, is the copyright/advertisment mention at the footer of each email.

This is how to remove properly the Ecommerce software by Prestashop at the bottom of the pages, once and for all! :geek:

Go to themes\classic\templates\_partial and open the file footer.tpl with NotePad++

At the end of the footer.tpl (around line 44) you will see this block:

Code:
<div class="row">
      <div class="col-md-12">
        <p class="text-sm-center">
          {block name='copyright_link'}
            <a class="_blank" href="http://www.prestashop.com" target="_blank">
                 {l s='%copyright% %year% - Ecommerce software by %prestashop%' sprintf=['%prestashop%' => 'PrestaShop™', '%year%' => 'Y'|date, '%copyright%' => '©'] d='Shop.Theme.Global'}
            </a>
          {/block}
        </p>
      </div>
</div>

Did you notice, the 4 Prestashop?
Just replace them by the name of your website, like this:

Code:
  <a class="_blank" href="http://www.MYWEBSITE.com" target="_blank">
     {l s='%copyright% %year% - Ecommerce software by %MYWEBSITE%' sprintf=['%MYWEBSITE%' => 'MYWEBSITE™', '%year%' => 'Y'|date, '%copyright%' => '©'] d='Shop.Theme.Global'}
</a>

Save your file, and it's done. It was simple, no?

Now ALL (did you notice the caps?) yours mails will have your website copyright mention instead of the Prestashop copyright mention :cool:

Of course you can replace this copyright part by anything else, like this for exemple:

Code:
<div class="row">
      <div class="col-md-12">
        <p class="text-sm-center">
          Please do not reply to this email from your email, as messages received at this email address are not read. For a quick response to your question, sign in to your account and click on the 'Contact Us' link (at the bottom of any page).
        </p>
      </div>
</div>

... or any special announcement (closed dates for holidays or inventary, publicity, etc...)

Enjoy ;)

Note: if you don't create a mails folder in your /themes/name-of-the-theme folder, don't forget to keep a copy from your modification, without that, your modification will be remplaced by the original fine each time you will upgrade Prestashop.
Wow, thanks!!!! Really usefull tip. And Still works!
 

moonia

Member
XNullUser
Joined
Sep 18, 2022
Messages
330
Reaction score
0
Points
16
NullCash
27
I think best or most beautiful and simple email template, thanks!
 

woland

Member
XNullUser
Joined
Sep 7, 2021
Messages
162
Reaction score
0
Points
16
NullCash
11
Thanks for sharing module !!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 
Top