Support » Plugin: WooCommerce PDF Invoices & Packing Slips » Invoices weren’t migrated to new site

  • Resolved jimmyfortune

    (@steingoesnorth)


    I just created a new site and migrated all old content to the new one. The orders had to be imported manually because of an issue. For some reason the invoices that were already generated within the old site are not showing up. I think it’s because the orders now have new Order IDs. Is there any way I can match the old invoices with the new order IDs or is there any other way I can get the invoices back?

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

    (@pomegranate)

    Hello Jimmy,
    The order IDs themselves don’t really matter, as long as you migrate all meta data with the orders, the invoices should be there too. If you need to know specific meta keys for the invoice data, you can use:

    _wcpdf_invoice_settings
    _wcpdf_invoice_date
    _wcpdf_invoice_date_formatted
    _wcpdf_invoice_number
    _wcpdf_invoice_number_data
    _wcpdf_invoice_notes

    Hope that helps!

    Thread Starter jimmyfortune

    (@steingoesnorth)

    Thanks a lot for the prompt reply, much appreciated! I’m afraid that I’m not a developer and I don’t really get your feedback 🙂 Could you be a tad more specific, that would be awesome 🙂

    Thread Starter jimmyfortune

    (@steingoesnorth)

    The migration was done using the plugin from Webtoffee. I don’t see a column for invoice details in the csv file:

    “order_number”,”order_date”,”status”,”shipping_total”,”shipping_tax_total”,”fee_total”,”fee_tax_total”,”tax_total”,”cart_discount”,”order_discount”,”discount_total”,”order_total”,”order_currency”,”payment_method”,”shipping_method”,”customer_id”,”customer_user”,”customer_email”,”billing_first_name”,”billing_last_name”,”billing_company”,”billing_email”,”billing_phone”,”billing_address_1″,”billing_address_2″,”billing_postcode”,”billing_city”,”billing_state”,”billing_country”,”shipping_first_name”,”shipping_last_name”,”shipping_company”,”shipping_address_1″,”shipping_address_2″,”shipping_postcode”,”shipping_city”,”shipping_state”,”shipping_country”,”customer_note”,”shipping_items”,”fee_items”,”tax_items”,”coupon_items”,”refund_items”,”order_notes”,”download_permissions”,”customer_ip_address”,”paid_date”,”completed_date”,”line_item_1″,”line_item_2″,”line_item_3″,”line_item_4″,”line_item_5″,”line_item_6″,”line_item_7″,”line_item_8″,”line_item_9″,”line_item_10″,”line_item_11″,”line_item_12″,”line_item_13″

    Plugin Author Ewout

    (@pomegranate)

    This is something you’ll need to take up with WebToffee support. Those columns appear to be only holding core WooCommerce data, the invoice data is stored in so called “meta data”: additional custom fields stored in the order. If you refer WebToffee to this thread they should have enough information to help out with this. If not – they can follow up here too and we’ll do our best to help. Good luck!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Invoices weren’t migrated to new site’ is closed to new replies.