Forum

Thread tagged as: Question, Shop

Perch Shop Emails: Adding additional Info based on Payment Gateway

Hi Guys,

is it possible to have a simple if / else statement in the confirmation-email, based on the used payment-gateway? Payment-Infos for cash in advance, for example.

Thanks for your help Manuel

Manuel Hügel

Manuel Hügel 0 points

  • 4 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

I think you should have orderGateway available in the template to test for.

Yes:

<perch:if id="orderGateway" match="eq" value="manual">Cash in Advance</perch:if>

Works like a charm. Thank you, Drew!