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

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-arrows .slick-next.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-prev:hover {
background-color: rgba(52, 214, 173, 1);
background-color: rgba($cLavender, 1);
}
.product-add-to-cart {
@@ -5718,3 +5718,9 @@ body {
.last-bastion {
display: none !important;
}
.card > .checkout {
.btn.btn-primary {
text-wrap: auto;
}
}

View File

@@ -30,17 +30,28 @@
</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"}
{if $attribute != ''}
{if $attribute != ''}
<div class="product-line-info product-line-info-secondary text-muted">
<span class="label">{$attribute}:</span>
<span class="value">{$value}</span>
<span class="label">{$attribute}:</span>
<span class="value"><strong>{$value}</strong></span>
</div>
{/if}
{/if}
{/foreach}
<br/>
<br />
</div>
{/block}
{/block}

View File

@@ -41,13 +41,15 @@
<div class="col-sm-4 col-xs-9 details">
{if $add_product_link}<a href="{$product.url}" target="_blank">{/if}
<span>{$product.name}</span>
{if $add_product_link}</a>{/if}
{if $add_product_link}</a>{/if}
{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">
@@ -104,12 +106,12 @@
</tr>
{/if}
{/foreach}
{if $subtotals.tax.label !== null}
{* {if $subtotals.tax.label !== null}
<tr class="sub" style="display:none">
<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>
@@ -118,4 +120,4 @@
{/block}
</div>
</div>
</div>