Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
  • #17432


    so I have everything working on my site currently. Recently I have got some orders and wanted to print invoices for the orders and found that there is such option on WooCommerce for some odd reason so I found a plugin to add this option for me:

    It all installed fine but when I go to print a invoice and preview it, there is nothing listed in the table contents that should list the items that have been ordered… Preview screen shot below:


    I contacted the plugin support direct and was told to debug so I did and got the following errors:

    Notice: get_theme_data is deprecated since version 3.4! Use wp_get_theme() instead. in /home4/designmy/public_html/wp-includes/functions.php on line 2628

    Warning: Cannot modify header information – headers already sent by (output started at /home4/designmy/public_html/wp-includes/functions.php:2628) in /home4/designmy/public_html/wp-includes/pluggable.php on line 881

    I was told:

    “search in your theme for get_theme_data and you may find the problem. you can ignore the modify header message. good luck!”

    so I went to line 2628 on functions.php and couldn’t find any line get_theme_data to change to wp_get_theme()… During some further researching I was told that it would be best to contat the theme authors for support as they would be able to help resolve that issue that will hopefully resolve my invoice issue.

    Any help would be greatly appreciated. Sorry for the long winded post.




    I reported it to Kriesi. This code can be found in abundanceframeworkphpinc-autoconfig.php (around line 44). He needs to update the framework files a bit (see: )


    Just to make sure: are you using the latest version (1.5) of the theme? We have replaced the get_theme_data call with wp_get_theme some time ago…

    The code mentioned by dude in abundanceframeworkphpinc-autoconfig.php (around line 44) should only be executed if wp_get_theme in line 35 doesnt exist…


    I am currently using version 1.3.1. Annoyingly for some reason (and don’t ask why, I’m an idiot) I didn’t use the custom CSS so any changes I have made to the theme have been via the style.css so I can’t really upgrade the theme without there being a mess to clean up.

    So I should be able to execute it as I assume it doesn’t exist because of my version?

    Thanks for both responses as well, much appreciated. I shall update the thread when I make the change and see if it works OK.


    OK yeah because framework files need updating is there anyway around not updating the theme completly to mess up my customisation changes but still being able to sort out this get_theme_data problem? What a mess :( changing it to wp_get_theme obviously made the website go mental and it just changed to a default theme style got rid of all content, I obviously changed back straight away.



    You just need to replace the framework folder. The stylesheets, etc. aren’t affected.

    Best regards,



    Hi, I’m not sure if this is the right place to ask this question, but here it goes:

    I’m using Abundance theme+woocommerce+woocommerce delivery notes, and I really need to add some things to the invoice template as Customer ID, invoice number, and at the detailed order table, if it’s possible, I need to add two new column, nº of items and price per unit.

    I would need to make font size smaller too…

    Thank you in advance!!


    Sorry, nº of items is already there, so… jus need to add one column!



    I’m sorry but you need to hire a freelancer for this task. The print invoice plugin has nothing to do with the theme and this is beyond the scope of our support forum.

    Best regards,



    ok, thank you!

Viewing 10 posts - 1 through 10 (of 10 total)

The topic ‘WooCommerce Invoice problem’ is closed to new replies.