hbs
This commit is contained in:
parent
72aee58d4e
commit
3a4780915d
|
@ -47,7 +47,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{#is "post"}}
|
{{#is "post"}}
|
||||||
<div class="kg-width-{{width}}">
|
<div class="single-content gh-content gh-canvas kg-width-{{width}}">
|
||||||
{{> "shop/top"}}
|
{{> "shop/top"}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -95,7 +95,9 @@
|
||||||
{{/next_post}}
|
{{/next_post}}
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
{{#is "post"}}
|
||||||
{{> "shop/configure-product"}}
|
{{> "shop/configure-product"}}
|
||||||
|
{{/is}}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
{{/is}}
|
{{/is}}
|
||||||
|
|
|
@ -8,33 +8,21 @@
|
||||||
).get('order'))
|
).get('order'))
|
||||||
? 'shop/totals/'
|
? 'shop/totals/'
|
||||||
: 'shop/totals/?orderId=' + new URLSearchParams(window.location.search).get('order');
|
: 'shop/totals/?orderId=' + new URLSearchParams(window.location.search).get('order');
|
||||||
";
|
"
|
||||||
|
|
||||||
hx-swap="outerHTML"
|
hx-swap="outerHTML"
|
||||||
></div>
|
></div>
|
||||||
<div
|
<div
|
||||||
id="order-form-rose-ash-shop"
|
id="order-form-rose-ash-shop"
|
||||||
hx-get="shop/order"
|
hx-get="shop/order"
|
||||||
hx-swap="outerHTML"
|
hx-swap="outerHTML"
|
||||||
|
hx-trigger="every 1s"
|
||||||
hx-trigger="load delay:1ms"
|
|
||||||
hx-target="#order-form-rose-ash-shop"
|
|
||||||
hx-on::config-request="event.detail.path += window.location.search;"
|
hx-on::config-request="event.detail.path += window.location.search;"
|
||||||
hx-on::confirm="
|
|
||||||
console.log(window.location.search)
|
|
||||||
console.log('checking...')
|
|
||||||
if (false && new URLSearchParams(window.location.search).get('show') !== 'buy') {
|
|
||||||
event.preventDefault();
|
|
||||||
}
|
|
||||||
"
|
|
||||||
>
|
>
|
||||||
<div class="spinner-border" role="status">
|
<div class="spinner-border" role="status">
|
||||||
<span class="sr-only">Loading...</span>
|
<span class="sr-only">Loading...</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<!--
|
||||||
|
|
||||||
|
|
||||||
<div
|
<div
|
||||||
id="order-detail-rose-ash-shop"
|
id="order-detail-rose-ash-shop"
|
||||||
hx-get="shop/order"
|
hx-get="shop/order"
|
||||||
|
@ -44,5 +32,5 @@
|
||||||
hx-swap="innerHTML"
|
hx-swap="innerHTML"
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
|
-->
|
||||||
</div>
|
</div>
|
Loading…
Reference in New Issue