I am using "amount based shipping" and would like to itemize the following:
a. Sub-total (amount of all items
b. Shipping cost (amount of shipping)
c. Discount (amount discounted - I see the code for the price after discount but that inconsistent with the shopping experience and would be confusing to the user)
d. Total
I would like to list the items purchased but it looks like there is only one value. How can I iterate through the items in the order and display the following:
I am using "amount based shipping" and would like to itemize the following:
a. Sub-total (amount of all items
That will be [%total%]
b. Shipping cost (amount of shipping)
That will be [%shipping%]
c. Discount (amount discounted - I see the code for the price after discount but that inconsistent with the shopping experience and would be confusing to the user)
There is no way to display this.
d. Total
This is [%gross%]
I would like to list the items purchased but it looks like there is only one value. How can I iterate through the items in the order and display the following:
We don't get billing address in case of PayPal Standard and Google Checkout. We only get it in case of PayPal Pro and Authorize.Net and even then we only pass it on the payment processor.
Payment Method
We don't pass it as a template variable, but if you want you can use JavaScript to analyze the transaction Id to see if it was PayPal or Google (starts with gc-) or Authorize.Net (starts with au-)
For address, I only see one, buyer's address. Is this their billing address?
No, it's the shipping address and is only available in the case when the order contains at least one item with "shipping" checkbox checked in its product configuration.