IF PO BOX print on template
What code can we use in a packing slip or invoice template that would print BOX in big bold letters on a packing slip or invoice so my staff knows that they have to send the package using USPS and cannot use FedEx.
My pseudocode would be something like
if addressline1 contains 'box', then <h1>BOX</h1>
Or is there a better way to do this? Maybe prevent a service from being used if the word BOX appears anywhere in the address line.
-
Hey Kenneth-
Thank you for reaching out! There are a couple ways we can set up something like that and you are on the right track. We could set up an if statement in your packing slip/invoice to make the text appear larger. It would look something like the code below:
<xsl:if test="contains(Text, 'BOX')">
<h1>BOX</h1>
</xsl:if>We also have the option of setting up shipping rules to do this. It can be when an an address line contains the word box we can tell ShipWorks to assign it to a certain provider automatically or something similar.
I have opened up a ticket for us to further communicate and help get this set up on your system!
Talk with you soon!
Emily Graves
ShipWorks | Technical Support
One Memorial Drive, 20th Floor, St. Louis, MO 63102
Shipworks.com | facebook | twitter | 800-952-7784
Please sign in to leave a comment.
Comments
2 comments