Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

151
Vistas
Should I store Shopify Checkout ID in localstorage or cookie? --React Storefront

I'm creating a shopify storefront using react, and I want to store the checkout ID (returned from shopify) in either cookies, localstorage, or session storage so that when an unlogged in user returns to the site shortly after shopping, I can make a call to get the current checkout from the ID (checkout includes current cart), and populate their cart.

I haven't been able to get a clear answer on what is standard/the better option here. I've seen store with both, and I know shopify uses cookies to start a cartID (not from their api), but they are in a different situation than a storefront.

Thanks all!

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda