Skip to content

Commit eb32009

Browse files
Merge pull request #160 from Shopify/new-discounts-tutorial
New discounts tutorial sample
2 parents 360ad96 + 536e5ac commit eb32009

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+5952
-960
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@ node_modules
1919

2020
## Sample Apps
2121
sample-apps/*/web/frontend/metafields.js
22+
!sample-apps/discounts/web/frontend/metafields.js

.graphqlrc.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function getProjects(path) {
2525
}
2626

2727
const projects = {
28-
...getProjects("sample-apps/discounts-tutorial/extensions"),
28+
...getProjects("sample-apps/discounts/extensions"),
2929
...getProjects("checkout/rust/delivery-customization"),
3030
...getProjects("checkout/rust/payment-customization"),
3131
...getProjects("discounts/rust/order-discounts"),

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
"discounts/rust/product-discounts/fixed-amount/Cargo.toml",
1010
"discounts/rust/shipping-discounts/default/Cargo.toml",
1111
"discounts/rust/shipping-discounts/fixed-amount/Cargo.toml",
12-
"sample-apps/discounts-tutorial/extensions/volume/Cargo.toml"
12+
"sample-apps/discounts/extensions/product-discount/Cargo.toml"
1313
]
1414
}

sample-apps/discounts-tutorial/CHANGELOG.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

sample-apps/discounts-tutorial/extensions/volume/shopify.function.extension.toml

Lines changed: 0 additions & 11 deletions
This file was deleted.

sample-apps/discounts-tutorial/extensions/volume/src/tests.rs

Lines changed: 0 additions & 90 deletions
This file was deleted.

sample-apps/discounts-tutorial/web/docs/fly-io.md

Lines changed: 0 additions & 111 deletions
This file was deleted.

sample-apps/discounts-tutorial/web/docs/heroku.md

Lines changed: 0 additions & 112 deletions
This file was deleted.

0 commit comments

Comments
 (0)