Hi @efbi,
Do I have to run the wp cli every 2mins as the processing ?
No, you just have to run it once to run the import.
Does Using the cli change the compatibilitY with woocommerce addon ? It just launch the import non ?
It just runs the import, and the WooCommerce Add-On is compatible.
Hello, thanks for the answer
It’s weird because when I run the import with WP CLI, it doesn’t take the products attributes…
Well, when running WP CLI, the following filters do not launch :
add_filter( ‘wp_all_import_multi_glue’, ‘wpai_wp_all_import_multi_glue’, 10, 1 );
add_filter( ‘wp_all_import_product_attributes_delimiter’, ‘wpai_wp_all_import_product_attributes_delimiter’, 10, 3 );
add_action( ‘pmxi_saved_post’, ‘my_saved_post’, 10, 3 );
Theses fonctions are in my functions.php
by require_once 'inc/import.php';
When I run this with processing cron, it works.
AFter trying multiple test, I found that the problem come with :
wp_all_import_product_attributes_delimiter filter
Sometimes the filter don’t work. Can you check please ?
Well, I’m lost, yes the filter works well but the only one attribute is imported
I have three attributes to import : size, color and brand
Only the first one (with drag and drop) is imported, so for the moment I use size in first, but the two others are not imported.
I thought it was the filter, but no
I finally found the issue !
When the option “Link all variations” is not checked, you can choose options in the “Variations” Tab
The option where selected to “All products with variations are grouped with a unique value that is the same for each variation and unique for each product.”
Even after re-enabled the “Link all variations”, it seems that the plugin kept use the Variations Tab options.
I put the first option then re-enable Link all variations.
It worked ! Maybe a bug.
Hey @efbi,
Even after re-enabled the “Link all variations”, it seems that the plugin kept use the Variations Tab options.
That’s really strange, and I can’t replicate it in my tests. If you can replicate it at http://www.wpallimport.com/debug/ and open a support request at http://www.wpallimport.com/support/ with the details, we’d be happy to take a look at why it’s happening.