I'm wanting to add a few data fields to my picking slips, can anyone give me a hand adding the fields "[@shipping_total@]" and [@sales_agent@] to the picking template?
Thanks in advance,
Andrew
You'll need some basic HTML knowledge to edit the templates, but otherwise it's pretty easy.
You can access the pick slip template under:
All Settings & Tools > Document Templates
Print Templates/order/pickslip/template.html
Make sure you back up the file before making any changes! You can just copy/paste the content into Notepad and save it as a text file somewhere safe.
Try adding in your fields where you want them. [@shipping_total@] should work, I'm not sure about [@sales_agent@]. If it doesn't show anything just let me know and I'll give you alternate code.
Sadly, that's the issue the 2 fields don't display when used in the picking slips. If you have an alternate code that would be great.
You can use [%show_order%] to access fields that aren't available by default in pick slips. So just wrap one or both sections like this:
[%show_order id:'[@order_id@]';%]
[%param *header%]
[@shipping_total@]
[@sales_agent@]
[%/param%]
[%/show_order%]
Full docs are here:
https://developers.maropost.com/documentation/neto-designer-documentation/b-se-tag-library/function-tags/orders/show_order/
That's awesome Erik thanks for your help, the only thing is that [@sales_agent@] displays the account manager rather than the transaction's salesperson. I can't seem to find another data field that could be an alternative. Any suggestions?
Unfortunately it looks impossible. I've checked every field in [%show_order%] and the pick slip's built-in fields. Bit annoying.