1.3.2 • Published 4 months ago
@doomcommerce/shopify-theme-cart v1.3.2
Shopify Theme Cart API Wrapper
Wrapper functions & typings
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
})