Skip to content

Shopify vs local image mismatch in cart #126

@ugtthis

Description

@ugtthis
Current Shopping Cart Image Proposed Agnostic Device Image
Current Cart Proposed Device

src/lib/components/ShoppingCart.svelte

src={item.node.merchandise.product.images.edges[0].node.originalSrc}
  • Current shopping cart comma 3x uses old img with nav
  • We could modify ShoppingCart.svelte to use local image but then that would cause inconsistencies with what shopify sees and what is in the codebase

I think it would be more ideal to update the image via Shopify to a generic one without UI so if we change device UI or route img in the future it doesn't need to update all the time. Using the existing device photo comma-3x-promo.jpg seems to be the best option as shown above

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions