How to connect Currency selector to product's inventory in a specific country?

Highlighted
New Member
7 0 0

I'm using the Blockshop theme which has a built in currency selector.

 

How can I connect the currency selector to the product's inventory levels in a specific country?

 

So for example:

 

If customer chooses $CAD > Inventory levels for Canada are shown

If customer chooses $USD > Inventory levels for US are shown

 

This is necessary because sometimes a product may be sold out in Canada but not the US (and vice versa). And obviously I do not want to ship across borders.

 

It seems strange there is no easy way to do this. Right now if a Canadian customers tries to check out with a product that is not available in Canada, they get an error at checkout that says "Your cart has been updated and the items you added can’t be shipped to your address. Remove the items to complete your order."

 

How can I make it so the product shows "Out of Stock" so this Canadian customer doesn't even attempt to purchase it?

0 Likes