Welcome to our community support forums! We're here to help - but if you have an urgent request for a Pro Plugin, you will get a prioritised response through our Premium Support page.
March 26, 2017 at 9:16 am #45974
Hello again Michael, have to say that your support is the best I have encountered. And it shows how important this product is to you.
I found something that you’d may be interested looking into. File includes/product.php line 1473, just under “// Check if it’s an empty array that has snuck through”. I am getting a notice error “Undefined offset: 0”. Since You test for “$term_product_type == ” ” but it is not set. I debugged it and my array at this point is 1=>variable. I Did not debug farther, but obviously “0” is not set here. Maybe its better to use array_filter here? The export was variable+variation.March 26, 2017 at 10:12 am #45976
Hi actv-tec, thanks for raising this and each issue is important to me; whether it’s a new feature or a bug (you’d be surprised when something goes bad but the user likes the new outcome).
I’ll chase that error on Monday morning, it sounds like WooCommerce may be returning the array keyed where previously it was unkeyed which is now tripping us up. I’ll get this sorted and an early release in your hands via Support or in the next Plugin update (2.2.3) due this coming week.
Back story: There’s alot of magic involved in the Product’s export type Filter Products by Type option as it mixes Custom Post Types, Term Taxonomies and the odd Post meta just for fun as WP_Query cannot query multiple Custom Post Types (long story…).
Here’s the current 2.2.3 changelog so far:
* Added: XML order_items node for unique Order Items Formatting rule
* Added: XML order_item node for unique Order Items Formatting rule
* Added: Export support for WooCommerce Ultimate Multi Currency Suite (thanks Manoj)
* Added: Filter support for Order Delivery Date for WooCommerce (thanks Jeffrey)
* Added: Dismiss option on export currently running notice (thanks Linda)
* Added: Filter to override case formatting (thanks Chrystel)
* Fixed: Total Quantity field not populating in XML export (thanks Ludvig)
* Added: Export support for WooCommerce Delivery Slots (thanks Florian)
* Fixed: Filter Customers by Status value using name instead of slug (thanks Philipp)
* Added: Export support for Products Purchase Price for WooCommerce (thanks Daniela)
* Added: Export support for WooCommerce Product Custom Options Lite (thanks Paul)
* Fixed: Remember Filter Orders by Product Category (thanks Raffaele)
* Added: Product Category filter to the Orders export type within Scheduled Exports
* Added: Draft/Publish actions to the Scheduled Export screen
* Changed: Moved Admin UI export filters to includes/admin/…
* Fixed: Not checking state of BOM option (thanks Ziv)March 26, 2017 at 10:35 am #45978
Wow this is a great surprise: * Added: Export support for WooCommerce Ultimate Multi Currency Suite (thanks Manoj), I actually have that pending))
I see you added my BOM issue, the name is Dima, Ziv is my boss ;).
Thanks for the credit.
The topic ‘[Resolved] Little buggy maybe in product.php’ is closed to new replies.