Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Search
Search


Forum Index » Templates

Post new topic   Reply to topic
Putting payment info on invoice template
View previous topic :: View next topic  
Author Message
ericm



Joined: 29 May 2012
Posts: 1

PostPosted: Tue May 29, 2012 6:05 am    Post subject: Putting payment info on invoice template Reply with quote

Hi,

I'd like to add to invoice template:

Payment type (e.g., "Credit card" or "PayPal Express")
Credit card (if populated)
Credit card # (if populated)


What's the syntax to call those?

I already have that data being pulled in, as I can see it in the admin interface managing orders.

Thanks.
Back to top
View user's profile
Wes
Site Admin


Joined: 07 Oct 2002
Posts: 7427

PostPosted: Fri Jun 15, 2012 3:35 am    Post subject: Reply with quote

The format would be:

Code:
<xsl:value-of select="//Order/Payment/Detail[Label='Payment Type']/Value" />


Where the Label value (shown above as 'Payment Type') matches the label value shown by default in the left column of the Payment Detail panel next to its associated value.
_________________
Wes
ShipWorks
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic     Forum Index » Templates All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  

Powered by phpBB © 2001, 2002 phpBB Group