As a Shopify merchant
I want that the TIKI SDK JS in the frontend grab the discount data from the Shopify configuration
so that the Payabale and user discounts are correctly saved.
What it is
The discount data in the offer use fixed values for testing. The discount information does not change if the discount settings change. The License and Payable records can be inspected through the console and hold the default testing data
What it should be
The discount data in the offer should use the values of the latest discount saved in the admin UI. The License and Payable records can be inspected through the console and hold the custom discount data.
Technical details
Update TIKI SETTINGS in JavaScript to get the information from the app metadata.
Acceptance criteria
The TIKI_SETTINGS object holds the exact values set by the user in the discounts admin UI.
The Payable is saved with the discount information
The customer discount data is correctly set up based in the discount information
As a Shopify merchant I want that the TIKI SDK JS in the frontend grab the discount data from the Shopify configuration so that the Payabale and user discounts are correctly saved.
What it is
The discount data in the offer use fixed values for testing. The discount information does not change if the discount settings change. The License and Payable records can be inspected through the console and hold the default testing data
What it should be
The discount data in the offer should use the values of the latest discount saved in the admin UI. The License and Payable records can be inspected through the console and hold the custom discount data.
Technical details
Update TIKI SETTINGS in JavaScript to get the information from the app metadata.
Acceptance criteria