Ukryj producenta produktu w stylach oraz dodaj sekcję darmowej wysyłki z informacjami o kosztach dostawy

This commit is contained in:
2024-11-24 15:08:57 +01:00
parent b8296c0e99
commit 3e2163fa06
4 changed files with 22 additions and 3 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

@@ -1837,6 +1837,7 @@ ul.pager {
} }
.product-producer { .product-producer {
display: none;
margin: 0 0 1rem 0; margin: 0 0 1rem 0;
a { a {
@@ -1846,6 +1847,20 @@ ul.pager {
} }
#product-options { #product-options {
.free-delivery {
p:last-child {
margin-bottom: 0;
}
padding: 15px;
background: #FFF;
margin-bottom: 25px;
strong {
color: #dc3545;
}
}
@include respond-above(sm) { @include respond-above(sm) {
padding: 0; padding: 0;
} }

View File

@@ -136,7 +136,11 @@
</script> </script>
<? endif;?> <? endif;?>
</div> </div>
</form><p class="free-delivery">Darmowa wysyłka już od <strong>99 zł</strong> </form>
<div class="free-delivery">
<p>Darmowa wysyłka już od <strong>99 zł</strong></p>
<p>Dostawa już <strong>8.60 zł</strong></p>
</div>
<? if ( $this -> product['producer'] and $this -> product['producer']['status'] ):?> <? if ( $this -> product['producer'] and $this -> product['producer']['status'] ):?>
<div class="product-producer"> <div class="product-producer">
Producent: <a href="/producent/<?= \S::seo( $this -> product['producer']['name'] );?>" title="Produkty marki <?= htmlspecialchars( $this -> product['producer']['name'] );?>"><?= $this -> product['producer']['name'];?></a> Producent: <a href="/producent/<?= \S::seo( $this -> product['producer']['name'] );?>" title="Produkty marki <?= htmlspecialchars( $this -> product['producer']['name'] );?>"><?= $this -> product['producer']['name'];?></a>