Discussing Shopify Functions development, deployment, and usage in Shopify apps.
Hi, i'm using Cart and Checkout Validation Function API to validate my checkout.
But when i add/remove discount or update attribute, this function will re-run and the error message shown on checkout is effected. It disappeared and appeared again.
How can i fix this?
Hey @vy2902
Can you please provide some more info or screenshots/video?
Scott | Developer Advocate @ Shopify
@SBD_
https://drive.google.com/file/d/1ALgmAWUB0qet6TIyRFcXFLGS9SbzuzYB/view?usp=sharing
Here the video.
Please check it.
Thank you so much
Got it. Thanks.
So to confirm - is this your app displaying the 'Something went wrong' message? and it temporarily disappears when a discount code is added?
Scott | Developer Advocate @ Shopify
i'm using Cart And Checkout Validation Function API to show 'Something went wrong' message.
and it temporarily disappears when a discount code is added/removed or updated an attribute