Add checkout summary hook to the checkout and shopping cart templates

This commit is contained in:
2025-09-09 21:22:29 +02:00
parent 7a28543ee9
commit d895f86a03
3 changed files with 12 additions and 62 deletions

View File

@@ -391,7 +391,7 @@
"defines.inc.php": { "defines.inc.php": {
"type": "-", "type": "-",
"size": 8421, "size": 8421,
"lmtime": 1756058769926, "lmtime": 1757432905465,
"modified": false "modified": false
}, },
"defines_uri.inc.php": { "defines_uri.inc.php": {
@@ -9909,8 +9909,8 @@
"js": { "js": {
"custom.js": { "custom.js": {
"type": "-", "type": "-",
"size": 115184, "size": 116237,
"lmtime": 1723829539622, "lmtime": 1757433549081,
"modified": false "modified": false
}, },
"index.php": { "index.php": {
@@ -17974,66 +17974,10 @@
}, },
"cache": {}, "cache": {},
"logs": { "logs": {
"20250820_exception.log": { "20250909_exception.log": {
"type": "-", "type": "-",
"size": 109, "size": 343,
"lmtime": 1756058808474, "lmtime": 1757433120000,
"modified": false
},
"20250824_exception.log": {
"type": "-",
"size": 4347,
"lmtime": 1756058808526,
"modified": false
},
"dev.log": {
"type": "-",
"size": 90215,
"lmtime": 1756058808588,
"modified": false
},
"inpost": {
"izi-2025-08-22.log": {
"type": "-",
"size": 43028,
"lmtime": 1756058808961,
"modified": false
}
},
"lscache.log": {
"type": "-",
"size": 655,
"lmtime": 1756058808641,
"modified": false
},
"ps_accounts-2025-08-18": {
"type": "-",
"size": 758,
"lmtime": 1756058808696,
"modified": false
},
"ps_accounts-2025-08-19": {
"type": "-",
"size": 1516,
"lmtime": 1756058808749,
"modified": false
},
"ps_accounts-2025-08-21": {
"type": "-",
"size": 884,
"lmtime": 1756058808803,
"modified": false
},
"ps_accounts-2025-08-22": {
"type": "-",
"size": 758,
"lmtime": 1756058808857,
"modified": false
},
"ps_accounts-2025-08-24": {
"type": "-",
"size": 758,
"lmtime": 1756058808908,
"modified": false "modified": false
} }
}, },

View File

@@ -341,6 +341,9 @@
{/if} {/if}
{/function} {/function}
<div id="tc-container"> <div id="tc-container">
{block name='hook_checkout_summary_top'}
{hook h='displayCheckoutSummaryTop'}
{/block}
{steps} {steps}
{blockContainer data=$blocksLayout} {blockContainer data=$blocksLayout}

View File

@@ -145,6 +145,9 @@
<a href="{$urls.pages.order}" class="btn btn-primary">{l s='Proceed to checkout' d='Shop.Theme.Actions'}</a> <a href="{$urls.pages.order}" class="btn btn-primary">{l s='Proceed to checkout' d='Shop.Theme.Actions'}</a>
</div> </div>
</div> </div>
{block name='hook_checkout_summary_top'}
{hook h='displayCheckoutSummaryTop'}
{/block}
</div> </div>
{else} {else}
<div class="no-items"> <div class="no-items">