Add review step template for one page checkout module

- Introduced a new template file 'review copy.tpl' for the order summary step in the one page checkout process.
- The template includes a loading indicator and a header for the order summary section.
- Conditional rendering based on customer registration status is implemented.
This commit is contained in:
2026-02-27 00:04:16 +01:00
parent 2a98067d9e
commit 3fc0519f9d
61 changed files with 11187 additions and 13 deletions

View File

@@ -12,6 +12,13 @@
{block name='step_carrier'}
<style>
.delivery_option_title--highlight {
font-weight: bold !important;
color: red !important;
}
</style>
<script type="text/javascript">
var is_necessary_postcode = Boolean({if isset($is_necessary_postcode)}{$is_necessary_postcode}{/if});
var is_necessary_city = Boolean({if isset($is_necessary_city)}{$is_necessary_city}{/if});
@@ -68,7 +75,7 @@
<img src="{$ONEPAGECHECKOUTPS_IMG}shipping.png" alt="{$carrier.name}" class="img-thumbnail"/>
{/if}
{else}
<div class="delivery_option_title">{$carrier.name}</div>
<div class="delivery_option_title{if $carrier.name == 'DPD Pickup automaty paczkowe'} delivery_option_title--highlight{/if}">{$carrier.name}</div>
<div class="delivery_option_price">{$carrier.price}</div>
{/if}
@@ -85,7 +92,7 @@
</div>
{/if}
<div class="delivery_option_price">
<div class="delivery_option_title"><strong>{$carrier.name}</strong></div>
<div class="delivery_option_title{if $carrier.name == 'DPD Pickup automaty paczkowe'} delivery_option_title--highlight{/if}">{$carrier.name}</div>
({$carrier.price})
</div>
</div>