Forum

Thread tagged as: Question, Problem, Shop

Shop emails - order ID and discount code

What tag do I use to output the Order ID number in confirmation emails?

Also, for some reason the discount code isn't coming through on the emails. I'm using:

<perch:shop id="discount_code" type="hidden" />
Stephen Turvey

Stephen Turvey 0 points

  • 4 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

I believe the discount code may not be being passed through to the email.

How do I pass it through? And also, how do I pass the order ID number through?

Drew McLellan

Drew McLellan 2638 points
Perch Support

You can't do it yourself - it's on our list to fix.

Understood, thanks

Damian Drozdowicz

Damian Drozdowicz 0 points
Registered Developer

Hi Drew,

I wonder if there is an update regarding custom email template variables?

This relatively small thing holded us back quite a few times.

Best regards, Damian