Support » Plugin: WooCommerce PDF Invoices & Packing Slips » Packing slip with address sticker

  • Resolved gerske


    Hoi Ewout,

    I’d like to print A4 packing slips with an address sticker on it. [ redundant link removed ]. Seems very handy.

    The sticker is located here:
    Label size: 87mm wide, 57mm deep
    Label position: 20mm from foot, 23mm from left

    To get this done I guess I would need to copy the packing-slip.php and change the php slightly to get an extra address field at the location of the sticker. Any suggestion to get the address field correctly placed? Or should I just use trial and error?

    Kind regards, Gerson

    • This topic was modified 3 months, 3 weeks ago by Jan Dembowski.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Ewout


    Hello Gerson,
    Creating a custom template is indeed the way to go here.
    Because the contents of the packing slip can change, I would recommend rotating the sticker sheet 180 degrees so that instead of at the left bottom, the address is on the right top. You could replace your store address that is printed there in the Simple template with the shipping address for example, which would be a relatively simple change. You could either use position:absolute in your CSS to precisely position the address field (relative to page margins, you can also use negative distances, and units in mm are accepted too). Or simply adjust the margins relative to that table cell (again, you can use negative values here).

    Good luck!

    Great, thank you for the help, Ewout. Very good suggestions.

    Love your plugin, we use it over a year now to automatically send PDF invoices to customers. Works flawless!

    Kind regards,

    • This reply was modified 3 months, 3 weeks ago by gerske.
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.