Update styles and templates for improved checkout experience

- Adjusted CSS styles in custom.css and custom.scss for better layout and responsiveness, including changes to button sizes and margins.
- Updated the checkout button link in ps_shoppingcart.tpl to directly point to the order page.
- Changed text labels in cart-voucher.tpl for better localization.
- Modified continue shopping button text in cart.tpl to Polish.
- Enhanced index.tpl structure for better hook management and layout consistency.
- Added temporary image files in the checkout module for future use.
This commit is contained in:
2025-08-10 18:46:18 +02:00
parent 8a4ef2e9ca
commit 7139027ab7
14 changed files with 730 additions and 122 deletions

View File

@@ -39,7 +39,7 @@
</div>
{if isset($voucher.code) && $voucher.code !== ''}
<div class="voucher-delete">
<a href="{$voucher.delete_url}" data-link-action="remove-voucher">{l s='Delete' d='Shop.Theme.Checkout'}</a>
<a href="{$voucher.delete_url}" data-link-action="remove-voucher">Usuń</a>
</div>
{/if}
</li>
@@ -60,7 +60,7 @@
<input type="hidden" name="token" value="{$static_token}">
<input type="hidden" name="addDiscount" value="1">
<input class="promo-input" type="text" name="discount_name" placeholder="{l s='Promo code' d='Shop.Theme.Checkout'}">
<button type="submit" class="btn btn-primary"><span>{l s='Add' d='Shop.Theme.Actions'}</span></button>
<button type="submit" class="btn btn-primary"><span>Dodaj</span></button>
</form>
{/block}

View File

@@ -44,9 +44,7 @@
</div>
{block name='continue_shopping'}
<a class="label btn btn-primary" href="{$urls.pages.index}">
{l s='Continue shopping' d='Shop.Theme.Actions'}
</a>
<a class="label btn btn-primary" href="{$urls.pages.index}">Kontynuuj zakupy</a>
{/block}
<!-- shipping informations -->