Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
Add quantity_limits to preview cart
Browse files Browse the repository at this point in the history
  • Loading branch information
opr committed Dec 13, 2022
1 parent 486e88d commit 74e372f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions assets/js/previews/cart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@ export const previewCart: CartResponse = {
backorders_allowed: false,
show_backorder_badge: false,
sold_individually: false,
quantity_limits: {
minimum: 1,
maximum: 99,
multiple_of: 1,
editable: true,
},
images: [
{
id: 10,
Expand Down Expand Up @@ -121,6 +127,12 @@ export const previewCart: CartResponse = {
backorders_allowed: false,
show_backorder_badge: false,
sold_individually: false,
quantity_limits: {
minimum: 1,
maximum: 99,
multiple_of: 1,
editable: true,
},
images: [
{
id: 11,
Expand Down

0 comments on commit 74e372f

Please sign in to comment.