Save
This commit is contained in:
@@ -1565,7 +1565,7 @@ class WidgetShoppingCart extends WidgetBase
|
||||
$display_class = !empty($settings['title_display']) ? " ce-display-{$settings['title_display']}" : '';
|
||||
$toggle_button_link = $this->context->link->getPageLink('cart', true, null, ['action' => 'show'], false, null, true);
|
||||
$toggle_button_classes = 'elementor-button elementor-size-sm' . ($cart_is_hidden ? ' elementor-cart-hidden' : ''); ?>
|
||||
<div class="elementor-cart__wrapper">
|
||||
<div id="basket-side-panel" class="elementor-cart__wrapper">
|
||||
<?php if (!$cart_is_hidden) { ?>
|
||||
<div class="elementor-cart__container elementor-lightbox">
|
||||
<div class="elementor-cart__main">
|
||||
@@ -1601,27 +1601,30 @@ class WidgetShoppingCart extends WidgetBase
|
||||
$this->renderCartItem($product, $settings);
|
||||
} ?>
|
||||
</div>
|
||||
<div class="elementor-cart__summary">
|
||||
<div class="elementor-cart__summary-label"><?php echo $cart['summary_string']; ?></div>
|
||||
<div class="elementor-cart__summary-value"><?php echo $cart['subtotals']['products']['value']; ?></div>
|
||||
<span class="elementor-cart__summary-label"><?php echo $cart['subtotals']['shipping']['label']; ?></span>
|
||||
<span class="elementor-cart__summary-value"><?php echo $cart['subtotals']['shipping']['value']; ?></span>
|
||||
<strong class="elementor-cart__summary-label"><?php echo $cart['totals']['total']['label']; ?></strong>
|
||||
<strong class="elementor-cart__summary-value"><?php echo $cart['totals']['total']['value']; ?></strong>
|
||||
</div>
|
||||
|
||||
<div class="elementor-alert elementor-alert-warning<?php echo $cart['minimalPurchaseRequired'] ? '' : ' elementor-hidden'; ?>" role="alert">
|
||||
<span class="elementor-alert-description"><?php echo $cart['minimalPurchaseRequired']; ?></span>
|
||||
</div>
|
||||
<div class="elementor-cart__footer-buttons">
|
||||
<div class="elementor-align-justify<?php echo !empty($settings['view_cart_type']) ? " elementor-button-{$settings['view_cart_type']}" : ''; ?>">
|
||||
<a href="<?php echo esc_attr($view_cart_link); ?>" class="elementor-button elementor-button--view-cart elementor-size-<?php echo $settings['view_cart_size']; ?>">
|
||||
<span class="elementor-button-text"><?php echo !empty($settings['view_cart']) ? $settings['view_cart'] : __('View Cart'); ?></span>
|
||||
</a>
|
||||
<div class="elementor-cart__footer-box">
|
||||
<div class="elementor-cart__summary">
|
||||
<!-- <div class="elementor-cart__summary-label"><?php echo $cart['summary_string']; ?></div> -->
|
||||
<!-- <div class="elementor-cart__summary-value"><?php echo $cart['subtotals']['products']['value']; ?></div> -->
|
||||
<span class="elementor-cart__summary-label"><?php echo $cart['subtotals']['shipping']['label']; ?></span>
|
||||
<span class="elementor-cart__summary-value"><?php echo $cart['subtotals']['shipping']['value']; ?></span>
|
||||
<strong class="elementor-cart__summary-label"><?php echo $cart['totals']['total']['label']; ?></strong>
|
||||
<strong class="elementor-cart__summary-value"><?php echo $cart['totals']['total']['value']; ?></strong>
|
||||
</div>
|
||||
<div class="elementor-align-justify<?php echo !empty($settings['checkout_type']) ? " elementor-button-{$settings['checkout_type']}" : ''; ?>">
|
||||
<a href="<?php echo esc_attr($checkout_link); ?>" class="elementor-button elementor-button--checkout elementor-size-<?php echo $settings['view_cart_size'] . $checkout_disabled; ?>">
|
||||
<span class="elementor-button-text"><?php echo !empty($settings['checkout']) ? $settings['checkout'] : __('Checkout'); ?></span>
|
||||
</a>
|
||||
<div class="elementor-cart__footer-buttons">
|
||||
<div class="elementor-align-justify<?php echo !empty($settings['view_cart_type']) ? " elementor-button-{$settings['view_cart_type']}" : ''; ?>">
|
||||
<a href="<?php echo esc_attr($view_cart_link); ?>" class="elementor-button elementor-button--view-cart elementor-size-<?php echo $settings['view_cart_size']; ?>">
|
||||
<span class="elementor-button-text"><?php echo !empty($settings['view_cart']) ? $settings['view_cart'] : __('View Cart'); ?></span>
|
||||
</a>
|
||||
</div>
|
||||
<!-- <div class="elementor-align-justify<?php echo !empty($settings['checkout_type']) ? " elementor-button-{$settings['checkout_type']}" : ''; ?>">
|
||||
<a href="<?php echo esc_attr($checkout_link); ?>" class="elementor-button elementor-button--checkout elementor-size-<?php echo $settings['view_cart_size'] . $checkout_disabled; ?>">
|
||||
<span class="elementor-button-text"><?php echo !empty($settings['checkout']) ? $settings['checkout'] : __('Checkout'); ?></span>
|
||||
</a>
|
||||
</div> -->
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
|
||||
@@ -131,6 +131,7 @@ a {
|
||||
transform: translateX(calc(-100% - 30px));
|
||||
}
|
||||
.js-product.product article.product-miniature .thumbnail-container {
|
||||
width: 100%;
|
||||
border-radius: 10px;
|
||||
border: 1px solid #eff6f7;
|
||||
}
|
||||
@@ -151,6 +152,8 @@ a {
|
||||
align-items: center;
|
||||
background: #462d26;
|
||||
border-radius: 1px;
|
||||
-moz-column-gap: 8px;
|
||||
column-gap: 8px;
|
||||
}
|
||||
.js-product.product article.product-miniature .thumbnail-container .thumbnail-top .product-add-to-basket .add-to-cart i {
|
||||
font-size: 15px;
|
||||
@@ -220,6 +223,7 @@ a {
|
||||
min-width: fit-content;
|
||||
min-height: auto;
|
||||
margin-top: 0;
|
||||
list-style: none;
|
||||
font-family: "Inter", sans-serif;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
@@ -929,4 +933,76 @@ nav.breadcrumb ol li span {
|
||||
nav.breadcrumb ol li.separator img {
|
||||
width: 5px;
|
||||
height: 9px;
|
||||
}
|
||||
|
||||
body#cms.cms-id-5 footer#footer section.footer-box-newsletter, body#cms.cms-id-6 footer#footer section.footer-box-newsletter, body#cms.cms-id-7 footer#footer section.footer-box-newsletter {
|
||||
display: none;
|
||||
}
|
||||
body#cms.cms-id-5 footer#footer section.footer-box-services, body#cms.cms-id-6 footer#footer section.footer-box-services, body#cms.cms-id-7 footer#footer section.footer-box-services {
|
||||
display: none;
|
||||
}
|
||||
body#cms.cms-id-5 footer#footer section.footer-box-other-info, body#cms.cms-id-6 footer#footer section.footer-box-other-info, body#cms.cms-id-7 footer#footer section.footer-box-other-info {
|
||||
display: none;
|
||||
}
|
||||
body#cms section#main header.page-header {
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
body#cms section#main header.page-header h1 {
|
||||
color: #462d26;
|
||||
font-size: 32px;
|
||||
font-family: "Inter", sans-serif;
|
||||
font-weight: 700;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#cms-citys .elementor-icon-list-items {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
|
||||
gap: 20px;
|
||||
}
|
||||
#cms-citys .elementor-icon-list-items li .elementor-icon-list-text {
|
||||
display: block;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
padding: 12px 24px;
|
||||
background: #462d26;
|
||||
}
|
||||
|
||||
#js-product-list > .products {
|
||||
row-gap: 40px;
|
||||
}
|
||||
|
||||
#basket-side-panel .elementor-cart__products .elementor-cart__product {
|
||||
position: relative;
|
||||
}
|
||||
#basket-side-panel .elementor-cart__products .elementor-cart__product .elementor-cart__product-name {
|
||||
padding-left: 16px;
|
||||
}
|
||||
#basket-side-panel .elementor-cart__products .elementor-cart__product .elementor-cart__product-price {
|
||||
padding-left: 16px;
|
||||
}
|
||||
#basket-side-panel .elementor-cart__products .elementor-cart__product .elementor-cart__product-remove {
|
||||
position: absolute;
|
||||
top: 20px;
|
||||
right: 0;
|
||||
}
|
||||
#basket-side-panel .elementor-cart__footer-box {
|
||||
position: relative;
|
||||
margin-top: auto;
|
||||
}
|
||||
#basket-side-panel .elementor-cart__footer-box::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 0 -30px;
|
||||
background: #ece9e2;
|
||||
z-index: -1;
|
||||
}
|
||||
#basket-side-panel .elementor-cart__footer-box .elementor-cart__summary {
|
||||
border: none;
|
||||
}
|
||||
#basket-side-panel .elementor-cart__footer-box .elementor-cart__summary > span {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
#basket-side-panel .elementor-cart__footer-box .elementor-cart__footer-buttons {
|
||||
width: 100%;
|
||||
}/*# sourceMappingURL=custom.css.map */
|
||||
File diff suppressed because one or more lines are too long
@@ -188,6 +188,7 @@ a {
|
||||
}
|
||||
|
||||
.thumbnail-container {
|
||||
width: 100%;
|
||||
border-radius: 10px;
|
||||
border: 1px solid #eff6f7;
|
||||
|
||||
@@ -217,6 +218,7 @@ a {
|
||||
align-items: center;
|
||||
background: #462d26;
|
||||
border-radius: 1px;
|
||||
column-gap: 8px;
|
||||
|
||||
i {
|
||||
font-size: 15px;
|
||||
@@ -302,6 +304,7 @@ a {
|
||||
min-width: fit-content;
|
||||
min-height: auto;
|
||||
margin-top: 0;
|
||||
list-style: none;
|
||||
|
||||
// &:first-child {
|
||||
// margin-top: 0;
|
||||
@@ -1358,3 +1361,105 @@ nav.breadcrumb {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
body#cms {
|
||||
// Disable custom footer elements
|
||||
&.cms-id-5,
|
||||
&.cms-id-6,
|
||||
&.cms-id-7 {
|
||||
footer#footer {
|
||||
section.footer-box-newsletter {
|
||||
display: none;
|
||||
}
|
||||
section.footer-box-services {
|
||||
display: none;
|
||||
}
|
||||
section.footer-box-other-info {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
section#main {
|
||||
header.page-header {
|
||||
margin-bottom: 32px;
|
||||
|
||||
h1 {
|
||||
color: #462d26;
|
||||
font-size: 32px;
|
||||
font-family: $fInter;
|
||||
font-weight: 700;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#cms-citys {
|
||||
.elementor-icon-list-items {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
|
||||
gap: 20px;
|
||||
|
||||
li {
|
||||
.elementor-icon-list-text {
|
||||
display: block;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
padding: 12px 24px;
|
||||
background: #462d26;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#js-product-list {
|
||||
> .products {
|
||||
row-gap: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
#basket-side-panel {
|
||||
.elementor-cart__products {
|
||||
.elementor-cart__product {
|
||||
position: relative;
|
||||
|
||||
.elementor-cart__product-name {
|
||||
padding-left: 16px;
|
||||
}
|
||||
.elementor-cart__product-price {
|
||||
padding-left: 16px;
|
||||
}
|
||||
.elementor-cart__product-remove {
|
||||
position: absolute;
|
||||
top: 20px;
|
||||
right: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.elementor-cart__footer-box {
|
||||
position: relative;
|
||||
margin-top: auto;
|
||||
|
||||
&::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
inset: 0 -30px;
|
||||
background: #ece9e2;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
.elementor-cart__summary {
|
||||
border: none;
|
||||
|
||||
> span {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
.elementor-cart__footer-buttons {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9711,7 +9711,6 @@ body#checkout #hook-display-after-carrier > [class^=col].links .row > [class^=co
|
||||
.product-miniature .thumbnail-container {
|
||||
position: relative;
|
||||
height: auto;
|
||||
margin-bottom: 1.563rem;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
@@ -9883,12 +9882,6 @@ body#checkout #hook-display-after-carrier > [class^=col].links .row > [class^=co
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.page-content.page-cms {
|
||||
padding: 1.25rem;
|
||||
text-align: justify;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.page-content.page-cms .cms-box img {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -10405,7 +10405,7 @@ body#checkout
|
||||
.product-miniature .thumbnail-container {
|
||||
position: relative;
|
||||
height: auto;
|
||||
margin-bottom: 1.563rem;
|
||||
// margin-bottom: 1.563rem;
|
||||
overflow: hidden;
|
||||
// background: #fff;
|
||||
}
|
||||
@@ -10600,11 +10600,11 @@ body#checkout
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.page-content.page-cms {
|
||||
padding: 1.25rem;
|
||||
text-align: justify;
|
||||
background: #fff;
|
||||
}
|
||||
// .page-content.page-cms {
|
||||
// padding: 1.25rem;
|
||||
// text-align: justify;
|
||||
// background: #fff;
|
||||
// }
|
||||
|
||||
.page-content.page-cms .cms-box img {
|
||||
max-width: 100%;
|
||||
|
||||
@@ -22,27 +22,29 @@
|
||||
* @copyright Since 2007 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
|
||||
*}
|
||||
<nav data-depth="{$breadcrumb.count}" class="breadcrumb hidden-sm-down">
|
||||
<ol>
|
||||
{block name='breadcrumb'}
|
||||
{foreach from=$breadcrumb.links item=path name=breadcrumb}
|
||||
{block name='breadcrumb_item'}
|
||||
<li>
|
||||
{if not $smarty.foreach.breadcrumb.last}
|
||||
<a href="{$path.url}"><span>{$path.title}</span></a>
|
||||
{else}
|
||||
<span>{$path.title}</span>
|
||||
{/if}
|
||||
</li>
|
||||
|
||||
{if not $smarty.foreach.breadcrumb.last}
|
||||
<li class="separator">
|
||||
<img src="/img/cms/icons/mini-arrow-right-brown.svg">
|
||||
<div class="row">
|
||||
<nav data-depth="{$breadcrumb.count}" class="breadcrumb hidden-sm-down">
|
||||
<ol>
|
||||
{block name='breadcrumb'}
|
||||
{foreach from=$breadcrumb.links item=path name=breadcrumb}
|
||||
{block name='breadcrumb_item'}
|
||||
<li>
|
||||
{if not $smarty.foreach.breadcrumb.last}
|
||||
<a href="{$path.url}"><span>{$path.title}</span></a>
|
||||
{else}
|
||||
<span>{$path.title}</span>
|
||||
{/if}
|
||||
</li>
|
||||
{/if}
|
||||
|
||||
{/block}
|
||||
{/foreach}
|
||||
{/block}
|
||||
</ol>
|
||||
</nav>
|
||||
{if not $smarty.foreach.breadcrumb.last}
|
||||
<li class="separator">
|
||||
<img src="/img/cms/icons/mini-arrow-right-brown.svg">
|
||||
</li>
|
||||
{/if}
|
||||
|
||||
{/block}
|
||||
{/foreach}
|
||||
{/block}
|
||||
</ol>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user