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 :
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?
- You must be logged in to reply to this topic.