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:
@@ -54,7 +54,7 @@
|
||||
{include file="_partials/stylesheets.tpl" stylesheets=$stylesheets}
|
||||
{/block}
|
||||
|
||||
<link rel="stylesheet" href="/themes/charme/assets/css/custom.css?ver=1.0109">
|
||||
<link rel="stylesheet" href="/themes/charme/assets/css/custom.css?ver=1.0121">
|
||||
|
||||
{block name='javascript_head'}
|
||||
{include file="_partials/javascript.tpl" javascript=$javascript.head vars=$js_custom_vars}
|
||||
|
||||
@@ -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}
|
||||
|
||||
|
||||
@@ -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 -->
|
||||
|
||||
@@ -24,17 +24,18 @@
|
||||
*}
|
||||
{extends file='page.tpl'}
|
||||
|
||||
{block name='page_content_container'}
|
||||
<section id="content" class="page-home">
|
||||
{hook h='displaySliderContainerWidth'}
|
||||
{hook h='displayHomeBefore'}
|
||||
{block name='page_content_top'}{/block}
|
||||
{block name='page_content_container'}
|
||||
<section id="content" class="page-home">
|
||||
{hook h='displaySliderContainerWidth'}
|
||||
{hook h='displayHomeBefore'}
|
||||
{block name='page_content_top'}{/block}
|
||||
|
||||
{block name='page_content'}
|
||||
{block name='hook_home'}
|
||||
{$HOOK_HOME nofilter}
|
||||
{/block}
|
||||
{/block}
|
||||
{hook h='displayHomeAfter'}
|
||||
{block name='page_content'}
|
||||
{block name='hook_home'}
|
||||
{$HOOK_HOME nofilter}
|
||||
{/block}
|
||||
{/block}
|
||||
<div class="columns-anthemeblocks-1">
|
||||
<div class="row">
|
||||
<div class="col-lg-3 col-md-3">
|
||||
@@ -44,8 +45,7 @@
|
||||
{hook h='displayEmailSubs'}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{hook h='displayHomeAfter'}
|
||||
</div>
|
||||
<div class="columns-anthemeblocks-2">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
@@ -56,5 +56,5 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{/block}
|
||||
</section>
|
||||
{/block}
|
||||
Reference in New Issue
Block a user