Trigger bidirectionnal update during import with Wp All Import
-
Hi,
I have ACF Pro and I have a hierarchy build between 2 post types :
– Vente (cpt) – the “parent”
– Product (woocommerce product) – the “child”So a single vente is linked to several products.
I use the ACF relation field on both sides to implement the relation.
And with the help of your plugin, I manage to set the relation as bidirectionnal.
Thanks for that, it’s works great.My issue is that I need to import a lot of products on the website.
To do so i use WP All Import (pro) to import products and affect the correct vente to each product.After import, the vente is correctly linkged to the product, from the product side, however, from the vente side, the products are not linked.
Since a single vente can be linked to up to 600 products, it would be a pain to affect each product to the vente from the vente form.
I tried to use the filter :
add_filter('acfe/bidirectional/force_update', '__return_true');
but it doesn’t seems to do anything in this context (I don’t even know if it’s triggered at all).
Any idea how I can trigger the bidirectional update during the import?
- The topic ‘Trigger bidirectionnal update during import with Wp All Import’ is closed to new replies.