Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
v:2.0:snippets:restrict_shipping_to_specific_map_area [2019/12/12 10:25] – [Build custom shipping code] adam | v:2.0:snippets:restrict_shipping_to_specific_map_area [2019/12/12 10:25] – [Build custom shipping code] adam | ||
---|---|---|---|
Line 147: | Line 147: | ||
[-73.9546793, | [-73.9546793, | ||
];</ | ];</ | ||
- | - Next, you'll need to set the shipping rates and error that is displayed to customers. The snippet above sets a $15 " | + | - Next, you'll need to set the shipping rates and error that is displayed to customers. The snippet above sets a $15 " |
// Shipping is allowed! | // Shipping is allowed! | ||
rates.add(10000, | rates.add(10000, |