On This Page
TABLE OF CONTENTS
Getting Started
An Automatic Discount Command is a type of Tag Command that allows for custom tags to be added into the POS. These tags allow for additional commands and prompts to be utilized, apart from the basic commands; in this case, the Automatic Discount Tag allows for specific discounts to be applied to products, as laid out in the tag. Tag Commands use Shopify tags to add special instructions to products that extend their behavior in the Point of Sale. Their structure appears as:
XX{yy}{yy}....
This structure is formatted where XX is a two or three letter all caps command, and yy are the arguments. The last argument doesn't have to be surrounded in {}. This was left that way to support the original special tax command, but allow for an arbitrary number or arguments in the future.
For more general information on how to use Tag Commands in Shopify, you can review Creating and Using Tags in Shopify
Adding Automatic Discount Commands
In order to move forward with establishing automatic discounts through tags, follow these steps:
- From your myShopify homepage, select Products on the left hand side
- Search for and open the product you wish to apply your discount to
- Scroll down to find the Tags section. Here you can either add a new tag, or utilize a previously made one
- Remember to select Save after you had added your tags
Creating Automatic Discount Commands
Adding new commands into your specific products is simple. You can set an automatic discount in Shopify that extends to the Point of Sale with the following tag:
- AD{“percentage”/”amount”}{rate}
For example, if you want to add a 15% discount to an item, you would use: AD{percentage}15
If you were aiming for a $1.99 discount from a product, you would use: AD{amount}1.99