Skip to content

Commit

Permalink
Preseting CheckoutScripts.astro for checkout customizations
Browse files Browse the repository at this point in the history
  • Loading branch information
leomp12 committed Feb 11, 2025
1 parent 7925556 commit 6abb7a1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions functions/ssr/src/pages/app/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import Picture from '@@sf/components/Picture.astro';
import BaseHead from '@@sf/layouts/BaseHead.astro';
import Base from '~/layouts/Base.astro';
import CheckoutPage from '~/components/CheckoutPage.vue';
import CheckoutScripts from '~/scripts/CheckoutScripts.astro';
import checkoutCustomCss from '~/assets/checkout.css?inline';
let routeContext: RouteContext;
Expand All @@ -24,6 +25,7 @@ const { footer: { stamps } } = layoutContent;
<Fragment slot="base-head">
<BaseHead />
<title>{`${i19shoppingCart} | ${settings.name}`}</title>
<CheckoutScripts />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@ecomplus/storefront-twbs@7/dist/cdn/storefront-twbs.min.css">
<style is:inline set:html={checkoutCustomCss} />
</Fragment>
Expand Down
4 changes: 4 additions & 0 deletions functions/ssr/src/scripts/CheckoutScripts.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<script>
// Customizations for checkout SPA
// const _window = (window as any);
</script>

0 comments on commit 6abb7a1

Please sign in to comment.