@mattvlc But in your category page, for example, if you add a product to the cart it adds the product with a location selected?
For Wp All Import:
In Custom fields add the field “smifw_location_stocks” with the field option “Serialized”.
Then in “Click to Specify”, the “key” will be the slug to location you want to import the stock/price .
In the value you will call the function “[stock({price[1]},sale_price[1]},{stock[1]})]” where the price and stock come from the file
Then in the function editor add this function:
function stock( $price = null, $sale_price = null, $stock = 0) {
$array[“stock”] = $stock;
$array[“regular_price”] = $price;
$array[“sale_price”] = $sale_price;
$str = serialize($array);
return $str;
}”