This commit is contained in:
Roman Pyrih
2025-06-03 13:19:57 +02:00
parent 748bab7032
commit 1fef57f3e2
6 changed files with 59 additions and 32 deletions

View File

@@ -14,11 +14,17 @@
<span class="notification-title"><i class="material-icons">&#xE876;</i></span> <span class="notification-title"><i class="material-icons">&#xE876;</i></span>
*} *}
<strong class="noti product-name"></strong> <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
<span class="noti noti-delete">{l s='The product has been removed from your shopping cart' mod='leofeature'}</span> class="noti noti-update">{l s='The product has been updated in 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-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> <span class="notification-close">X</span>
</div> </div>
</div> </div>
</div> </div>
@@ -28,13 +34,14 @@
{* {*
<span class="notification-title"><i class="material-icons">&#xE611;</i></span> <span class="notification-title"><i class="material-icons">&#xE611;</i></span>
*} *}
<span class="noti noti-update">{l s='Error updating' mod='leofeature'}</span> <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-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> <span class="notification-close">X</span>
</div> </div>
</div> </div>
</div> </div>
@@ -44,11 +51,12 @@
{* {*
<span class="notification-title"><i class="material-icons">&#xE645;</i></span> <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="noti noti-max">{l s='There are not enough products in stock' mod='leofeature'}</span>
<span class="notification-close">X</span> <span class="notification-close">X</span>
</div> </div>
</div> </div>
</div> </div>
@@ -59,9 +67,9 @@
<span class="notification-title"><i class="material-icons">&#xE88F;</i></span> <span class="notification-title"><i class="material-icons">&#xE88F;</i></span>
*} *}
<span class="noti noti-check">{l s='You must enter a quantity' mod='leofeature'}</span> <span class="noti noti-check">{l s='You must enter a quantity' mod='leofeature'}</span>
<span class="notification-close">X</span> <span class="notification-close">X</span>
</div> </div>
</div> </div>
</div> </div>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1917,12 +1917,12 @@ html[lang='pl'] .ApColumn .block.day_hit::after {
.slick-list:hover + .slick-arrows .slick-prev, .slick-list:hover + .slick-arrows .slick-prev,
.slick-arrows .slick-next.slick-disabled:hover, .slick-arrows .slick-next.slick-disabled:hover,
.slick-arrows .slick-prev.slick-disabled:hover { .slick-arrows .slick-prev.slick-disabled:hover {
background-color: rgba(52, 214, 173, 0.5); background-color: rgba($cLavender, 0.5);
} }
.slick-arrows .slick-next:hover, .slick-arrows .slick-next:hover,
.slick-arrows .slick-prev:hover { .slick-arrows .slick-prev:hover {
background-color: rgba(52, 214, 173, 1); background-color: rgba($cLavender, 1);
} }
.product-add-to-cart { .product-add-to-cart {
@@ -5718,3 +5718,9 @@ body {
.last-bastion { .last-bastion {
display: none !important; display: none !important;
} }
.card > .checkout {
.btn.btn-primary {
text-wrap: auto;
}
}

View File

@@ -30,17 +30,28 @@
</div> </div>
<div class="media-body"> <div class="media-body">
<span class="product-name">{$product.name}</span> <span class="product-name">{$product.name}</span>
<span class="product-quantity">x{$product.quantity}</span> {* <span class="product-quantity">x{$product.quantity}</span> *}
<span class="product-price float-xs-right">{$product.price}</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"} {hook h='displayProductPriceBlock' product=$product type="unit_price"}
{foreach from=$product.attributes key="attribute" item="value"} {foreach from=$product.attributes key="attribute" item="value"}
{if $attribute != ''} {if $attribute != ''}
<div class="product-line-info product-line-info-secondary text-muted"> <div class="product-line-info product-line-info-secondary text-muted">
<span class="label">{$attribute}:</span> <span class="label">{$attribute}:</span>
<span class="value">{$value}</span> <span class="value"><strong>{$value}</strong></span>
</div> </div>
{/if} {/if}
{/foreach} {/foreach}
<br/> <br />
</div> </div>
{/block} {/block}

View File

@@ -41,13 +41,15 @@
<div class="col-sm-4 col-xs-9 details"> <div class="col-sm-4 col-xs-9 details">
{if $add_product_link}<a href="{$product.url}" target="_blank">{/if} {if $add_product_link}<a href="{$product.url}" target="_blank">{/if}
<span>{$product.name}</span> <span>{$product.name}</span>
{if $add_product_link}</a>{/if} {if $add_product_link}</a>{/if}
{if is_array($product.customizations) && $product.customizations|count} {if is_array($product.customizations) && $product.customizations|count}
{foreach from=$product.customizations item="customization"} {foreach from=$product.customizations item="customization"}
<div class="customizations"> <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>
<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-dialog" role="document">
<div class="modal-content"> <div class="modal-content">
<div class="modal-header"> <div class="modal-header">
@@ -104,12 +106,12 @@
</tr> </tr>
{/if} {/if}
{/foreach} {/foreach}
{if $subtotals.tax.label !== null} {* {if $subtotals.tax.label !== null}
<tr class="sub" style="display:none"> <tr class="sub" style="display:none">
<td>{$subtotals.tax.label}</td> <td>{$subtotals.tax.label}</td>
<td>{$subtotals.tax.value}</td> <td>{$subtotals.tax.value}</td>
</tr> </tr>
{/if} {/if} *}
<tr class="font-weight-bold"> <tr class="font-weight-bold">
<td><span class="text-uppercase">{$totals.total.label}</span> {$labels.tax_short}</td> <td><span class="text-uppercase">{$totals.total.label}</span> {$labels.tax_short}</td>
<td>{$totals.total.value}</td> <td>{$totals.total.value}</td>
@@ -118,4 +120,4 @@
{/block} {/block}
</div> </div>
</div> </div>