I have custom requirements to manage stock base on shipping location.
They have 2 stock locations Singapore and Hongkong,
if the shipping address is Singapore, item stock should come from the Singapore location (in list page no stock item should hide)
if the shipping address is Hongkong or china, item stock should come from the Hongkong location (in list page no stock item should hide)
note:- guest user is treated base on IP location before they select a shipping address, they have only one shop in the eCommerce also they use stock base on varience
any idea how can I achieve this with the best solution