Skip to content

Instantly share code, notes, and snippets.

View shawaj's full-sized avatar

Aaron Shaw shawaj

View GitHub Profile
@shawaj
shawaj / remove-vat-outside-europe.rb
Last active February 17, 2018 03:32 — forked from jgodson/remove-vat-outside-europe.rb
Remove VAT (Value Added Tax) outside of Europe
# Remove Value-Added Tax (VAT) outside of Europe
# This script will remove VAT when the destination country is not in Europe
# To be used only when the tax is included in the price of the items
# Set the VAT percentage included in product price
VAT_PERCENT = 20
# Message that will be shown to customers on the cart page
# Some themes will require code changes to support this
VAT_REMOVAL_MESSAGE = "VAT removed"