I have added a new "Courses" Product Type that has a field called "Course Link". The store admin can add a url to this field and we want to email the value to the customer after they purchase.
I have a Rule to fire on "Completing the checkout process" with action "Send HTML e-mail" and the email includes the token [commerce-order:commerce_line_items] This is all working except my "Course Link" field is not included in the email. I do not have a token for "Course Link" field listed to include in the email.
I do have the "Course Link" field included under "Product Types > Courses > Manage Display > Line Item". Not sure what that even does.
My question is what should I be looking at to do this.
- Try to bring it into scope in my current emailing Rule? Possibly through a Component that loops through line items and provides a value back?
- Add it in the View that drives the [commerce-order:commerce_line_items] token?
- A module like Commerce Messages or Commerce Invoice Receipt?
- Some other approach?