Preventing restricted items from overseas ordering

Hello how can we block restricted items from being purchased by overseas customers?

Hi Chris,

In NitroScript, the pageproperty[‘geoip_countrycode’] variable will return the geo ip detected country code of a visitor to your WebStore. We could therefore wrap any panel (e.g. the Buy Panel on the product page) in a conditional statement as follows:

{if (pageproperty[‘geoip_countrycode’] ne ‘RU’)}
{include:panelBuyProduct}
{endif}