• Resolved dav74

    (@dav74)


    Hi there,

    I need to add an order specific barcode into the packing list, which then our warehouse scans. We would normally do this by adding a line of code into the packing list template which includes the order ID, which then generates the barcode.

    The problem is it seems the custom block is not able to accept variables, so our barcode is not generated. What would be a work around on this one? Our developer thinks the variable has to be loaded directly into the packing list html? If so how do we do this? My developer told me this:

    Looking at the documentation I -believe- the html is in
    /wp-content/plugins/woocommerce-pdf-invoices-packing-slips/templates/pdf/Business
    and the variable is $this->order->id

    Any advise on how to do this would be really appreciated!

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

    (@pomegranate)

    Hi! I’m not sure I understand the question, but from your text it appears you are using the Premium Templates. Can you send us an email at support@wpovernight.com so we can help (make sure to include your license key or order number)? WordPress.org doesn’t allow us to use this forum for support for our paid products.

    The custom blocks certainly do let you insert variables so I think we should be able to make this work.

    Thanks!
    Ewout

    Thread Starter dav74

    (@dav74)

    Many thanks. Writing you an email now.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Adding a variable into the packing slip template’ is closed to new replies.