Save
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1264,6 +1264,20 @@ body#product {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: auto;
|
height: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.js-product-details {
|
||||||
|
.product-reference {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.product-quantities {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.product-features {
|
||||||
|
.data-sheet {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -3452,6 +3466,13 @@ body#authentication {
|
|||||||
content: '';
|
content: '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.promo-item {
|
||||||
|
> a[href="https://masimmo.pl/44-promocje"]
|
||||||
|
{
|
||||||
|
color: #e79332 !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
> a {
|
> a {
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
@@ -4052,6 +4073,12 @@ section.off-canvas-nav-megamenu {
|
|||||||
padding-top: 20px;
|
padding-top: 20px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.leo-widget {
|
||||||
|
&[data-id_widget='1753179161'] {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ul {
|
ul {
|
||||||
|
|||||||
@@ -3,17 +3,15 @@
|
|||||||
data-product="{$product.embedded_attributes|json_encode}"
|
data-product="{$product.embedded_attributes|json_encode}"
|
||||||
role="tabpanel"
|
role="tabpanel"
|
||||||
> *}
|
> *}
|
||||||
<div class="js-product-details tab-pane {if !$product.description} in active{/if}"
|
<div class="js-product-details tab-pane {if !$product.description} in active{/if}" id="product-details"
|
||||||
id="product-details"
|
data-product="{$product.embedded_attributes|json_encode}" role="tabpanel">
|
||||||
data-product="{$product.embedded_attributes|json_encode}"
|
|
||||||
role="tabpanel"
|
|
||||||
>
|
|
||||||
{block name='product_reference'}
|
{block name='product_reference'}
|
||||||
{if isset($product_manufacturer->id)}
|
{if isset($product_manufacturer->id)}
|
||||||
<div class="product-manufacturer">
|
<div class="product-manufacturer">
|
||||||
{if isset($manufacturer_image_url)}
|
{if isset($manufacturer_image_url)}
|
||||||
<a href="{$product_brand_url}">
|
<a href="{$product_brand_url}">
|
||||||
<img src="{$manufacturer_image_url}" class="img img-fluid manufacturer-logo" alt="{$product_manufacturer->name}" loading="lazy">
|
<img src="{$manufacturer_image_url}" class="img img-fluid manufacturer-logo" alt="{$product_manufacturer->name}"
|
||||||
|
loading="lazy">
|
||||||
</a>
|
</a>
|
||||||
{else}
|
{else}
|
||||||
<label class="label">{l s='Brand' d='Shop.Theme.Catalog'}</label>
|
<label class="label">{l s='Brand' d='Shop.Theme.Catalog'}</label>
|
||||||
@@ -35,7 +33,8 @@
|
|||||||
{if $product.show_quantities}
|
{if $product.show_quantities}
|
||||||
<div class="product-quantities">
|
<div class="product-quantities">
|
||||||
<label class="label">{l s='In stock' d='Shop.Theme.Catalog'}</label>
|
<label class="label">{l s='In stock' d='Shop.Theme.Catalog'}</label>
|
||||||
<span data-stock="{$product.quantity}" data-allow-oosp="{$product.allow_oosp}">{$product.quantity} {$product.quantity_label}</span>
|
<span data-stock="{$product.quantity}" data-allow-oosp="{$product.allow_oosp}">{$product.quantity}
|
||||||
|
{$product.quantity_label}</span>
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
{/block}
|
{/block}
|
||||||
@@ -70,16 +69,42 @@
|
|||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
{* if product have specific references, a table will be added to product details section *}
|
{* if product have specific references, a table will be added to product details section *}
|
||||||
{block name='product_specific_references'}
|
{* {block name='product_specific_references'}
|
||||||
|
|
||||||
{if !empty($product.specific_references)}
|
{if !empty($product.specific_references)}
|
||||||
|
<section class="product-features">
|
||||||
|
<p class="h6">
|
||||||
|
{l s='Specific References' d='Shop.Theme.Catalog'}</p>
|
||||||
|
<dl class="data-sheet">
|
||||||
|
|
||||||
|
{foreach from=$product.specific_references item=reference key=key}
|
||||||
|
<dt class="name {$key}">{$key}</dt>
|
||||||
|
<dd class="value {$key}">{$reference}</dd>
|
||||||
|
|
||||||
|
{/foreach}
|
||||||
|
</dl>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
{/if}
|
||||||
|
|
||||||
|
{/block} *}
|
||||||
|
{block name='product_specific_references'}
|
||||||
|
{assign var='filtered_references' value=[]}
|
||||||
|
{foreach from=$product.specific_references item=reference key=key}
|
||||||
|
{if $key != 'ean13'}
|
||||||
|
{assign var='filtered_references' value=$filtered_references|@array_merge:[$key => $reference]}
|
||||||
|
{/if}
|
||||||
|
{/foreach}
|
||||||
|
|
||||||
|
{if !empty($filtered_references)}
|
||||||
<section class="product-features">
|
<section class="product-features">
|
||||||
<p class="h6">{l s='Specific References' d='Shop.Theme.Catalog'}</p>
|
<p class="h6">{l s='Specific References' d='Shop.Theme.Catalog'}</p>
|
||||||
<dl class="data-sheet">
|
<dl class="data-sheet">
|
||||||
{foreach from=$product.specific_references item=reference key=key}
|
{foreach from=$filtered_references item=reference key=key}
|
||||||
<dt class="name">{$key}</dt>
|
<dt class="name {$key}">{$key}</dt>
|
||||||
<dd class="value">{$reference}</dd>
|
<dd class="value {$key}">{$reference}</dd>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</dl>
|
</dl>
|
||||||
</section>
|
</section>
|
||||||
{/if}
|
{/if}
|
||||||
{/block}
|
{/block}
|
||||||
@@ -88,7 +113,7 @@
|
|||||||
{if $product.condition}
|
{if $product.condition}
|
||||||
<div class="product-condition">
|
<div class="product-condition">
|
||||||
<label class="label">{l s='Condition' d='Shop.Theme.Catalog'} </label>
|
<label class="label">{l s='Condition' d='Shop.Theme.Catalog'} </label>
|
||||||
<link href="{$product.condition.schema_url}"/>
|
<link href="{$product.condition.schema_url}" />
|
||||||
<span>{$product.condition.label}</span>
|
<span>{$product.condition.label}</span>
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
|||||||
Reference in New Issue
Block a user