addItem
Add an item to the cart by id.
If the item is already in the cart, the quantity will be incremented by 1.
Example
import { addItem } from "fullcart"
addItem("your-product-id")
Add an item to the cart by id.
If the item is already in the cart, the quantity will be incremented by 1.
import { addItem } from "fullcart"
addItem("your-product-id")