Jump to content
Major Bob

[Solved]Removing/editing Ecommerce software by PrestaShop™

Recommended Posts

I would like to edit the link at the bottom of the footer (© 2016 - Ecommerce software by PrestaShop™).

As much as I like to give credit to PrestaShop, it doesn't look as professional as if I put my own company information in this space. I have edited it in previous versions but can't find the correct file or translation in the back office. Can anyone tell me the correct way to change it?

Edited by Major Bob

Share this post


Link to post
Share on other sites

You need to edit the following file located in your theme folder: /templates/_partials/footer.tpl

Share this post


Link to post
Share on other sites

go to ==> modules ==> search cms block, there you can edit/remove it

 

I'm facing the same problem. Version 1.7.0.1 doesn't have cms block module. 

 

It is not possible to remove the word "Prestashop" via backend. You can only translate the the texts around it: "Ecommerce software by"

 

To customize the footer, go to:

 

/your_theme/templates/_partials/footer.tpl

 

and you will find this code:

 

{l s='%copyright% %year% - Ecommerce software by %prestashop%' sprintf=['%prestashop%' => 'PrestaShop™', '%year%' => 'Y'|date, '%copyright%' => '©'] d='Shop.Theme'}

 

 

You have 2 options now:

 

1. You can remove this whole string and simply write the text you want to display

However, if your website contains multiple languages, this text will not be possible to translate. Also every year you will have to update the year in the footer manually.

 

2. I suggest that you can only rename the word "Prestashop™" to the name of your eshop:

 

{l s='%copyright% %year% - Ecommerce software by %prestashop%' sprintf=['%prestashop%' => 'THIS IS MY ESHOP™', '%year%' => 'Y'|date, '%copyright%' => '©'] d='Shop.Theme'}

 

Now you can go to the back office:

 

Sidebar > International > Translations. Select "theme translations", your theme and desired language. On the next page, in the left column, open "Shop" tab and search for "Theme".

 

There's a small pagination at the top of the right column now, go to the second page and you will find an option to translate "Ecommerce software by".

 

By this way, you can translate the footer into all languages and it will contain the name of your eshop :)

Edited by Andrej Stas
  • Like 2

Share this post


Link to post
Share on other sites

Thank you Andrej for your correct answer and your in-depth explanation. I'm sure that it will help many people who use 1.7.  You are also correct that there is no longer a cms block module or access from the back-office to change this text.

 

I searched all of the theme files and module files to find where to make the changes but I couldn't find it without your help.

 

I didn't want the link in the text or the 'ecommerce by' text so I changed the code from this:

<p>
  <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'}
  </a>
</p>

To this:

<p style="font-size:79%;">
  {l s='%copyright% %year% - %prestashop%' sprintf=['%prestashop%' => 'My company. All rights reserved | Company info', '%year%' => 'Y'|date, '%copyright%' => '©'] d='Shop.Theme'}
</p>

This isn't as flexible as your solution for the future but it suits my site better. Besides, the translations don't work properly at the moment but that's a matter for another topic.

Share this post


Link to post
Share on other sites

The contents of s= should remain unchanged as this is defining the translation source tag.  Removing the hyperlink by either commenting out or deleting the <a> tag set, and defining the value for the %prestashop% variable are all that are required in the footer.tpl file.  The translations can be managed in the .../app/Resources/translations/[lang-code]/ShopThemeGlobal.[lang-code].xlf file.

.../themes/classic/templates/_partials/footer.tpl

<!-- <a class="_blank" href="https://prestashop.com" target="_blank"> -->
  {l s='%copyright% %year% - Ecommerce software by %prestashop%' sprintf=['%prestashop%' => 'Your Company', '%year%' => 'Y'|date, '%copyright%' => '©'] d='Shop.Theme.Global'}
<!-- </a> -->

.../app/Resources/translations/en-US/ShopThemeGlobal.en-US.xlf

<file original="themes/StarterTheme/templates/_partials/footer.tpl" source-language="en" target-language="en" datatype="plaintext">
  <body>
    <trans-unit id="7601c8e861088bd27255e18afaefab6b" approved="yes">
      <source>%copyright% %year% - Ecommerce software by %prestashop%</source>
      <target xml:lang="en">%copyright% %year% - Whatever you want to put by %prestashop%</target>
      <note>Context:
File: themes/StarterTheme/templates/_partials/footer.tpl:40</note>
    </trans-unit>
  </body>
</file>

 

Once you edit these two (or more depending on number of translations), clear the cache by deleting the contents of .../app/cache/dev/ and .../app/cache/prod/.

Share this post


Link to post
Share on other sites

Hello!!

I've changed the footer.tpl but nothing is changed....why??

Can You help me, please?

 

problem-footer.jpg

Edited by rexraul
probelm solved - I had to clear the cache

Share this post


Link to post
Share on other sites

In 1.7+ that free module is not available. So you need to do it from the code. 

Go to this file /themes/classic/templates/_partials/footer.tpl

And do it like this 

<div class="container">
  <div class="row">
    {block name='hook_footer_before'}
      {hook h='displayFooterBefore'}
    {/block}
  </div>
</div>
<div class="footer-container">
  <div class="container">
    <div class="row">
      {block name='hook_footer'}
        {hook h='displayFooter'}
      {/block}
    </div>
    <div class="row">
      {block name='hook_footer_after'}
        {hook h='displayFooterAfter'}
      {/block}
    </div>
    <div class="row">
      <div class="col-md-12">
        <p class="text-sm-center">
          {block name='copyright_link'}
            <a class="_blank" href="https://diceindiagroup.net" target="_blank">
              {l s='%copyright% 2010 - %year% - Shop by %prestashop%' sprintf=['%prestashop%' => 'DICE','%year%' => 'Y'|date, '%copyright%' => '©'] d='Shop.Theme.Global'}
            </a>
          {/block}
        </p>
      </div>
    </div>
  </div>
</div>
 

Share this post


Link to post
Share on other sites

And for checkout similarly you have to make the changes in themes/classic/templates/checkout/_partials/footer.tpl

Share this post


Link to post
Share on other sites
On 11/7/2018 at 9:44 AM, Cookie822 said:

I did both.  Used cache killer too.  Nothing changed.  Now what?

This is the solution for your problem.

726090572_ScreenShot2019-01-31at10_23_18PM.thumb.png.6557401770886794051d71a29d4ecfc9.png

Share this post


Link to post
Share on other sites
Posted (edited)

Best & simple way to solve/edit bottom link/credits [ © 2016 - Ecommerce software by PrestaShop™ ]:

1. Go to: IMPROVE > International > Translations
2. Under: Modify translations >
Type of translation: Theme Translations (select) > Select your theme: [your theme] > Select your language: [your language] > press [Modify]
3. Search for [Ecommerce software] > under [ %copyright% %year% - Ecommerce software by %prestashop% ] you can edit whatever you like. > Save

Edited by Q000

Share this post


Link to post
Share on other sites

@Q000   I love the elegance and simplicity of your solution.  Only shortcoming is the hyperlink of the text still redirects to prestashop.com :-/

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More