Product added to cart desappears

Hello.

If I add a product to shopping cart and go to other page, shopping cart is reseted and product added desappears.

This bug is recent but it’s critical.

Could you help me, please? Thank you

Hello @Ester_Impacta ,
Please share your store URL.

https://onecupcoffee.es/

Also, when you click on pay button “Pagar pedido” it redirects to "https://onecupcoffee.esonecupcoffee.es/" instead of “https://onecupcoffee.es/checkout

I could solve it.

When I created my custom theme it was based on Dawn.2.3.0. Since then, Dawn has been updated several times, until 7.0.1 version nowadays.
Unfortunatly, when I created the store I couldn’t find how to create a child theme on Shopify so Dawn theme updates are not syncronize with my custom theme.

What I did to solve it (maybe a better way exists):

  1. Install new Dawn theme. NOT PUBLISH.

  2. Check on preview mode that notification is working. (In my case it worked fine)

  3. Download new Dawn theme

  4. Download my custom theme.

  5. See changes between both themes on Visual Studio.

  6. Apply code changes in my custom theme. Some new files were added, and configuration changed. Examples:

    /config/settings_schema.json has new lines:
    “cart_type”: “notification”

    /snnipets/cart-notification.liquid is a new file