V1.7 Updating the Copyright Year in the Footer - Need Help with PrestaShop

MoonWalk

Member
XNullUser
Joined
Dec 18, 2023
Messages
40
Reaction score
0
Points
6
Location
france
NullCash
5
Title: Updating the Copyright Year in the Footer - Need Help with PrestaShop

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

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!
 

Prestagio

New member
XNullUser
Joined
Jul 15, 2021
Messages
26
Reaction score
0
Points
1
NullCash
5
I'll watch my code because PS automatically updated mine
 

Pricefee

Active member
XNullUser
Joined
Jan 20, 2020
Messages
653
Reaction score
58
Points
28
NullCash
150
that's easy
you just have to change it in the translation
 
Top