WordPress.org

Support

Support » Plugins and Hacks » WooCommerce » Add SKU to invoice – PDF Invoices and Packing Lists

Add SKU to invoice – PDF Invoices and Packing Lists

  • I am trying to add the SKU to invoices (using PDF Invoices and Packing Lists)

    I can add the extra column to the invoice no problem but I can’t get it to call the products SKU to print onto the invoice.

    I’ve tried

    $product->get_sku()

    But it doesn’t display anything.

    What am I missing?

    http://wordpress.org/extend/plugins/woocommerce/

Viewing 1 replies (of 1 total)
  • That would work if you knew the product as you do on the single product page.

    You would first need to get the order contents as an array, and then
    loop through that array for each product’s sku.

Viewing 1 replies (of 1 total)
  • The topic ‘Add SKU to invoice – PDF Invoices and Packing Lists’ is closed to new replies.
Skip to toolbar