Jump to content

Wrong content of return_slip.html


Ale_BB

Recommended Posts

Hello everyone,

I have a strange issue I can't solve by myself, regarding the return_slip.html mail

I have modified it some months ago when the website was in development, adding a link inside it that easily brings you to the rma panel in PrestaShop just with one click, great thing to improve the usability and smoother the workflow.

Now that the website is live and running for the customers, when they submit and rma, we receive the email with the developing link (wrong one) and when I try to change it in the path   /themes/myChildTheme/mails/it   the email contains the right button link, but the email itself is written in english while it's in the italian language folder. Plus, in the english email folder "en" there's no return_slip.html. Same happens in the regular "Theme" folder (the one from which I made the child theme), while in the "classic" theme there's no return_slip.html at all, both italian and english.

I'm not sure if I am missing something or this is some kind of bug, but I could really use some help 😅

Thank you!

Link to comment
Share on other sites

Sorry, I didn't specify it, but I have already checked it and there's no evidence of that link in the txt version. My modification has been done on the html file some time ago with the temporary link and then switched to the correct one recently (and it appears on the html), but the mail that comes out still have the old version.

I was thinking, could it be some kind of "cache" provoking this behaviour?

Link to comment
Share on other sites

The one I was used to modify was the mail folder of my child theme. I have also checked the parent theme folder (the theme I bought) but there's no return_slip.html or txt at all. Same thing for the classic PS theme.

I wonder where PrestaShop is taking that wrong template it keeps using 🤷‍♂️

Edited by Ale_BB
Misprint (see edit history)
Link to comment
Share on other sites

The cache was already deactivated (I'm working on a development website that is a copy of the live version), but I cleaned it anyway: no results. The "correct" file is still in the mail folder, but when I return an object, I still receive the old one.

Link to comment
Share on other sites

I SOLVED the problem by myself!

Basically, those emails I was checking weren't working because there was a module that was overriding them, the ps_emailalerts. It has the email templates in the child theme folder. I edited them and everything worked fine!

I hope it could help someone else with my same problem.

  • Like 1
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...