WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
Add SKU to invoice - PDF Invoices and Packing Lists (2 posts)

  1. wabwab
    Member
    Posted 10 months ago #

    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/

  2. jimlongo
    Member
    Posted 10 months ago #

    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.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.