Skip to content

Commit

Permalink
chore: add 'do-not-ship' example
Browse files Browse the repository at this point in the history
  • Loading branch information
marcomontalbano committed Jul 2, 2024
1 parent 5c0e64d commit e1c7114
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/drop-in/seed/data/skus.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
"name": "Black Duffle Bag with White Logo",
"description": "The perfect spacious bag no matter the occasion. It’s great for packing exercise gear when heading to the gym, or throwing in necessities and going on an adventure.",
"image_url": "https://data.commercelayer.app/seed/images/skus/DUFFLBAG000000FFFFFFXXXX_FLAT.png",
"do_not_ship": true,
"shipping_category": "shipping_category_1"
},
{
Expand Down
4 changes: 3 additions & 1 deletion packages/drop-in/seed/reset_stock_items.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
"stock_item_310",
"stock_item_60",
"stock_item_358",
"stock_item_108"
"stock_item_108",
"stock_item_41",
"stock_item_291"
]
}
]
1 change: 1 addition & 0 deletions packages/drop-in/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@
<option value="5PANECAP9D9CA1FFFFFFXXXX">Out Of Stock</option>
<option value="GMUG11OZFFFFFF000000XXXX">Overselling</option>
<option value="BOTT17OZFFFFFF000000XXXX">Do Not Track</option>
<option value="DUFFLBAG000000FFFFFFXXXX">Do Not Ship</option>
<option value="POLOMXXX000000FFFFFFMXXX" data-quantity="2" data-frequency="three-month">Subscription (3 months)</option>
<option value="SKU1234">Non-Existing SKU</option>
<option value="">Without Attributes</option>
Expand Down

0 comments on commit e1c7114

Please sign in to comment.