Support » Plugins and Hacks » Products and prices missing

Products and prices missing

  • Thanks guys for the great plug-in. Unfortunately it doesn’t work properly!
    There aren’t any items or prices showing up on the invoice.
    Strangely it works on cancelled orders only, but not on completed ones.
    Is there any work around to solve this?

    (I use the Plugin-Version 2.0.1 together with WooCommerce 2.0.9 and WP 3.5.1. My OS: Mac OS 10.8. and Firefox 20)



Viewing 8 replies - 1 through 8 (of 8 total)
  • Same here, no items or prices showing up on the invoice at all.
    As cob-web already stated, all works fine on cancelled orders, but not on completed ones. Would be great to know if this is being adressed.

    Setup: Plugin-Version 2.0.1 | WooCommerce 2.0.9 | WP 3.5.1.
    OS: Mac OS 10.6.8. No

    Same here. It was working OK last night, then suddenly today for no reason, it stopped working.

    Screenshot of PDF: http://i.imgur.com/tCtL0gw.jpg

    I’m going to dig into the code and see if I can find out what’s going on. Will post here if I find anything.

    Ok, problem found.

    You cannot delete products from your store, otherwise the invoice plugin will try to fetch a nonexistent product ID. And in the code, it doesn’t actually check for failure.

    Line 139 in class-wcdn-print.php:

    $product = $this->order->get_product_from_item( $item );

    And after, there’s no check for failure. $product is coming up empty since it’s been deleted from WooCommerce.

    This whole approach is flawed, though, because the order details in Woo will always show the product names and prices, long after the products are deleted. And this plugin is only fetching the name and prices, so why look up the product in Woo? It should just use the details in the $item array to populate the printout. $item already contains everything necessary, as far as I know.

    Plugin Author piffpaffpuff


    thanks for looking into it. there are also some other issues that need to be fixed. in the next days i have fortunately some freetime to work on the plugin.

    Thanks! I know this is a free plugin so I appreciate the effort 🙂

    Plugin Author piffpaffpuff


    a new version is online. can you please check if it works now? thanks

    Works for me, great. Thanks a lot for fixing this!

    Works great, thanks so much!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Products and prices missing’ is closed to new replies.