• Priority: 0
  • Status: Waiting on customer
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 09.01.24, 16:06
  • Opened by: Alberto trevisiol

Ticket #25199 - Where to change the {recycled_packaging_label} value?

In the confirmation order email there is the field: “Recycled packaging: {recycled_packaging_label}”.

In this moment the value of {recycled_packaging_label} is NO, where can I change this value?

Thanking in advance for your kind support.

Best Regards.

Ezio De Bona

Attachments:

Comments

Fred 10 Jan 2024, 10:11

Hi, Alberto.
as I can see in Prestashop's code it looks like this:

'{recycled_packaging_label}' => $order->recyclable ? $this->trans('Yes', [], 'Shop.Theme.Global') : $this->trans('No', [], 'Shop.Theme.Global'),

so you can change it in translations Shop.Theme.Global

Alberto trevisiol 10 Jan 2024, 10:58

What have I to search in Translations>Theme>Global?
I didn't find anything searching :"recyclable", "trans" r any of other words

And then I havent only to translate in Italian the words "Yes" and "No" but I have to change the result No in Yes, where is set this condition?

Attachments:

Fred 10 Jan 2024, 11:01

that's not a part of the theme

Fred 10 Jan 2024, 11:10

Try to check Core translations → https://take.ms/BFyoO

Alberto trevisiol 10 Jan 2024, 11:26

Nothing found neither in core translations

As mentioned before, it is not just a question of translation but of setting

Fred 10 Jan 2024, 12:52

Honestly I have no idea where those settings are, but that’s definitely not from the theme

Fred 10 Jan 2024, 12:53

Do you want just change it to „yes”?

Alberto trevisiol 10 Jan 2024, 14:54

Yes

Fred 10 Jan 2024, 15:02

Maybe that's it → https://take.ms/426N4

Alberto trevisiol 10 Jan 2024, 16:35

Thank you very much!

Fred 10 Jan 2024, 18:15

You are welcome!