This commit is contained in:
Roman Pyrih
2025-02-25 16:01:43 +01:00
parent b72878bcbe
commit 86781c8ae0
59 changed files with 7203 additions and 6756 deletions

View File

@@ -25,7 +25,7 @@
<div class="product-variants js-product-variants">
{foreach from=$groups key=id_attribute_group item=group}
{if !empty($group.attributes)}
<div class="clearfix product-variants-item">
<div class="clearfix product-variants-item" group_id="{$id_attribute_group}">
<div class="product-variants-item--wrapper">
<div class="control-label-nav">
<span class="control-label">
@@ -38,6 +38,14 @@
{/foreach}
</span>
</span>
{if $id_attribute_group == 11}
<div>
<img src="/img/cms/icons/colors.svg" alt="">
<a href="#">Zobacz dostępne tkaniny tutaj</a>
</div>
{/if}
{if $group.group_type == 'select'}
<div class="form-control-select-standard-handler">
<img src="/img/cms/icons/arrow-down-brown.svg" alt="">

View File

@@ -90,12 +90,6 @@
{$product.description_short nofilter}</div>
{/block}
{if $product.is_customizable && count($product.customizations.fields)}
{block name='product_customization'}
{include file="catalog/_partials/product-customization.tpl" customizations=$product.customizations}
{/block}
{/if}
<div class="product-actions js-product-actions">
{block name='product_buy'}
<form action="{$urls.pages.cart}" method="post" id="add-to-cart-or-refresh">
@@ -108,6 +102,12 @@
{include file='catalog/_partials/product-variants.tpl'}
{/block}
{if $product.is_customizable && count($product.customizations.fields)}
{block name='product_customization'}
{include file="catalog/_partials/product-customization.tpl" customizations=$product.customizations}
{/block}
{/if}
{block name='product_pack'}
{if $packItems}
<section class="product-pack">