Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
v:2.0:snippets:locations_modfication [2020/02/20 06:43] – adam | v:2.0:snippets:locations_modfication [2023/06/01 16:35] (current) – [Important note] adam | ||
---|---|---|---|
Line 10: | Line 10: | ||
{{ : | {{ : | ||
- | Starting in 2.0, there is now a template configuration option to limit countries and states from right within your store' | + | Starting in 2.0, there is now a template configuration option to limit countries and states from right within your store' |
If you need to dynamically restrict the locations - for example, prevent orders from outside your country if perishable products are purchased, you can utilise the following script to do that. Otherwise, if your restrictions are static and don't depend on certain conditions being met, use the option in your store' | If you need to dynamically restrict the locations - for example, prevent orders from outside your country if perishable products are purchased, you can utilise the following script to do that. Otherwise, if your restrictions are static and don't depend on certain conditions being met, use the option in your store' |