Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please consider adding Pre/Post formatting options for track_message text for emails, even if just basic html tags. #46

Closed
abclution opened this issue Aug 19, 2019 · 2 comments

Comments

@abclution
Copy link

abclution commented Aug 19, 2019

The tracking message inserted into the emails when sent to clients should be customizable to stand out more for readability.

The way the code is currently setup, the only way I can change text format for the aftership strings is by editing the aftership.php

Having an formatting option (Pre / Post) for each track_message would be super helpful. Even if just to be able to put

<h1></h1>

$track_message_1 = $options['track_message_1'];
$track_message_2 = $options['track_message_2'];
.................
echo $track_message_1 . $values['aftership_tracking_provider_name'] . '
' . $track_message_2 . $values['aftership_tracking_number'] . $required_fields_msg;

@yangyao
Copy link
Contributor

yangyao commented Aug 20, 2019

The tracking message inserted into the emails when sent to clients should be customizable to stand out more for readability.

The way the code is currently setup, the only way I can change text format for the aftership strings is by editing the aftership.php

Having an formatting option (Pre / Post) for each track_message would be super helpful. Even if just to be able to put

$track_message_1 = $options['track_message_1'];
$track_message_2 = $options['track_message_2'];
.................
echo $track_message_1 . $values['aftership_tracking_provider_name'] . '
' . $track_message_2 . $values['aftership_tracking_number'] . $required_fields_msg;

Thanks for your suggestion, we will consider adding this feature.

@Voidmine
Copy link

Voidmine commented Nov 23, 2019

It would be nice to be able to wrap the variables too, so we could make the tracking number a link to our branded aftership tracking page.

@Voidmine Voidmine mentioned this issue Nov 25, 2019
@yangyao yangyao closed this as completed Jul 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants