Cart AJAX API issue in Dawn theme

Hi everyone. I’m trying to use /cart/add API to add some products to cart via my theme app extension code. In “Dawn theme” it is not working properly. Sometimes the products are added to cart and sometime not. But in other themes there is no issue.

Am I the only one facing this issue? or anyone else has the same issue. Because after recent updates in the Dawn theme there are some bugs similar to this. You can refer here https://github.com/Shopify/dawn/issues.

If anyone has fixed this issue, can you please share your inputs??

@Liam-Shopify Any ideas on this??

Hi Narayanan,

Do you know if this is happening just with Dawn or other themes too?

This is happening in the Dawn theme alone. I tested other themes and no issues in those.