I am using a multi inventory plug-in to store stock levels of products in Woocommerce between 3 locations - they are named 754, 753 and 752
They are stored in database in a serialised array like this:
Key: woocommerce_multi_inventory_inventories_stock
Value: a:3:{i:754;s:0:”5”;i:753;s:0:”5”;i:752;s:0:”5”;}
I am trying to use WP All Import to import stock levels into just 1 of these locations - 754 and leave the other two as they are. WP All Import can import into this serialised array but it then overrides the other 2 locations when it changes 754.
Would anyone know how a php function to use with WP All Import in order to change ONLY the stock level in 754 without adjusting the other 2?