@doomcommerce/shopify-theme-cart
v1.3.2
Published
Shopify theme cart API typings & wrappers
Downloads
11
Maintainers
Readme
Shopify Theme Cart API Wrapper
Wrapper functions & typings
[![Button Installation]][Installation] [![Button Usage]][Usage] [![Button Examples]][Examples]
npm install @doomcommerce/shopify-theme-cart
Showcase
import Cart from '@doomcommerce/shopify-theme-cart'
let cart = await Cart.query()
cart = await Cart.change({
quantity : 10 ,
line : 2
})