Overview
JSON import lets you create a calculator by pasting a previously exported configuration. This is useful for backing up your work, sharing calculator setups between stores, or migrating configurations. You can import JSON from Calculator AI → Calculators (to create a new calculator) or from within an existing calculator's Versions panel (to replace its configuration).
Steps
Importing as a new calculator
- Go to Calculator AI → Calculators.
- Click New and select Create from JSON.
- Paste your calculator JSON configuration into the text area.
- Click Create calculator.
- A new calculator is created with the imported settings. Open it to review and adjust as needed.
Importing into an existing calculator
- Open the calculator you want to update.
- Go to the Versions panel.
- Select the JSON tab.
- Paste the new JSON configuration.
- Click Apply. The calculator's settings are replaced with the imported configuration.
Details
| Detail |
Description |
| Format |
Standard JSON matching the Calculator AI calculator schema. |
| Validation |
The import fails with an error message if the JSON is invalid or doesn't match the expected structure. |
| Exporting |
To get a calculator's JSON, open it in the editor and go to Versions → JSON → Copy. You can also copy a calculator's JSON from the Calculators list using the copy JSON button (code icon) on any row. |
Examples
- Store migration — Export all calculator configurations from your development store and import them into your production store using New → Create from JSON.
- Team collaboration — Share a calculator JSON file with a colleague so they can import it into their own store for testing.
Related Articles
Browsing Your Calculators
Overview The Calculators page is your central hub for managing all the calculators you've created. It shows every calculator in a list with key details at a glance. You can search by name, filter by tags, and access quick actions for each calculator. ...
Deleting a Calculator
Overview Deleting a calculator permanently removes it and unassigns it from all linked products. Customers will no longer see the calculator on your storefront. You can delete a calculator from the Calculator AI → Calculators page. Steps Go to ...
Duplicating a Calculator
Overview Cloning creates an exact copy of an existing calculator. This is useful when you want to reuse a configuration as a starting point for a new product or variation without building from scratch. You clone a calculator from the Calculator AI → ...
Storefront JavaScript API
Overview Calculator AI exposes a browser-only integration surface on the storefront: your theme JavaScript, or another Shopify app’s script on the same page, can listen for calculator updates and set option values programmatically. There is no secret ...