Publisher does not support the Fluid field type. Please do not contact asking when support will be available.
If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.
Ticket: Phrases in Cartthrob email templates
Status | Resolved |
Add-on / Version | Publisher 3.2.3 |
Severity | |
EE Version | 5.4 |
Studioweb
Mar 08, 2021I can’t get Phrase variables working for Cartthrob email templates.
I’ve triend {phrase:var_name} and {exp:publisher:var_name} without succes. The email show {phrase:email_invoice} for example.
Tips would be great!
BoldMinded (Brian)
Mar 08, 2021
I don’t have a version of Cartthrob setup, so in order for me to replicate this it could take awhile. It’ll be easier if you could share FTP and CP access again. My first guess is that they’re processing the templates themselves, which means that Publisher never gets called and doesn’t get the opportunity to create the phrases. Since this also does involve another 3rd party add-on, it could take a few days for me to look into this.
BoldMinded (Brian)
Mar 08, 2021
Same site as this ticket? https://boldminded.com/support/ticket/2260 If so I can get the FTP creds from that ticket.
Studioweb
Mar 08, 2021
Yes, the same site! Thx!
BoldMinded (Brian)
Mar 08, 2021
Can you provide some instructions on how to trigger the email sending? Is there an easy way to send a bunch of emails so I can test this?
Studioweb
Mar 08, 2021
Comment has been marked private.
BoldMinded (Brian)
Mar 08, 2021
Comment has been marked private.
Studioweb
Mar 09, 2021
I’ve added credentials in this ticket. Indeed a typo 😉
BoldMinded (Brian)
Mar 09, 2021
Comment has been marked private.
Studioweb
Mar 09, 2021
No improvement unfortunately
BoldMinded (Brian)
Mar 09, 2021
Can you send me a zip file of Cartthrob so I can look at its source? If the change I sent didn’t work I’m assuming CT is doing some custom template parsing, and Publisher never has an opportunity to create it’s phrases. If that is the case, then this isn’t an issue I can fix… it would have to be fixed by CT.
Studioweb
Mar 09, 2021
I sent you a wetransfer
BoldMinded (Brian)
Mar 09, 2021
Comment has been marked private.
Studioweb
Mar 09, 2021
It’s working now, Thanks!
BoldMinded (Brian)
Mar 09, 2021
Studioweb
Jun 10, 2021
Hi Brian,
Could you tell me how to make the Publisher function available within another addon controller (in this case also cartthrob)? I need to use the translate_phrase() function in php. Thanks a lot
BoldMinded (Brian)
Jun 10, 2021
You’ll need to require the mod.publisher.php file and call the function that way, but I don’t know if it’ll work without throwing other errors. I can’t really help with this sort of thing because it falls outside the scope of normal add-on support.