Display shipping address OR billing address in template
-
Hi Ewout,
Great plugin!
I am having issues with the following:
I would like to create an if-statement within my own packing slip template, to display the shipping OR billing address. Now both are showed and if the shipping address is empty, it showws the text “N/A”. I would like to use it like this:if (!empty(shipping_address)) {
// Dipsplay shipping address
}
else {
// Display billing address
}How can I achieve this? Thanks a lot!
Danny
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Display shipping address OR billing address in template’ is closed to new replies.