Jump to content

Updating the Copyright Year in the Footer - Need Help with PrestaShop


Recommended Posts

Hello PrestaShop Community,

I'm encountering an issue with updating the copyright year in the footer of my PrestaShop site and would appreciate your help. I aim to update the year to display "2023" instead of the current year or a previous one.

I'm using the `at_movic` theme and have already tried to modify the `footer.tpl` file of this theme, but without success. Here's what I've attempted so far:

- I've searched in the `footer.tpl` file for any text or code related to the year, but I found no direct reference to a hardcoded year.
- I also tried clearing the PrestaShop cache after making changes, but the displayed year does not change.

Here is an excerpt from my `footer.tpl` file:

Path: web\themes\classic\templates\_partials\footer.tpl
Code: 

```
 {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}
```

And in the at_movic theme similarly:
Path: web\themes\classic\at_movic\templates\_partials\footer.tpl

```
{block name='hook_footer_before'}
  ...
{/block}
{block name='hook_footer'}
  ...
{/block}
{block name='hook_footer_after'}
  ...
{/block}
copy.png.51a1ea86cfaae938cb254f820c2e5318.png
```

I suspect that the year might be dynamically generated or managed by a module, but I'm not sure how to proceed to modify it.

Would you have any suggestions or advice on how to resolve this issue? Any help would be greatly appreciated.

Thank you very much for your time and assistance!

Link to comment
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
×
×
  • Create New...