For discussing the development and usage of Checkout UI extensions, post-purchase extensions, web pixels, Customer Accounts UI extensions, and POS UI extensions
Hello.
Is there any execution order of Shopify validation functions?
I am using both `Product Discount Validation` and `Cart and Checkout Validation` function extensions
But sometimes `Cart and Checkout Validation` is running initially, sometimes `Product Discount Validation`
So `Cart and Checkout Validation` cannot validate line item properly.
Thanks in advance
Solved! Go to the solution
This is an accepted solution.
Hey @temurbek
We currently have no guarantees about the order of execution of functions.
Would love to pass along your feedback to the Checkout folks - can you elaborate on your use case?
Scott | Developer Advocate @ Shopify
This is an accepted solution.
Hey @temurbek
We currently have no guarantees about the order of execution of functions.
Would love to pass along your feedback to the Checkout folks - can you elaborate on your use case?
Scott | Developer Advocate @ Shopify
Thank you for your response.
It would be great If there is control over Shopify Validation Functions execution order (I mentioned the use case in the question)