- Posts: 259
- Thank you received: 22
Include shipping method in Email subject line
- rodfarrell
-
Topic Author
- Offline
Less
More
3 years 1 month ago #355778
by rodfarrell
Include shipping method in Email subject line was created by rodfarrell
I have a client that offers priority handling and shipping as a shipping method. As Order administrator notification emails come in they want to see in the subject line any that have paid for this priority handling and shipping. Is there any way to include this information in the subject line?
Please Log in or Create an account to join the conversation.
3 years 1 month ago #355784
by nicolas
Replied by nicolas on topic Include shipping method in Email subject line
Hi,
No. It is possible to use tags like {order_shipping_id} to get the id of the shipping method in the subject. But the name of the shipping method is calculated dynamically and it is not available in the tags that can be used in the subject.
One option would be to have a custom "order" field. And configure a mass action to set the custom field value based on the id of the shipping method of the order with a trigger "after an order is updated", and an action "update the values" on the column of the custom field. That way, you could then use the tag of the custom field {xxx} where xxx is the column name of the custom field in the subject of the email.
No. It is possible to use tags like {order_shipping_id} to get the id of the shipping method in the subject. But the name of the shipping method is calculated dynamically and it is not available in the tags that can be used in the subject.
One option would be to have a custom "order" field. And configure a mass action to set the custom field value based on the id of the shipping method of the order with a trigger "after an order is updated", and an action "update the values" on the column of the custom field. That way, you could then use the tag of the custom field {xxx} where xxx is the column name of the custom field in the subject of the email.
Please Log in or Create an account to join the conversation.
- rodfarrell
-
Topic Author
- Offline
Less
More
- Posts: 259
- Thank you received: 22
3 years 4 weeks ago #355817
by rodfarrell
Replied by rodfarrell on topic Include shipping method in Email subject line
Hi Nicolas,
Thanks, that is perfect other than I used "After order is created".
Thanks, that is perfect other than I used "After order is created".
Please Log in or Create an account to join the conversation.
- rodfarrell
-
Topic Author
- Offline
Less
More
- Posts: 259
- Thank you received: 22
3 years 3 weeks ago #355887
by rodfarrell
Replied by rodfarrell on topic Include shipping method in Email subject line
As an addition to this, can the customer name be added to the email heading?
Please Log in or Create an account to join the conversation.
3 years 3 weeks ago #355889
by nicolas
Replied by nicolas on topic Include shipping method in Email subject line
Hi,
Yes, this is possible with the tag {customer.name} (which will be the name of the joomla user account.
Or with the tags {billing_address.address_firstname} and {billing_address.address_lastname} if you want to use the fields from the billing address
Yes, this is possible with the tag {customer.name} (which will be the name of the joomla user account.
Or with the tags {billing_address.address_firstname} and {billing_address.address_lastname} if you want to use the fields from the billing address
Please Log in or Create an account to join the conversation.
- rodfarrell
-
Topic Author
- Offline
Less
More
- Posts: 259
- Thank you received: 22
3 years 3 weeks ago #355922
by rodfarrell
Replied by rodfarrell on topic Include shipping method in Email subject line
Thanks,
The name from the billing address probably works best as there are a lot of guest shoppers.
The name from the billing address probably works best as there are a lot of guest shoppers.
Please Log in or Create an account to join the conversation.
Time to create page: 0.053 seconds