Hi,
I wanted to modify the "Tomatoes has been added to your Cart" message, but cannot find the text.
I did find it in the main english.php file, modified it but the message did not change, only the original
Thank you
Has been added to your cart message
-
Omar_one
- Senior Contributor
- Posts: 677
- Joined: Fri Oct 25, 2019 5:06 pm
- Phoenix Version: v1.0.8.16
- Has thanked: 100 times
- Been thanked: 56 times
Re: Has been added to your cart message
@lambro28
in the english.php
to avoid editing core file you can copy english.php file to templates/override/includes/languages/
and edit that file,
so you will not loss you editing when you update to newer version
in the english.php
Code: Select all
const PRODUCT_ADDED = '%s has been added to your Cart';and edit that file,
so you will not loss you editing when you update to newer version
- stevang
- Member
- Posts: 21
- Joined: Thu Nov 07, 2019 11:47 pm
- Phoenix Version:
- Has thanked: 15 times
- Been thanked: 1 time
Re: Has been added to your cart message
it will replace the language file completely, not add to the original, right? just to make sure.Omar_one wrote: ↑Sun Jul 04, 2021 9:01 pm @lambro28
in the english.phpto avoid editing core file you can copy english.php file to templates/override/includes/languages/Code: Select all
const PRODUCT_ADDED = '%s has been added to your Cart';
and edit that file,
so you will not loss you editing when you update to newer version
You would have to take care that the edited file is going to be up to date with any new additions or removals in the core language file.
-
ecartz
- Core Team
- Posts: 3084
- Joined: Tue Nov 05, 2019 6:02 pm
- Phoenix Version:
- Has thanked: 4 times
- Been thanked: 208 times
Re: Has been added to your cart message
You have to do that anyway. The difference is that if you make the new file, at least any new additions or removals won't overwrite the file when you update.