Discussions
How do I change the logo on my packing slip via scripting?
Hello,
I'm a scripting newbie so I hope this is an easy question. I want to ensure that the correct logo is output on our packing slips. We directly ship product to end users on behalf of 3 companies; our own and 2 others.
I want to create a script that looks at the parent customer of the sales order and selects the correct logo based on who that customer is. (All of the orders being shipped on behalf of the other companies, have one of those companies as the parent in the parent/child hierarchy for the customer.)
Can I do this without creating 3 different customized packing slips? I think I can figure it out by creating 3 different packing slips, each specifying a different logo, but I would like to do something cleaner than that.