What's your biggest current challenge? Have your say in Community Polls along the right column.

How can I filter VAT-charged orders using custom JavaScript in Shopify?

How can I filter VAT-charged orders using custom JavaScript in Shopify?

theprintedpeanu
Visitor
1 0 0

Shopify help says I need to do this to be able to separate orders that I have charged VAT on, but I need to know the custom Java Script... any help?

 

To separate orders that you have charged VAT on from those that you haven't in Shopify, you can create custom order attributes. Here's how you can do it:

Custom Order Attributes:

  • In your Shopify admin dashboard, go to "Settings" and select "Checkout" from the dropdown menu.
  • Scroll down to the "Order processing" section.
  • Click on "Additional scripts" to add custom code.
  • Use JavaScript to add a custom order attribute based on VAT application.
  • For example, you can add a checkbox or dropdown menu during the checkout process where customers can indicate whether VAT should be applied.
  • Save the changes and test the checkout process to ensure the custom order attribute is captured correctly.
  • You can then filter and sort orders based on this custom attribute to separate VAT-charged orders from those without VAT.
Replies 0 (0)