| View previous topic :: View next topic |
| Author |
Message |
webtree
Joined: 13 Aug 2005 Posts: 12
|
Posted: Wed Nov 09, 2005 9:49 am Post subject: Xsl code for payment type |
|
|
We need to have the payment type printed out on our invoice templete could you give us the code to do this
Thanks sooo much :)
Sue :D |
|
| Back to top |
|
Brian ShipWorks Staff
Joined: 30 Jul 2004 Posts: 3608
|
Posted: Wed Nov 09, 2005 7:18 pm Post subject: |
|
|
Are you wanting to just display like "Credit Card" vs. "Check".
What cart are you using, and what version of ShipWorks?
Thanks,
Brian |
|
| Back to top |
|
webtree
Joined: 13 Aug 2005 Posts: 12
|
Posted: Wed Nov 09, 2005 7:21 pm Post subject: code to display payment type |
|
|
Hi,
All we need to know is if they paid by check, paypal, or credit card it does not have to say what type of credit card.
Thanks,
Sue |
|
| Back to top |
|
Brian ShipWorks Staff
Joined: 30 Jul 2004 Posts: 3608
|
Posted: Wed Nov 09, 2005 7:24 pm Post subject: |
|
|
The code for that does depend on the cart you are using and if you are using ShipWorks 2.1 or higher.
Thanks,
Brian |
|
| Back to top |
|
webtree
Joined: 13 Aug 2005 Posts: 12
|
Posted: Wed Nov 09, 2005 7:26 pm Post subject: code for payment type |
|
|
we have the newest version of shipworks, and use yahoo
to process our orders
thanks,
Sue |
|
| Back to top |
|
Brian ShipWorks Staff
Joined: 30 Jul 2004 Posts: 3608
|
Posted: Wed Nov 09, 2005 7:33 pm Post subject: |
|
|
Depending on what template you are using, and where you will be adding the code, it will be something like:
| Code: | <xsl:value-of select="Payment/Detail[Label='XYZ']/Value" />
|
And XYZ is the name of the payment detail you want to display. To determine this name, look in the Payments panel for the name that the payment type is displayed as.
Thanks,
Brian |
|
| Back to top |
|
webtree
Joined: 13 Aug 2005 Posts: 12
|
Posted: Wed Nov 09, 2005 7:36 pm Post subject: Code |
|
|
Great,
Thanks |
|
| Back to top |
|
webrabb
Joined: 05 Oct 2004 Posts: 20
|
Posted: Wed Feb 22, 2006 8:05 am Post subject: |
|
|
And the same code for MIVA?
 |
|
| Back to top |
|
Brian ShipWorks Staff
Joined: 30 Jul 2004 Posts: 3608
|
Posted: Wed Feb 22, 2006 7:27 pm Post subject: |
|
|
Yes, should be. Whatever the label is in the Payment Details panel would be what you put as your XYZ.
Brian |
|
| Back to top |
|
|