Skip to content

Commit 566029f

Browse files
committed
update payment and delivery samples
1 parent 8435ec2 commit 566029f

File tree

6 files changed

+10
-16
lines changed

6 files changed

+10
-16
lines changed

sample-apps/delivery-customizations/extensions/delivery-customization/input.graphql.liquid renamed to sample-apps/delivery-customizations/extensions/delivery-customization/input.graphql

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,7 @@ query Input {
1111
}
1212
}
1313
deliveryCustomization {
14-
metafield(
15-
namespace: "{{ app_name | replace: " ", "-" | downcase }}"
16-
key: "function-configuration"
17-
) {
14+
metafield(namespace: "$app:delivery-customization", key: "function-configuration") {
1815
value
1916
}
2017
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
export default {
2+
namespace: '$app:delivery-customization',
3+
key: "function-configuration",
4+
};

sample-apps/delivery-customizations/web/metafields.js.liquid

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

sample-apps/payment-customizations/extensions/payment-customization/input.graphql.liquid renamed to sample-apps/payment-customizations/extensions/payment-customization/input.graphql

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,7 @@ query Input {
1111
name
1212
}
1313
paymentCustomization {
14-
metafield(
15-
namespace: "{{ app_name | replace: " ", "-" | downcase }}"
16-
key: "function-configuration"
17-
) {
14+
metafield(namespace: "$app:payment-customization", key: "function-configuration") {
1815
value
1916
}
2017
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
export default {
2+
namespace: '$app:payment-customization',
3+
key: "function-configuration",
4+
};

sample-apps/payment-customizations/web/metafields.js.liquid

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

0 commit comments

Comments
 (0)