Change online store handles error messages in the cart and checkout validation API?

I am serving an app using the cart and checkout validation api.

In some themes, when I press the “Add to Cart” button and the cart and check out validation api returns an error, the error message is no longer displayed.

Attached is an example from Dawn.

Below is an example of the “Dawn” theme.
Until now, a message was displayed when you clicked the “Add to Cart” button.
message-01

However, I am currently unable to display the error message.
This is thought to be due to a change in the response from the server side. This may be due to the “description property” being null.
output

Some theme just show “null”.

Is this a bug? Or is this an ongoing change?

Hey @azy :waving_hand: - I can’t say for certain without digging into this more, but it’s possible this could be an issue specific to those themes - do you have an example theme where the “null” issue appeared we can take a look at to try and replicate this?

If you’re willing to share the shop and the theme where you saw the “null” error pop up (either here on in a DM), just let me know and I’d be happy to take a look!

Hello @Alan_G -san
Thank you for your reply!

it’s possible this could be an issue specific to those themes - do you have an example theme where the “null” issue appeared we can take a look at to try and replicate this?

Theme is Venue.

I just created preview store as follows;
(please go to product handle is “products/chain-bracelet”)

pw: shopify_password_protected

I can’t find your DM link, so I can’t contact your actual shop, but please DM me if necessary.

Since I can no longer display error messages from the Cart and Checkout api, I’m trying to release code that overlaps fetch or xhr so ​​that messages can be displayed, but I would like to avoid this if possible as it may cause unexpected problems or conflict with Shopify’s standard functions.

No worries @Azy! - I can DM you on my end here so we can discuss the details of the shop if you’d prefer to keep that private. I’ll message you in just a second :slight_smile:

Hey @Alan_G I don’t think this is an issue with just a few themes.
It has been occurring since at least June 5th, and I emailed Shopify Support immediately after discovering it, but I haven’t received a response.
I would like clarification on whether this change is temporary or a specification change. Our app’s development strategy will change depending on your answer.

2 Likes

Hey @Alan_G,

We are also experiencing the same issue in our Shopify app and have received numerous inquiries from our merchants. Could you please share the latest status or any updates regarding this issue?

We would also appreciate clarification on whether this behavior is considered a permanent specification change or a temporary bug, since it will affect our app development roadmap.

Thank you in advance for your help!

Hello,
We are tracking this issue with @Alan_G -san, and it has already passed it to special team.
Looks like we’ll have to wait a while until the problem is resolved.

1 Like

Hi @kyoshi - just confirming what @azy mentioned here. We are currently working on a fix for this. I still can’t guarantee an exact turnaround time for when this will be deployed, but it is something we are actively working on and I’ll get back in touch with all of you here in this thread when I can confirm the fix has been sent out on our end :slight_smile: