This commit is contained in:
Roman Pyrih
2025-06-03 13:05:55 +02:00
parent 4e05b19379
commit 36f17c145b
7 changed files with 143 additions and 96 deletions

View File

@@ -14,9 +14,15 @@
<span class="notification-title"><i class="material-icons">&#xE876;</i></span>
*}
<strong class="noti product-name"></strong>
<span class="noti noti-update">{l s='The product has been updated in your shopping cart' mod='leofeature'}</span>
<span class="noti noti-delete">{l s='The product has been removed from your shopping cart' mod='leofeature'}</span>
<span class="noti noti-add"><strong class="noti-special"></strong> {l s='Product successfully added to your shopping cart' mod='leofeature'}</span>
<span
class="noti noti-update">{l s='The product has been updated in your shopping cart' mod='leofeature'}</span>
<span
class="noti noti-delete">{l s='The product has been removed from your shopping cart' mod='leofeature'}</span>
<span class="noti noti-add">
<strong class="noti-special"></strong>
<br />
{l s='Product successfully added to your shopping cart' mod='leofeature'}
</span>
<span class="notification-close">X</span>
</div>
@@ -31,7 +37,8 @@
<span class="noti noti-update">{l s='Error updating' mod='leofeature'}</span>
<span class="noti noti-delete">{l s='Error deleting' mod='leofeature'}</span>
<span class="noti noti-add">{l s='Error adding. Please go to product detail page and try again' mod='leofeature'}</span>
<span
class="noti noti-add">{l s='Error adding. Please go to product detail page and try again' mod='leofeature'}</span>
<span class="notification-close">X</span>
@@ -44,7 +51,8 @@
{*
<span class="notification-title"><i class="material-icons">&#xE645;</i></span>
*}
<span class="noti noti-min">{l s='The minimum purchase order quantity for the product is' mod='leofeature'} <strong class="noti-special"></strong></span>
<span class="noti noti-min">{l s='The minimum purchase order quantity for the product is' mod='leofeature'}
<strong class="noti-special"></strong></span>
<span class="noti noti-max">{l s='There are not enough products in stock' mod='leofeature'}</span>
<span class="notification-close">X</span>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -5691,3 +5691,26 @@ body {
}
}
}
.card > .checkout {
.btn.btn-primary {
text-wrap: auto;
}
}
#promo-code {
.promo-code {
form {
@media (max-width: 400px) {
.promo-input {
width: 100%;
}
.btn.btn-primary {
top: 0;
margin-top: 10px;
width: 100%;
}
}
}
}
}

View File

@@ -30,13 +30,24 @@
</div>
<div class="media-body">
<span class="product-name">{$product.name}</span>
<span class="product-quantity">x{$product.quantity}</span>
<span class="product-price float-xs-right">{$product.price}</span>
{* <span class="product-quantity">x{$product.quantity}</span> *}
{* <span class="product-price float-xs-right">{$product.price}</span> *}
<div class="product-line-info product-line-info-secondary text-muted">
<span class="label">ILOŚĆ:</span>
<span class="value"><strong>{$product.quantity}</strong></span>
</div>
<div class="product-line-info product-line-info-secondary text-muted">
<span class="label">CENA POJEDYNCZA:</span>
<span class="value"><strong>{$product.price}</strong></span>
</div>
{hook h='displayProductPriceBlock' product=$product type="unit_price"}
{foreach from=$product.attributes key="attribute" item="value"}
<div class="product-line-info product-line-info-secondary text-muted">
<span class="label">{$attribute}:</span>
<span class="value">{$value}</span>
<span class="value"><strong>{$value}</strong></span>
</div>
{/foreach}
<br />

View File

@@ -45,9 +45,11 @@
{if is_array($product.customizations) && $product.customizations|count}
{foreach from=$product.customizations item="customization"}
<div class="customizations">
<a href="#" data-toggle="modal" data-target="#product-customizations-modal-{$customization.id_customization}">{l s='Product customization' d='Shop.Theme.Catalog'}</a>
<a href="#" data-toggle="modal"
data-target="#product-customizations-modal-{$customization.id_customization}">{l s='Product customization' d='Shop.Theme.Catalog'}</a>
</div>
<div class="modal fade customization-modal" id="product-customizations-modal-{$customization.id_customization}" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal fade customization-modal" id="product-customizations-modal-{$customization.id_customization}"
tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
@@ -85,7 +87,8 @@
</div>
<div class="col-sm-6 col-xs-12 qty">
<div class="row">
<div class="col-xs-5 text-sm-right text-xs-left">{$product.price}</div>
{* <div class="col-xs-5 text-sm-right text-xs-left">{$product.price}</div> *}
<div class="col-xs-5 text-sm-right text-xs-left"></div>
<div class="col-xs-2">{$product.quantity}</div>
<div class="col-xs-5 text-xs-right bold">{$product.total}</div>
</div>
@@ -104,12 +107,12 @@
</tr>
{/if}
{/foreach}
{if $subtotals.tax.label !== null}
{* {if $subtotals.tax.label !== null}
<tr class="sub">
<td>{$subtotals.tax.label}</td>
<td>{$subtotals.tax.value}</td>
</tr>
{/if}
{/if} *}
<tr class="font-weight-bold">
<td><span class="text-uppercase">{$totals.total.label}</span> {$labels.tax_short}</td>
<td>{$totals.total.value}</td>

View File

@@ -62,7 +62,9 @@
{/block}
{block name='order_details'}
<iframe src="https://alerabat.go2cloud.org/aff_l?offer_id=367&adv_sub={$order.details.reference}&amount={$total_paid_tax_excl}" scrolling="no" frameborder="0" width="1" height="1"></iframe>
<iframe
src="https://alerabat.go2cloud.org/aff_l?offer_id=367&adv_sub={$order.details.reference}&amount={$total_paid_tax_excl}"
scrolling="no" frameborder="0" width="1" height="1"></iframe>
<!-- // End Offer Conversion -->
<div id="order-details" class="col-md-4">
<h3 class="h3 card-title">{l s='Order details' d='Shop.Theme.Checkout'}:</h3>
@@ -87,7 +89,7 @@
{block name='hook_payment_return'}
{if ! empty($HOOK_PAYMENT_RETURN)}
<section id="content-hook_payment_return" class="card definition-list">
<section id="content-hook_payment_return" class="1 card definition-list">
<div class="card-block">
<div class="row">
<div class="col-md-12">