Skip to content

Commit

Permalink
updated order with new function placeholder image
Browse files Browse the repository at this point in the history
  • Loading branch information
KostiantynFandeliuk committed Nov 26, 2024
1 parent caf3118 commit f999d35
Show file tree
Hide file tree
Showing 12 changed files with 61 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export declare const STORE_CONFIG_QUERY = "\nquery STORE_CONFIG_QUERY {\n storeConfig {\n order_cancellation_enabled\n order_cancellation_reasons {\n description\n }\n shopping_cart_display_price\n shopping_cart_display_shipping\n shopping_cart_display_subtotal\n shopping_cart_display_grand_total\n shopping_cart_display_tax_gift_wrapping\n shopping_cart_display_full_summary\n shopping_cart_display_zero_tax\n }\n}\n";
export declare const STORE_CONFIG_QUERY = "\nquery STORE_CONFIG_QUERY {\n storeConfig {\n order_cancellation_enabled\n order_cancellation_reasons {\n description\n }\n base_media_url\n shopping_cart_display_price\n shopping_cart_display_shipping\n shopping_cart_display_subtotal\n shopping_cart_display_grand_total\n shopping_cart_display_tax_gift_wrapping\n shopping_cart_display_full_summary\n shopping_cart_display_zero_tax\n }\n}\n";
//# sourceMappingURL=StoreConfigQuery.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions scripts/__dropins__/storefront-order/chunks/form.types.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions scripts/__dropins__/storefront-order/chunks/getStoreConfig.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
/*! Copyright 2024 Adobe
All Rights Reserved. */
import{f as i,h as s}from"./fetch-graphql.js";function n(p){return p?{orderCancellationEnabled:p.order_cancellation_enabled,orderCancellationReasons:p.order_cancellation_reasons,shoppingCartDisplayPrice:p.shopping_cart_display_price,shoppingOrdersDisplaySubtotal:p.shopping_cart_display_subtotal,shoppingOrdersDisplayShipping:p.shopping_cart_display_shipping,shoppingOrdersDisplayGrandTotal:p.shopping_cart_display_grand_total,shoppingOrdersDisplayTaxGiftWrapping:p.shopping_cart_display_tax_gift_wrapping,shoppingOrdersDisplayFullSummary:p.shopping_cart_display_full_summary,shoppingOrdersDisplayZeroTax:p.shopping_cart_display_zero_tax}:null}const a=`
import{f as i,h as s}from"./fetch-graphql.js";function a(r){return r?{baseMediaUrl:r.base_media_url,orderCancellationEnabled:r.order_cancellation_enabled,orderCancellationReasons:r.order_cancellation_reasons,shoppingCartDisplayPrice:r.shopping_cart_display_price,shoppingOrdersDisplaySubtotal:r.shopping_cart_display_subtotal,shoppingOrdersDisplayShipping:r.shopping_cart_display_shipping,shoppingOrdersDisplayGrandTotal:r.shopping_cart_display_grand_total,shoppingOrdersDisplayTaxGiftWrapping:r.shopping_cart_display_tax_gift_wrapping,shoppingOrdersDisplayFullSummary:r.shopping_cart_display_full_summary,shoppingOrdersDisplayZeroTax:r.shopping_cart_display_zero_tax}:null}const _=`
query STORE_CONFIG_QUERY {
storeConfig {
order_cancellation_enabled
order_cancellation_reasons {
description
}
base_media_url
shopping_cart_display_price
shopping_cart_display_shipping
shopping_cart_display_subtotal
Expand All @@ -16,4 +17,4 @@ query STORE_CONFIG_QUERY {
shopping_cart_display_zero_tax
}
}
`,o=async()=>i(a,{method:"GET",cache:"force-cache"}).then(({errors:p,data:r})=>p?s(p):n(r.storeConfig));export{o as g};
`,o=async()=>i(_,{method:"GET",cache:"force-cache"}).then(({errors:r,data:p})=>r?s(r):a(p.storeConfig));export{o as g};
Loading

0 comments on commit f999d35

Please sign in to comment.