How to Import Discounts from JSON Files
Using the Logic > Import
button, you can import pre-made discount logic flows into the app to skip the bulk of setup effort.
Use Cases
- Importing a
.json
file our support team sent you - Reusing a discount logic flow between different stores
Instructions
Click the above thumbnail to watch a video demonstration.
- Decide whether you want to create a product discount, order discount, shipping discount, or auto-add to cart. This choice will dictate the type of discount generated upon importing the file.
- Locate the top right of the screen to find the 'logic' button. Click on 'import'. If using a smaller screen, look for the 'actions' button, navigate to submenus, and select 'Logic > import'.
- You can either click 'add file' to navigate to your JSON file or drag and drop the file directly onto the flowchart where it says 'discount logic'.
- After uploading, preview the preview of the logic imported, which offers discounts based on specific criteria.
- If you encounter an alert about missing resources, search your site to replace placeholders with actual identifiers for collections or products.
- Select the appropriate collections/products, etc. to link the resources correctly before proceeding.
- Once all resources are linked, click 'import' to finalize the process.
- After the logic opens in full screen, set a descriptive title for the discount and hit 'save' to complete the setup.
Cautionary Notes
- Ensure that the JSON file is correctly formatted and contains all necessary data before importing.
- Double-check that all placeholders are replaced with actual identifiers to avoid errors in discount application.
- If you encounter any issues during the import process, consult the support team for assistance.
Tips for Efficiency
- Familiarize yourself with the advanced logic builder to navigate quickly.
Your Feedback Matters
As a solo founder, your experience is crucial to me. Could you spare a moment to share your thoughts? Please leave a review on the Shopify App Store. Thank you for helping me improve!**
Updated on: 07/03/2025
Thank you!