PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

export : display only products/variation in stock

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.
12

Hi,
I created a profile which lists all the products in a category whose quantity in stock varies from 1 to 1000 in order to display only the products in stock.
When I do an export, the .csv file displays all the variations of each product, even those whose quantity is equal to 0....
How can I fix this to only list products actually in stock?
Thanks

Hello

Unfortunately, the filter by variations does not work for import.

 

Hello,
It doesnt work for export ? You wrote for import...
Do you think it will be possible in a future update ?
Thanks

Hello

Sorry, you're right : for export.

The problem is in the way the file is generated; at the moment this is not possible. But I passed on your suggestion to the developers

Hello,
Would have some news, good news about a solution to export product variation with stock.
The latest version of Bear Bulk exports yet all variations, regardless of the filter that mentions products with stock of at least 1.
Thanks

Hello

Unfortunately, this is not implemented yet, but it is in the developers' tasks.

 

It would be great to be able to have a clearly readable stock overview from Bear Bulk,
without looking tet for another additional module to fill this gap in WooCommerce.
Come on developpers, we are with you !

I will write to the developers again so that they raise the priority of this task.

Hello

Update is done, please do tests: https://bulk-editor.com/document/more-settings-implicit/
Hook: woobe_export_cut_empty_variations

 

Hello,
Very well, it no longer exports variations with zero stock, but the attribute columns for each product variation are empty: for example, the size and model are not displayed.
Now, I only have the product name, but I don't know if it's a size S or M in stock... :/
Is there an option I missed ?
Thanks for your help

To complete my previous question, I recently added a filter to my functions.php file
so that the product attributes are not displayed in the name,
because the invoicing software creates a different product if the attributes in the name are different,
thus creating as many products as variations, which makes it unmanageable for accounting purposes...

The filter is this:
add_filter( 'woocommerce_product_variation_title_include_attributes', '__return_false' );

So, do you have a solution to adapt this filter so that the attributes are displayed in the name in Bear Bulk, as it was by default ?
This would be a solution to see the product attributes in the export.

Hello

Please try to use this filter - woobe_export_product_fields_answer  - to change fields

Hello,
In which purpose : display variation in export ?
How use it ? I'm not a developper...
Thanks for your help

Hello

This is a hook that passes data for export. With this you can implement your customization.

In this case, you should hire a developer to implement customization.

Hello,
Could you immediately provide me with a solution to adapt this filter so that variations are displayed in the title in Bear Bulk, so that it returns true:
add_filter( 'woocommerce_product_variation_title_include_attributes', '__return_false' );

It's a bit a pity that, when you created this new Hook, you didn't include the export of variations and all columns displayed in Bear Bulk by default.
Thanks for your help

Hello

Please try this - https://bulk-editor.com/why-the-attributes-of-one-product-can-be-seen-in-one-of-its-variants-and-no-attributes-are-visible-in-the-second-identical-product

Hello,
Thank you, this filter works, but it overrides the one that allowed product names to be displayed without attributes in WooCommerce order details :

add_filter( 'woocommerce_product_variation_title_include_attributes', '__return_false' );

Isn't there a way to apply this

add_filter('woocommerce_product_variation_title_include_attributes',function($should_include_attributes, $product){
    return true;
},10,2);

only to Bear Bulk so that it leaves product names without attributes in the order details ?...
It will be great.
Thanks a lot

Hello

Please try this code:

        add_filter('woocommerce_product_variation_title_include_attributes',function($should_include_attributes, $product){
            if( wp_doing_ajax() ){
                return true;
            }
            return $should_include_attributes;
        },10,2);

Hello,
Thanks but this new code"overrides"  this one :

add_filter( 'woocommerce_product_variation_title_include_attributes', '__return_false' );

So, in woocommerce orders attributes are again displayed with product name...  :/

 

 

Hello

This is not quite true. This code works only in ajax mode (this is how our plugin gets products)

12