product structure
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
@@ -3531,3 +3531,212 @@ body.cms-id-15 {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
body#product {
|
||||
h1.product-title {
|
||||
color: $cGold;
|
||||
font-family: $fNotoSerifDisplay;
|
||||
font-weight: 400;
|
||||
font-size: 40px;
|
||||
line-height: 1;
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
|
||||
.product-box {
|
||||
position: relative;
|
||||
padding: 17px 0;
|
||||
border-bottom: 1px solid #8c8c8c;
|
||||
|
||||
.block-title {
|
||||
font-family: 'Inter';
|
||||
font-weight: 700;
|
||||
font-size: 18px;
|
||||
line-height: 1.7;
|
||||
color: #3c3c3c;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.product-box--head {
|
||||
position: relative;
|
||||
|
||||
&::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 0;
|
||||
transform: translateY(-50%);
|
||||
width: 23px;
|
||||
height: 1px;
|
||||
background: #3c3c3c;
|
||||
border-radius: 3px;
|
||||
}
|
||||
&::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 11px;
|
||||
transform: translateY(-50%);
|
||||
width: 1px;
|
||||
height: 23px;
|
||||
background: #3c3c3c;
|
||||
border-radius: 3px;
|
||||
transition: all 0.3s ease-in-out;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.block-description-data {
|
||||
.block-title {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
p {
|
||||
color: $cDark;
|
||||
font-family: $fInter;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 1.7;
|
||||
|
||||
&:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
.block-config-info-data {
|
||||
border-bottom: 0;
|
||||
|
||||
.block-title {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
p {
|
||||
color: $cDark;
|
||||
font-family: $fInter;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 1.7;
|
||||
}
|
||||
}
|
||||
|
||||
.product-price-data {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
|
||||
&--wrapper {
|
||||
.block-title {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
.product-prices-data {
|
||||
.product-prices {
|
||||
margin: 0;
|
||||
}
|
||||
.product-price {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.current-price {
|
||||
span {
|
||||
color: #3c3c3c;
|
||||
font-family: $fInter;
|
||||
font-weight: 700;
|
||||
font-size: 25px;
|
||||
line-height: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.product-box-free-example {
|
||||
position: relative;
|
||||
padding: 75px 0;
|
||||
margin: 0;
|
||||
background: #f0f0f0;
|
||||
margin-top: 200px;
|
||||
|
||||
._c-row-1 {
|
||||
position: relative;
|
||||
|
||||
p {
|
||||
color: #f0f0f0;
|
||||
font-family: $fNotoSerifDisplay;
|
||||
font-weight: 400;
|
||||
font-size: 130px;
|
||||
line-height: 1;
|
||||
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
transform: translateY(calc(-100% - 60px));
|
||||
}
|
||||
}
|
||||
._c-row-2 {
|
||||
position: relative;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
align-items: center;
|
||||
column-gap: 50px;
|
||||
|
||||
._c-col {
|
||||
&-1 {
|
||||
img {
|
||||
width: 100%;
|
||||
max-width: fit-content;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
h3 {
|
||||
position: relative;
|
||||
color: $cGold;
|
||||
font-family: $fNotoSerifDisplay;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 40px;
|
||||
line-height: 1;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
p {
|
||||
position: relative;
|
||||
color: $cDark;
|
||||
font-family: $fInter;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 1.7;
|
||||
|
||||
&:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
._box-text {
|
||||
margin: 50px 0;
|
||||
}
|
||||
}
|
||||
|
||||
.product-order-sample {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
align-items: end;
|
||||
|
||||
&--wrapper {
|
||||
width: 100%;
|
||||
max-width: 350px;
|
||||
|
||||
p {
|
||||
color: #3c3c3c;
|
||||
font-family: $fInter;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 1.7;
|
||||
|
||||
&:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
{/if}
|
||||
{/block}
|
||||
|
||||
{if $smarty.server.REMOTE_ADDR != '193.243.155.179'}
|
||||
{if $smarty.server.REMOTE_ADDR != '91.189.216.43'}
|
||||
{block name='content'}
|
||||
|
||||
<section id="main" itemscope itemtype="https://schema.org/Product">
|
||||
@@ -563,65 +563,153 @@
|
||||
|
||||
{block name='product_description'}
|
||||
{if $product.description}
|
||||
<div class="block-description-data">
|
||||
<h4 class="block-title" data-type="description">{l s='Description' d='Shop.Theme.Catalog'}</h4>
|
||||
<div class="product-box block-description-data">
|
||||
<h4 class="block-title" data-type="description">{l s='Wallpaper description' d='Shop.Theme.Catalog'}</h4>
|
||||
<div class="product-description">{$product.description nofilter}</div>
|
||||
</div>
|
||||
<hr>
|
||||
{/if}
|
||||
{/block}
|
||||
|
||||
{block name='product_config_info'}
|
||||
<div class="block-config-info-data">
|
||||
<h4 class="block-title" data-type="description">Skonfiguruj tapetę do wymiarów swojej ściany</h4>
|
||||
<div class="product-box block-config-info-data">
|
||||
<h4 class="block-title">Skonfiguruj tapetę do wymiarów swojej ściany</h4>
|
||||
<p>Przed dodaniem do koszyka dopasuj tapetę do wymiarów swojej ściany. Nasz konfigurator pozwala na dostosowanie wymiarów i kolorystyki tapety.</p>
|
||||
</div>
|
||||
{/block}
|
||||
{block name='product_price'}
|
||||
<div class="product-price-data">
|
||||
<h4 class="block-title" data-type="description">Cena</h4>
|
||||
<div class="product-prices-data">
|
||||
{block name='product_prices'}
|
||||
{include file='catalog/_partials/product-prices.tpl'}
|
||||
{/block}
|
||||
{block name='product_discounts'}
|
||||
{include file='catalog/_partials/product-discounts.tpl'}
|
||||
{/block}
|
||||
<div class="product-box product-price-data">
|
||||
<div class="product-price-data--wrapper">
|
||||
<h4 class="block-title">Cena</h4>
|
||||
<div class="product-prices-data">
|
||||
{block name='product_prices'}
|
||||
{include file='catalog/_partials/product-prices.tpl'}
|
||||
{/block}
|
||||
{block name='product_discounts'}
|
||||
{include file='catalog/_partials/product-discounts.tpl'}
|
||||
{/block}
|
||||
</div>
|
||||
</div>
|
||||
<div class="product-config-btn">
|
||||
<a href="#" class="_btn-1"><span>Skonfiguruj tapetę</span></a>
|
||||
</div>
|
||||
</div>
|
||||
{/block}
|
||||
|
||||
|
||||
{block name='product_variants'}
|
||||
<div class="product-variants-data">
|
||||
<h4 class="block-title" data-type="description">Wybierz wersję kolorystyczną</h4>
|
||||
{$product_variant_mode = 2}
|
||||
|
||||
<div class="product-box product-variants-data">
|
||||
<h4 class="block-title">Wybierz wersję kolorystyczną</h4>
|
||||
{include file='catalog/_partials/product-variants.tpl'}
|
||||
</div>
|
||||
{/block}
|
||||
|
||||
{block name='product_size'}
|
||||
<div class="product-size-data" >
|
||||
<a rel="nofollow" href="javascript:void(0);" class="fancybox-size-controls">
|
||||
<h4 class="block-title" data-type="description">Rozmiar i dostosowanie</h4>
|
||||
</a>
|
||||
<div class="product-box product-size-data" >
|
||||
<div class="product-box--head">
|
||||
<a rel="nofollow" href="javascript:void(0);" class="fancybox-size-controls">
|
||||
<h4 class="block-title">Rozmiar i dostosowanie</h4>
|
||||
</a>
|
||||
</div>
|
||||
<div class="product-box--data">
|
||||
</div>
|
||||
</div>
|
||||
{/block}
|
||||
|
||||
{block name='product_texture'}
|
||||
<div class="product-texture-data">
|
||||
<a rel="nofollow" href="javascript:void(0);" class="fancybox-size-controls">
|
||||
<h4 class="block-title" data-type="description">Tekstura materiału</h4>
|
||||
</a>
|
||||
<div class="product-box product-texture-data">
|
||||
<div class="product-box--head">
|
||||
<a rel="nofollow" href="javascript:void(0);" class="fancybox-size-controls">
|
||||
<h4 class="block-title">Tekstura materiału</h4>
|
||||
</a>
|
||||
</div>
|
||||
<div class="product-box--data">
|
||||
{$product_variant_mode = 1}
|
||||
{block name='product_variants'}
|
||||
{include file='catalog/_partials/product-variants.tpl'}
|
||||
{/block}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{$product_variant_mode = 1}
|
||||
|
||||
{block name='product_variants'}
|
||||
{include file='catalog/_partials/product-variants.tpl'}
|
||||
{/block}
|
||||
{/block}
|
||||
|
||||
{block name='product_realization_time'}
|
||||
<div class="product-box product-realization-time">
|
||||
<div class="product-box--head">
|
||||
<h4 class="block-title">Czas realizacji zamówienia</h4>
|
||||
</div>
|
||||
<div class="product-box--data">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
{/block}
|
||||
|
||||
{block name='product_protect'}
|
||||
<div class="product-box product-protect">
|
||||
<div class="product-box--head">
|
||||
<h4 class="block-title">Zabezpiecz tapetę</h4>
|
||||
</div>
|
||||
<div class="product-box--data">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
{/block}
|
||||
|
||||
{block name='product_installation'}
|
||||
<div class="product-box product-installation">
|
||||
<div class="product-box--head">
|
||||
<h4 class="block-title">Montaż</h4>
|
||||
</div>
|
||||
<div class="product-box--data">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
{/block}
|
||||
|
||||
{block name='product_order_sample'}
|
||||
<div class="product-box product-order-sample">
|
||||
<div class="product-order-sample--wrapper">
|
||||
<h4 class="block-title">Zamów próbkę</h4>
|
||||
<p>Masz trudność w wyborze odpowiedniej tapety?<br/>Zamów próbkę o wymiarach 30x60 cm korzystając z konfiguratora.</p>
|
||||
</div>
|
||||
<div class="product-config-btn">
|
||||
<a href="#" class="_btn-1"><span>Zamów próbkę</span></a>
|
||||
</div>
|
||||
</div>
|
||||
{/block}
|
||||
|
||||
<div class="product-add-to-cart">
|
||||
<div class="product-bar container">
|
||||
<div class="product-actions-custom--wrapper">
|
||||
{block name='product_add_to_cart'}
|
||||
{include file='catalog/_partials/product-add-to-cart.tpl'}
|
||||
{/block}
|
||||
|
||||
{block name='product_discounts'}
|
||||
{include file='catalog/_partials/product-discounts.tpl'}
|
||||
{/block}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="product-box-free-example">
|
||||
<div class="container">
|
||||
<div class="_c-row _c-row-1">
|
||||
<div class="_c-col">
|
||||
<p>Tekstura</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="_c-row _c-row-2">
|
||||
<div class="_c-col _c-col-1"><img src="/img/cms/home/image 5.png" alt="" /></div>
|
||||
<div class="_c-col _c-col-2">
|
||||
<h3>Zamów darmowy wzornik struktur</h3>
|
||||
<div class="_box-text">
|
||||
<p>Zamawiając nasz wzorki struktur masz możliwość sprawdzenia rzeczywistych barw wzoru oraz zapoznania się z wybraną teskturą.</p>
|
||||
<p>W próbce uchwyciliśmy fragment grafiki, starannie pomniejszony, by maksymalnie zaprezentować wybrany wzór.</p>
|
||||
</div>
|
||||
<a href="#" class="_btn-1"><span>Dodaj do koszyka</span></a></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user