Black Friday 2024

Black Friday 4 zile cu cele mai mari reduceri din anGrabeste-te! Mai sunt: 3 Zile 3 Ore 3 Min 3 Sec   INAPOI IN SITE CASA SI DECORATIUNI BUCATARIE ILUMINAT SI ELECTRICE DECORATIUNI CRACIUN BRICOLAJ SI GRADINA ELECTRONICE SI ELECTROCASNICE ACCESORII AUTO JUCARII, COPII SI BEBE UNELTE SI SCULE TIMP LIBER CASA SI DECORATIUNI {% assign oriCollection = collection %} {% assign collection = collections['black-friday-casa-si-decoratiuni'] %} {% assign productCount = collection.products | size | at_most: 6 %} {% if productCount > 0 %} {% paginate collection.products by 6 %} {% for product in collection.products limit:productCount %} {% assign imageLink = '' %} {% if product.images.size > 0 %} {% assign imageLink = product.images[0].src | img_url: 'original' %} {% endif %} {% assign alternateImageLink = imageLink %} {% if product.images.size > 1 %} {% assign alternateImageLink = product.images[1].src | img_url: 'original' %} {% endif %} {% if imageLink != '' %} {% if true %} {% else %} {% endif %} {% if 'none' == 'zoom' %} {% endif %} {% if 'none' == 'alternate' %} {% endif %} {% else %} This product has no images. {% endif %} {% if true %} {% else %} {% endif %} {{product.title}} {% assign defaultVariantIndex = 1 %} {% for variant in product.variants %} {% if variant.available %} {% assign defaultVariantIndex = forloop.index %} {% break %} {% endif %} {% endfor %} {% assign decimalNumber = 2 | at_least: 0 | at_most: 24 %} {% assign moneyFormatParts = shop.money_format | split: '{{' %} {% assign currencySymbol = moneyFormatParts[0] | strip_html %} {% if currencySymbol == '' %} {% assign moneyFormatParts = shop.money_format | split: '}}' %} {% assign currencySymbol = moneyFormatParts[1] | strip_html %} {% endif %} {% assign currencyToken = currencySymbol %} {% assign data = 'data-decimal-token="," data-decimal-number="' | append: decimalNumber | append: '" ' %} {% for variant in product.variants %} {% assign variantPrice = variant.price | divided_by: 100.0 %} {% assign price = variantPrice | round: decimalNumber | string %} {% assign priceParts = price | split: '.' %} {% assign priceIntegral = priceParts[0] %} {% assign priceIntegralLength = priceIntegral | size %} {% assign priceIntegralDigits = priceIntegral | split: '' %} {% assign priceIntegral = '' %} {% for digit in priceIntegralDigits %} {% assign periodIndex = priceIntegralLength | minus: forloop.index %} {% assign periodIndex = periodIndex | plus: 1 %} {% assign periodIndex = periodIndex | modulo: 3 %} {% if forloop.index != 1 and periodIndex == 0 %} {% assign priceIntegral = priceIntegral | append: '.' %} {% endif %} {% assign priceIntegral = priceIntegral | append: digit %} {% endfor %} {% assign priceFractional = priceParts[1] | append: '000000000000000000000000' | truncate: decimalNumber, '' %} {% if decimalNumber > 0 %} {% assign price = priceIntegral | append: ',' | append: priceFractional %} {% else %} {% assign price = priceIntegral %} {% endif %} {% assign oriPrice = variant.compare_at_price %} {% if oriPrice %} {% assign oriPrice = oriPrice | divided_by: 100.0 %} {% else %} {% assign oriPrice = 0 %} {% endif %} {% if true and oriPrice > variantPrice %} {% assign oriPrice = oriPrice | round: decimalNumber | string %} {% assign oriPriceParts = oriPrice | split: '.' %} {% assign oriPriceIntegral = oriPriceParts[0] %} {% assign oriPriceIntegralLength = oriPriceIntegral | size %} {% assign oriPriceIntegralDigits = oriPriceIntegral | split: '' %} {% assign oriPriceIntegral = '' %} {% for digit in oriPriceIntegralDigits %} {% assign periodIndex = oriPriceIntegralLength | minus: forloop.index %} {% assign periodIndex = periodIndex | plus: 1 %} {% assign periodIndex = periodIndex | modulo: 3 %} {% if forloop.index != 1 and periodIndex == 0 %} {% assign oriPriceIntegral = oriPriceIntegral | append: '.' %} {% endif %} {% assign oriPriceIntegral = oriPriceIntegral | append: digit %} {% endfor %} {% assign oriPriceFractional = oriPriceParts[1] | append: '000000000000000000000000' | truncate: decimalNumber, '' %} {% if decimalNumber > 0 %} {% assign oriPrice = oriPriceIntegral | append: ',' | append: oriPriceFractional %} {% else %} {% assign oriPrice = oriPriceIntegral %} {% endif %} {% else %} {% assign oriPrice = '' %} {% endif %} {% assign data = data | append: 'data-price-' | append: variant.id | append: '="' | append: price | append: '" ' %} {% assign data = data | append: 'data-ori-price-' | append: variant.id | append: '="' | append: oriPrice | append: '" ' %} {% if forloop.index == defaultVariantIndex %} {% assign data = data | append: 'data-variant="' | append: variant.id | append: '" ' %} {{currencyToken}} {{priceIntegral}}{% if decimalNumber > 0 %},{{priceFractional}}{% endif %}   {{currencyToken}} {{oriPrice}} {% endif %} {% endfor %} VEZI OFERTA {% endfor %} {% if 'false' == 'true' %} {% assign prevLink = '' %} {% if paginate.current_page > 1 %} {% assign prevPage = paginate.current_page | minus: 1 %} {% assign prevLink = '?page=' | append: prevPage %} {% endif %} {% assign nextLink = '' %} {% if paginate.current_page < paginate.pages %} {% assign nextPage = paginate.current_page | plus: 1 %} {% assign nextLink = '?page=' | append: nextPage %} {% endif %} {{ paginate.current_page }} {% endif %} {% endpaginate %} {% else %} {% if 'Black Friday Casa si Decoratiuni' == '' %} Please choose collection to show products from sidebar. {% else %} No products found. Please add some products to the collection first. {% endif %} {% endif %} {% assign collection = oriCollection %} BAIE SI SANITARE {% assign oriCollection = collection %} {% assign collection = collections['black-friday-casa-si-decoratiuni'] %} {% assign productCount = collection.products | size | at_most: 6 %} {% if productCount > 0 %} {% paginate collection.products by 6 %} {% for product in collection.products limit:productCount %} {% assign imageLink = '' %} {% if product.images.size > 0 %} {% assign imageLink = product.images[0].src | img_url: 'original' %} {% endif %} {% assign alternateImageLink = imageLink %} {% if product.images.size > 1 %} {% assign alternateImageLink = product.images[1].src | img_url: 'original' %} {% endif %} {% if imageLink != '' %} {% if true %} {% else %} {% endif %} {% if 'none' == 'zoom' %} {% endif %} {% if 'none' == 'alternate' %} {% endif %} {% else %} This product has no images. {% endif %} {% if true %} {% else %} {% endif %} {{product.title}} {% assign defaultVariantIndex = 1 %} {% for variant in product.variants %} {% if variant.available %} {% assign defaultVariantIndex = forloop.index %} {% break %} {% endif %} {% endfor %} {% assign decimalNumber = 2 | at_least: 0 | at_most: 24 %} {% assign moneyFormatParts = shop.money_format | split: '{{' %} {% assign currencySymbol = moneyFormatParts[0] | strip_html %} {% if currencySymbol == '' %} {% assign moneyFormatParts = shop.money_format | split: '}}' %} {% assign currencySymbol = moneyFormatParts[1] | strip_html %} {% endif %} {% assign currencyToken = currencySymbol %} {% assign data = 'data-decimal-token="," data-decimal-number="' | append: decimalNumber | append: '" ' %} {% for variant in product.variants %} {% assign variantPrice = variant.price | divided_by: 100.0 %} {% assign price = variantPrice | round: decimalNumber | string %} {% assign priceParts = price | split: '.' %} {% assign priceIntegral = priceParts[0] %} {% assign priceIntegralLength = priceIntegral | size %} {% assign priceIntegralDigits = priceIntegral | split: '' %} {% assign priceIntegral = '' %} {% for digit in priceIntegralDigits %} {% assign periodIndex = priceIntegralLength | minus: forloop.index %} {% assign periodIndex = periodIndex | plus: 1 %} {% assign periodIndex = periodIndex | modulo: 3 %} {% if forloop.index != 1 and periodIndex == 0 %} {% assign priceIntegral = priceIntegral | append: '.' %} {% endif %} {% assign priceIntegral = priceIntegral | append: digit %} {% endfor %} {% assign priceFractional = priceParts[1] | append: '000000000000000000000000' | truncate: decimalNumber, '' %} {% if decimalNumber > 0 %} {% assign price = priceIntegral | append: ',' | append: priceFractional %} {% else %} {% assign price = priceIntegral %} {% endif %} {% assign oriPrice = variant.compare_at_price %} {% if oriPrice %} {% assign oriPrice = oriPrice | divided_by: 100.0 %} {% else %} {% assign oriPrice = 0 %} {% endif %} {% if true and oriPrice > variantPrice %} {% assign oriPrice = oriPrice | round: decimalNumber | string %} {% assign oriPriceParts = oriPrice | split: '.' %} {% assign oriPriceIntegral = oriPriceParts[0] %} {% assign oriPriceIntegralLength = oriPriceIntegral | size %} {% assign oriPriceIntegralDigits = oriPriceIntegral | split: '' %} {% assign oriPriceIntegral = '' %} {% for digit in oriPriceIntegralDigits %} {% assign periodIndex = oriPriceIntegralLength | minus: forloop.index %} {% assign periodIndex = periodIndex | plus: 1 %} {% assign periodIndex = periodIndex | modulo: 3 %} {% if forloop.index != 1 and periodIndex == 0 %} {% assign oriPriceIntegral = oriPriceIntegral | append: '.' %} {% endif %} {% assign oriPriceIntegral = oriPriceIntegral | append: digit %} {% endfor %} {% assign oriPriceFractional = oriPriceParts[1] | append: '000000000000000000000000' | truncate: decimalNumber, '' %} {% if decimalNumber > 0 %} {% assign oriPrice = oriPriceIntegral | append: ',' | append: oriPriceFractional %} {% else %} {% assign oriPrice = oriPriceIntegral %} {% endif %} {% else %} {% assign oriPrice = '' %} {% endif %} {% assign data = data | append: 'data-price-' | append: variant.id | append: '="' | append: price | append: '" ' %} {% assign data = data | append: 'data-ori-price-' | append: variant.id | append: '="' | append: oriPrice | append: '" ' %} {% if forloop.index == defaultVariantIndex %} {% assign data = data | append: 'data-variant="' | append: variant.id | append: '" ' %} {{currencyToken}} {{priceIntegral}}{% if decimalNumber > 0 %},{{priceFractional}}{% endif %}   {{currencyToken}} {{oriPrice}} {% endif %} {% endfor %} VEZI OFERTA {% endfor %} {% if 'false' == 'true' %} {% assign prevLink = '' %} {% if paginate.current_page > 1 %} {% assign prevPage = paginate.current_page | minus: 1 %} {% assign prevLink = '?page=' | append: prevPage %} {% endif %} {% assign nextLink = '' %} {% if paginate.current_page < paginate.pages %} {% assign nextPage = paginate.current_page | plus: 1 %} {% assign nextLink = '?page=' | append: nextPage %} {% endif %} {{ paginate.current_page }} {% endif %} {% endpaginate %} {% else %} {% if 'Black Friday Casa si Decoratiuni' == '' %} Please choose collection to show products from sidebar. {% else %} No products found. Please add some products to the collection first. {% endif %} {% endif %} {% assign collection = oriCollection %} TEXTILE SI LENJERII {% assign oriCollection = collection %} {% assign collection = collections['black-friday-casa-si-decoratiuni'] %} {% assign productCount = collection.products | size | at_most: 6 %} {% if productCount > 0 %} {% paginate collection.products by 6 %} {% for product in collection.products limit:productCount %} {% assign imageLink = '' %} {% if product.images.size > 0 %} {% assign imageLink = product.images[0].src | img_url: 'original' %} {% endif %} {% assign alternateImageLink = imageLink %} {% if product.images.size > 1 %} {% assign alternateImageLink = product.images[1].src | img_url: 'original' %} {% endif %} {% if imageLink != '' %} {% if true %} {% else %} {% endif %} {% if 'none' == 'zoom' %} {% endif %} {% if 'none' == 'alternate' %} {% endif %} {% else %} This product has no images. {% endif %} {% if true %} {% else %} {% endif %} {{product.title}} {% assign defaultVariantIndex = 1 %} {% for variant in product.variants %} {% if variant.available %} {% assign defaultVariantIndex = forloop.index %} {% break %} {% endif %} {% endfor %} {% assign decimalNumber = 2 | at_least: 0 | at_most: 24 %} {% assign moneyFormatParts = shop.money_format | split: '{{' %} {% assign currencySymbol = moneyFormatParts[0] | strip_html %} {% if currencySymbol == '' %} {% assign moneyFormatParts = shop.money_format | split: '}}' %} {% assign currencySymbol = moneyFormatParts[1] | strip_html %} {% endif %} {% assign currencyToken = currencySymbol %} {% assign data = 'data-decimal-token="," data-decimal-number="' | append: decimalNumber | append: '" ' %} {% for variant in product.variants %} {% assign variantPrice = variant.price | divided_by: 100.0 %} {% assign price = variantPrice | round: decimalNumber | string %} {% assign priceParts = price | split: '.' %} {% assign priceIntegral = priceParts[0] %} {% assign priceIntegralLength = priceIntegral | size %} {% assign priceIntegralDigits = priceIntegral | split: '' %} {% assign priceIntegral = '' %} {% for digit in priceIntegralDigits %} {% assign periodIndex = priceIntegralLength | minus: forloop.index %} {% assign periodIndex = periodIndex | plus: 1 %} {% assign periodIndex = periodIndex | modulo: 3 %} {% if forloop.index != 1 and periodIndex == 0 %} {% assign priceIntegral = priceIntegral | append: '.' %} {% endif %} {% assign priceIntegral = priceIntegral | append: digit %} {% endfor %} {% assign priceFractional = priceParts[1] | append: '000000000000000000000000' | truncate: decimalNumber, '' %} {% if decimalNumber > 0 %} {% assign price = priceIntegral | append: ',' | append: priceFractional %} {% else %} {% assign price = priceIntegral %} {% endif %} {% assign oriPrice = variant.compare_at_price %} {% if oriPrice %} {% assign oriPrice = oriPrice | divided_by: 100.0 %} {% else %} {% assign oriPrice = 0 %} {% endif %} {% if true and oriPrice > variantPrice %} {% assign oriPrice = oriPrice | round: decimalNumber | string %} {% assign oriPriceParts = oriPrice | split: '.' %} {% assign oriPriceIntegral = oriPriceParts[0] %} {% assign oriPriceIntegralLength = oriPriceIntegral | size %} {% assign oriPriceIntegralDigits = oriPriceIntegral | split: '' %} {% assign oriPriceIntegral = '' %} {% for digit in oriPriceIntegralDigits %} {% assign periodIndex = oriPriceIntegralLength | minus: forloop.index %} {% assign periodIndex = periodIndex | plus: 1 %} {% assign periodIndex = periodIndex | modulo: 3 %} {% if forloop.index != 1 and periodIndex == 0 %} {% assign oriPriceIntegral = oriPriceIntegral | append: '.' %} {% endif %} {% assign oriPriceIntegral = oriPriceIntegral | append: digit %} {% endfor %} {% assign oriPriceFractional = oriPriceParts[1] | append: '000000000000000000000000' | truncate: decimalNumber, '' %} {% if decimalNumber > 0 %} {% assign oriPrice = oriPriceIntegral | append: ',' | append: oriPriceFractional %} {% else %} {% assign oriPrice = oriPriceIntegral %} {% endif %} {% else %} {% assign oriPrice = '' %} {% endif %} {% assign data = data | append: 'data-price-' | append: variant.id | append: '="' | append: price | append: '" ' %} {% assign data = data | append: 'data-ori-price-' | append: variant.id | append: '="' | append: oriPrice | append: '" ' %} {% if forloop.index == defaultVariantIndex %} {% assign data = data | append: 'data-variant="' | append: variant.id | append: '" ' %} {{currencyToken}} {{priceIntegral}}{% if decimalNumber > 0 %},{{priceFractional}}{% endif %}   {{currencyToken}} {{oriPrice}} {% endif %} {% endfor %} VEZI OFERTA {% endfor %} {% if 'false' == 'true' %} {% assign prevLink = '' %} {% if paginate.current_page > 1 %} {% assign prevPage = paginate.current_page | minus: 1 %} {% assign prevLink = '?page=' | append: prevPage %} {% endif %} {% assign nextLink = '' %} {% if paginate.current_page < paginate.pages %} {% assign nextPage = paginate.current_page | plus: 1 %} {% assign nextLink = '?page=' | append: nextPage %} {% endif %} {{ paginate.current_page }} {% endif %} {% endpaginate %} {% else %} {% if 'Black Friday Casa si Decoratiuni' == '' %} Please choose collection to show products from sidebar. {% else %} No products found. Please add some products to the collection first. {% endif %} {% endif %} {% assign collection = oriCollection %} {% assign oriCollection = collection %} {% assign collection = collections['black-friday-casa-si-decoratiuni'] %} {% assign productCount = collection.products | size | at_most: 6 %} {% if productCount > 0 %} {% paginate collection.products by 6 %} {% for product in collection.products limit:productCount %} {% assign imageLink = '' %} {% if product.images.size > 0 %} {% assign imageLink = product.images[0].src | img_url: 'original' %} {% endif %} {% assign alternateImageLink = imageLink %} {% if product.images.size > 1 %} {% assign alternateImageLink = product.images[1].src | img_url: 'original' %} {% endif %} {% if imageLink != '' %} {% if true %} {% else %} {% endif %} {% if 'none' == 'zoom' %} {% endif %} {% if 'none' == 'alternate' %} {% endif %} {% else %} This product has no images. {% endif %} {% if true %} {% else %} {% endif %} {{product.title}} {% assign defaultVariantIndex = 1 %} {% for variant in product.variants %} {% if variant.available %} {% assign defaultVariantIndex = forloop.index %} {% break %} {% endif %} {% endfor %} {% assign decimalNumber = 2 | at_least: 0 | at_most: 24 %} {% assign moneyFormatParts = shop.money_format | split: '{{' %} {% assign currencySymbol = moneyFormatParts[0] | strip_html %} {% if currencySymbol == '' %} {% assign moneyFormatParts = shop.money_format | split: '}}' %} {% assign currencySymbol = moneyFormatParts[1] | strip_html %} {% endif %} {% assign currencyToken = currencySymbol %} {% assign data = 'data-decimal-token="," data-decimal-number="' | append: decimalNumber | append: '" ' %} {% for variant in product.variants %} {% assign variantPrice = variant.price | divided_by: 100.0 %} {% assign price = variantPrice | round: decimalNumber | string %} {% assign priceParts = price | split: '.' %} {% assign priceIntegral = priceParts[0] %} {% assign priceIntegralLength = priceIntegral | size %} {% assign priceIntegralDigits = priceIntegral | split: '' %} {% assign priceIntegral = '' %} {% for digit in priceIntegralDigits %} {% assign periodIndex = priceIntegralLength | minus: forloop.index %} {% assign periodIndex = periodIndex | plus: 1 %} {% assign periodIndex = periodIndex | modulo: 3 %} {% if forloop.index != 1 and periodIndex == 0 %} {% assign priceIntegral = priceIntegral | append: '.' %} {% endif %} {% assign priceIntegral = priceIntegral | append: digit %} {% endfor %} {% assign priceFractional = priceParts[1] | append: '000000000000000000000000' | truncate: decimalNumber, '' %} {% if decimalNumber > 0 %} {% assign price = priceIntegral | append: ',' | append: priceFractional %} {% else %} {% assign price = priceIntegral %} {% endif %} {% assign oriPrice = variant.compare_at_price %} {% if oriPrice %} {% assign oriPrice = oriPrice | divided_by: 100.0 %} {% else %} {% assign oriPrice = 0 %} {% endif %} {% if true and oriPrice > variantPrice %} {% assign oriPrice = oriPrice | round: decimalNumber | string %} {% assign oriPriceParts = oriPrice | split: '.' %} {% assign oriPriceIntegral = oriPriceParts[0] %} {% assign oriPriceIntegralLength = oriPriceIntegral | size %} {% assign oriPriceIntegralDigits = oriPriceIntegral | split: '' %} {% assign oriPriceIntegral = '' %} {% for digit in oriPriceIntegralDigits %} {% assign periodIndex = oriPriceIntegralLength | minus: forloop.index %} {% assign periodIndex = periodIndex | plus: 1 %} {% assign periodIndex = periodIndex | modulo: 3 %} {% if forloop.index != 1 and periodIndex == 0 %} {% assign oriPriceIntegral = oriPriceIntegral | append: '.' %} {% endif %} {% assign oriPriceIntegral = oriPriceIntegral | append: digit %} {% endfor %} {% assign oriPriceFractional = oriPriceParts[1] | append: '000000000000000000000000' | truncate: decimalNumber, '' %} {% if decimalNumber > 0 %} {% assign oriPrice = oriPriceIntegral | append: ',' | append: oriPriceFractional %} {% else %} {% assign oriPrice = oriPriceIntegral %} {% endif %} {% else %} {% assign oriPrice = '' %} {% endif %} {% assign data = data | append: 'data-price-' | append: variant.id | append: '="' | append: price | append: '" ' %} {% assign data = data | append: 'data-ori-price-' | append: variant.id | append: '="' | append: oriPrice | append: '" ' %} {% if forloop.index == defaultVariantIndex %} {% assign data = data | append: 'data-variant="' | append: variant.id | append: '" ' %} {{currencyToken}} {{priceIntegral}}{% if decimalNumber > 0 %},{{priceFractional}}{% endif %}   {{currencyToken}} {{oriPrice}} {% endif %} {% endfor %} VEZI OFERTA {% endfor %} {% if 'false' == 'true' %} {% assign prevLink = '' %} {% if paginate.current_page > 1 %} {% assign prevPage = paginate.current_page | minus: 1 %} {% assign prevLink = '?page=' | append: prevPage %} {% endif %} {% assign nextLink = '' %} {% if paginate.current_page < paginate.pages %} {% assign nextPage = paginate.current_page | plus: 1 %} {% assign nextLink = '?page=' | append: nextPage %} {% endif %} {{ paginate.current_page }} {% endif %} {% endpaginate %} {% else %} {% if 'Black Friday Casa si Decoratiuni' == '' %} Please choose collection to show products from sidebar. {% else %} No products found. Please add some products to the collection first. {% endif %} {% endif %} {% assign collection = oriCollection %} {% assign oriCollection = collection %} {% assign collection = collections['black-friday-casa-si-decoratiuni'] %} {% assign productCount = collection.products | size | at_most: 6 %} {% if productCount > 0 %} {% paginate collection.products by 6 %} {% for product in collection.products limit:productCount %} {% assign imageLink = '' %} {% if product.images.size > 0 %} {% assign imageLink = product.images[0].src | img_url: 'original' %} {% endif %} {% assign alternateImageLink = imageLink %} {% if product.images.size > 1 %} {% assign alternateImageLink = product.images[1].src | img_url: 'original' %} {% endif %} {% if imageLink != '' %} {% if true %} {% else %} {% endif %} {% if 'none' == 'zoom' %} {% endif %} {% if 'none' == 'alternate' %} {% endif %} {% else %} This product has no images. {% endif %} {% if true %} {% else %} {% endif %} {{product.title}} {% assign defaultVariantIndex = 1 %} {% for variant in product.variants %} {% if variant.available %} {% assign defaultVariantIndex = forloop.index %} {% break %} {% endif %} {% endfor %} {% assign decimalNumber = 2 | at_least: 0 | at_most: 24 %} {% assign moneyFormatParts = shop.money_format | split: '{{' %} {% assign currencySymbol = moneyFormatParts[0] | strip_html %} {% if currencySymbol == '' %} {% assign moneyFormatParts = shop.money_format | split: '}}' %} {% assign currencySymbol = moneyFormatParts[1] | strip_html %} {% endif %} {% assign currencyToken = currencySymbol %} {% assign data = 'data-decimal-token="," data-decimal-number="' | append: decimalNumber | append: '" ' %} {% for variant in product.variants %} {% assign variantPrice = variant.price | divided_by: 100.0 %} {% assign price = variantPrice | round: decimalNumber | string %} {% assign priceParts = price | split: '.' %} {% assign priceIntegral = priceParts[0] %} {% assign priceIntegralLength = priceIntegral | size %} {% assign priceIntegralDigits = priceIntegral | split: '' %} {% assign priceIntegral = '' %} {% for digit in priceIntegralDigits %} {% assign periodIndex = priceIntegralLength | minus: forloop.index %} {% assign periodIndex = periodIndex | plus: 1 %} {% assign periodIndex = periodIndex | modulo: 3 %} {% if forloop.index != 1 and periodIndex == 0 %} {% assign priceIntegral = priceIntegral | append: '.' %} {% endif %} {% assign priceIntegral = priceIntegral | append: digit %} {% endfor %} {% assign priceFractional = priceParts[1] | append: '000000000000000000000000' | truncate: decimalNumber, '' %} {% if decimalNumber > 0 %} {% assign price = priceIntegral | append: ',' | append: priceFractional %} {% else %} {% assign price = priceIntegral %} {% endif %} {% assign oriPrice = variant.compare_at_price %} {% if oriPrice %} {% assign oriPrice = oriPrice | divided_by: 100.0 %} {% else %} {% assign oriPrice = 0 %} {% endif %} {% if true and oriPrice > variantPrice %} {% assign oriPrice = oriPrice | round: decimalNumber | string %} {% assign oriPriceParts = oriPrice | split: '.' %} {% assign oriPriceIntegral = oriPriceParts[0] %} {% assign oriPriceIntegralLength = oriPriceIntegral | size %} {% assign oriPriceIntegralDigits = oriPriceIntegral | split: '' %} {% assign oriPriceIntegral = '' %} {% for digit in oriPriceIntegralDigits %} {% assign periodIndex = oriPriceIntegralLength | minus: forloop.index %} {% assign periodIndex = periodIndex | plus: 1 %} {% assign periodIndex = periodIndex | modulo: 3 %} {% if forloop.index != 1 and periodIndex == 0 %} {% assign oriPriceIntegral = oriPriceIntegral | append: '.' %} {% endif %} {% assign oriPriceIntegral = oriPriceIntegral | append: digit %} {% endfor %} {% assign oriPriceFractional = oriPriceParts[1] | append: '000000000000000000000000' | truncate: decimalNumber, '' %} {% if decimalNumber > 0 %} {% assign oriPrice = oriPriceIntegral | append: ',' | append: oriPriceFractional %} {% else %} {% assign oriPrice = oriPriceIntegral %} {% endif %} {% else %} {% assign oriPrice = '' %} {% endif %} {% assign data = data | append: 'data-price-' | append: variant.id | append: '="' | append: price | append: '" ' %} {% assign data = data | append: 'data-ori-price-' | append: variant.id | append: '="' | append: oriPrice | append: '" ' %} {% if forloop.index == defaultVariantIndex %} {% assign data = data | append: 'data-variant="' | append: variant.id | append: '" ' %} {{currencyToken}} {{priceIntegral}}{% if decimalNumber > 0 %},{{priceFractional}}{% endif %}   {{currencyToken}} {{oriPrice}} {% endif %} {% endfor %} VEZI OFERTA {% endfor %} {% if 'false' == 'true' %} {% assign prevLink = '' %} {% if paginate.current_page > 1 %} {% assign prevPage = paginate.current_page | minus: 1 %} {% assign prevLink = '?page=' | append: prevPage %} {% endif %} {% assign nextLink = '' %} {% if paginate.current_page < paginate.pages %} {% assign nextPage = paginate.current_page | plus: 1 %} {% assign nextLink = '?page=' | append: nextPage %} {% endif %} {{ paginate.current_page }} {% endif %} {% endpaginate %} {% else %} {% if 'Black Friday Casa si Decoratiuni' == '' %} Please choose collection to show products from sidebar. {% else %} No products found. Please add some products to the collection first. {% endif %} {% endif %} {% assign collection = oriCollection %} {% assign oriCollection = collection %} {% assign collection = collections['black-friday-casa-si-decoratiuni'] %} {% assign productCount = collection.products | size | at_most: 6 %} {% if productCount > 0 %} {% paginate collection.products by 6 %} {% for product in collection.products limit:productCount %} {% assign imageLink = '' %} {% if product.images.size > 0 %} {% assign imageLink = product.images[0].src | img_url: 'original' %} {% endif %} {% assign alternateImageLink = imageLink %} {% if product.images.size > 1 %} {% assign alternateImageLink = product.images[1].src | img_url: 'original' %} {% endif %} {% if imageLink != '' %} {% if true %} {% else %} {% endif %} {% if 'none' == 'zoom' %} {% endif %} {% if 'none' == 'alternate' %} {% endif %} {% else %} This product has no images. {% endif %} {% if true %} {% else %} {% endif %} {{product.title}} {% assign defaultVariantIndex = 1 %} {% for variant in product.variants %} {% if variant.available %} {% assign defaultVariantIndex = forloop.index %} {% break %} {% endif %} {% endfor %} {% assign decimalNumber = 2 | at_least: 0 | at_most: 24 %} {% assign moneyFormatParts = shop.money_format | split: '{{' %} {% assign currencySymbol = moneyFormatParts[0] | strip_html %} {% if currencySymbol == '' %} {% assign moneyFormatParts = shop.money_format | split: '}}' %} {% assign currencySymbol = moneyFormatParts[1] | strip_html %} {% endif %} {% assign currencyToken = currencySymbol %} {% assign data = 'data-decimal-token="," data-decimal-number="' | append: decimalNumber | append: '" ' %} {% for variant in product.variants %} {% assign variantPrice = variant.price | divided_by: 100.0 %} {% assign price = variantPrice | round: decimalNumber | string %} {% assign priceParts = price | split: '.' %} {% assign priceIntegral = priceParts[0] %} {% assign priceIntegralLength = priceIntegral | size %} {% assign priceIntegralDigits = priceIntegral | split: '' %} {% assign priceIntegral = '' %} {% for digit in priceIntegralDigits %} {% assign periodIndex = priceIntegralLength | minus: forloop.index %} {% assign periodIndex = periodIndex | plus: 1 %} {% assign periodIndex = periodIndex | modulo: 3 %} {% if forloop.index != 1 and periodIndex == 0 %} {% assign priceIntegral = priceIntegral | append: '.' %} {% endif %} {% assign priceIntegral = priceIntegral | append: digit %} {% endfor %} {% assign priceFractional = priceParts[1] | append: '000000000000000000000000' | truncate: decimalNumber, '' %} {% if decimalNumber > 0 %} {% assign price = priceIntegral | append: ',' | append: priceFractional %} {% else %} {% assign price = priceIntegral %} {% endif %} {% assign oriPrice = variant.compare_at_price %} {% if oriPrice %} {% assign oriPrice = oriPrice | divided_by: 100.0 %} {% else %} {% assign oriPrice = 0 %} {% endif %} {% if true and oriPrice > variantPrice %} {% assign oriPrice = oriPrice | round: decimalNumber | string %} {% assign oriPriceParts = oriPrice | split: '.' %} {% assign oriPriceIntegral = oriPriceParts[0] %} {% assign oriPriceIntegralLength = oriPriceIntegral | size %} {% assign oriPriceIntegralDigits = oriPriceIntegral | split: '' %} {% assign oriPriceIntegral = '' %} {% for digit in oriPriceIntegralDigits %} {% assign periodIndex = oriPriceIntegralLength | minus: forloop.index %} {% assign periodIndex = periodIndex | plus: 1 %} {% assign periodIndex = periodIndex | modulo: 3 %} {% if forloop.index != 1 and periodIndex == 0 %} {% assign oriPriceIntegral = oriPriceIntegral | append: '.' %} {% endif %} {% assign oriPriceIntegral = oriPriceIntegral | append: digit %} {% endfor %} {% assign oriPriceFractional = oriPriceParts[1] | append: '000000000000000000000000' | truncate: decimalNumber, '' %} {% if decimalNumber > 0 %} {% assign oriPrice = oriPriceIntegral | append: ',' | append: oriPriceFractional %} {% else %} {% assign oriPrice = oriPriceIntegral %} {% endif %} {% else %} {% assign oriPrice = '' %} {% endif %} {% assign data = data | append: 'data-price-' | append: variant.id | append: '="' | append: price | append: '" ' %} {% assign data = data | append: 'data-ori-price-' | append: variant.id | append: '="' | append: oriPrice | append: '" ' %} {% if forloop.index == defaultVariantIndex %} {% assign data = data | append: 'data-variant="' | append: variant.id | append: '" ' %} {{currencyToken}} {{priceIntegral}}{% if decimalNumber > 0 %},{{priceFractional}}{% endif %}   {{currencyToken}} {{oriPrice}} {% endif %} {% endfor %} VEZI OFERTA {% endfor %} {% if 'false' == 'true' %} {% assign prevLink = '' %} {% if paginate.current_page > 1 %} {% assign prevPage = paginate.current_page | minus: 1 %} {% assign prevLink = '?page=' | append: prevPage %} {% endif %} {% assign nextLink = '' %} {% if paginate.current_page < paginate.pages %} {% assign nextPage = paginate.current_page | plus: 1 %} {% assign nextLink = '?page=' | append: nextPage %} {% endif %} {{ paginate.current_page }} {% endif %} {% endpaginate %} {% else %} {% if 'Black Friday Casa si Decoratiuni' == '' %} Please choose collection to show products from sidebar. {% else %} No products found. Please add some products to the collection first. {% endif %} {% endif %} {% assign collection = oriCollection %} {% assign oriCollection = collection %} {% assign collection = collections['black-friday-casa-si-decoratiuni'] %} {% assign productCount = collection.products | size | at_most: 6 %} {% if productCount > 0 %} {% paginate collection.products by 6 %} {% for product in collection.products limit:productCount %} {% assign imageLink = '' %} {% if product.images.size > 0 %} {% assign imageLink = product.images[0].src | img_url: 'original' %} {% endif %} {% assign alternateImageLink = imageLink %} {% if product.images.size > 1 %} {% assign alternateImageLink = product.images[1].src | img_url: 'original' %} {% endif %} {% if imageLink != '' %} {% if true %} {% else %} {% endif %} {% if 'none' == 'zoom' %} {% endif %} {% if 'none' == 'alternate' %} {% endif %} {% else %} This product has no images. {% endif %} {% if true %} {% else %} {% endif %} {{product.title}} {% assign defaultVariantIndex = 1 %} {% for variant in product.variants %} {% if variant.available %} {% assign defaultVariantIndex = forloop.index %} {% break %} {% endif %} {% endfor %} {% assign decimalNumber = 2 | at_least: 0 | at_most: 24 %} {% assign moneyFormatParts = shop.money_format | split: '{{' %} {% assign currencySymbol = moneyFormatParts[0] | strip_html %} {% if currencySymbol == '' %} {% assign moneyFormatParts = shop.money_format | split: '}}' %} {% assign currencySymbol = moneyFormatParts[1] | strip_html %} {% endif %} {% assign currencyToken = currencySymbol %} {% assign data = 'data-decimal-token="," data-decimal-number="' | append: decimalNumber | append: '" ' %} {% for variant in product.variants %} {% assign variantPrice = variant.price | divided_by: 100.0 %} {% assign price = variantPrice | round: decimalNumber | string %} {% assign priceParts = price | split: '.' %} {% assign priceIntegral = priceParts[0] %} {% assign priceIntegralLength = priceIntegral | size %} {% assign priceIntegralDigits = priceIntegral | split: '' %} {% assign priceIntegral = '' %} {% for digit in priceIntegralDigits %} {% assign periodIndex = priceIntegralLength | minus: forloop.index %} {% assign periodIndex = periodIndex | plus: 1 %} {% assign periodIndex = periodIndex | modulo: 3 %} {% if forloop.index != 1 and periodIndex == 0 %} {% assign priceIntegral = priceIntegral | append: '.' %} {% endif %} {% assign priceIntegral = priceIntegral | append: digit %} {% endfor %} {% assign priceFractional = priceParts[1] | append: '000000000000000000000000' | truncate: decimalNumber, '' %} {% if decimalNumber > 0 %} {% assign price = priceIntegral | append: ',' | append: priceFractional %} {% else %} {% assign price = priceIntegral %} {% endif %} {% assign oriPrice = variant.compare_at_price %} {% if oriPrice %} {% assign oriPrice = oriPrice | divided_by: 100.0 %} {% else %} {% assign oriPrice = 0 %} {% endif %} {% if true and oriPrice > variantPrice %} {% assign oriPrice = oriPrice | round: decimalNumber | string %} {% assign oriPriceParts = oriPrice | split: '.' %} {% assign oriPriceIntegral = oriPriceParts[0] %} {% assign oriPriceIntegralLength = oriPriceIntegral | size %} {% assign oriPriceIntegralDigits = oriPriceIntegral | split: '' %} {% assign oriPriceIntegral = '' %} {% for digit in oriPriceIntegralDigits %} {% assign periodIndex = oriPriceIntegralLength | minus: forloop.index %} {% assign periodIndex = periodIndex | plus: 1 %} {% assign periodIndex = periodIndex | modulo: 3 %} {% if forloop.index != 1 and periodIndex == 0 %} {% assign oriPriceIntegral = oriPriceIntegral | append: '.' %} {% endif %} {% assign oriPriceIntegral = oriPriceIntegral | append: digit %} {% endfor %} {% assign oriPriceFractional = oriPriceParts[1] | append: '000000000000000000000000' | truncate: decimalNumber, '' %} {% if decimalNumber > 0 %} {% assign oriPrice = oriPriceIntegral | append: ',' | append: oriPriceFractional %} {% else %} {% assign oriPrice = oriPriceIntegral %} {% endif %} {% else %} {% assign oriPrice = '' %} {% endif %} {% assign data = data | append: 'data-price-' | append: variant.id | append: '="' | append: price | append: '" ' %} {% assign data = data | append: 'data-ori-price-' | append: variant.id | append: '="' | append: oriPrice | append: '" ' %} {% if forloop.index == defaultVariantIndex %} {% assign data = data | append: 'data-variant="' | append: variant.id | append: '" ' %} {{currencyToken}} {{priceIntegral}}{% if decimalNumber > 0 %},{{priceFractional}}{% endif %}   {{currencyToken}} {{oriPrice}} {% endif %} {% endfor %} VEZI OFERTA {% endfor %} {% if 'false' == 'true' %} {% assign prevLink = '' %} {% if paginate.current_page > 1 %} {% assign prevPage = paginate.current_page | minus: 1 %} {% assign prevLink = '?page=' | append: prevPage %} {% endif %} {% assign nextLink = '' %} {% if paginate.current_page < paginate.pages %} {% assign nextPage = paginate.current_page | plus: 1 %} {% assign nextLink = '?page=' | append: nextPage %} {% endif %} {{ paginate.current_page }} {% endif %} {% endpaginate %} {% else %} {% if 'Black Friday Casa si Decoratiuni' == '' %} Please choose collection to show products from sidebar. {% else %} No products found. Please add some products to the collection first. {% endif %} {% endif %} {% assign collection = oriCollection %} ELECTRONICE SI ELECTROCASNICE {% assign oriCollection = collection %} {% assign collection = collections['black-friday-casa-si-decoratiuni'] %} {% assign productCount = collection.products | size | at_most: 6 %} {% if productCount > 0 %} {% paginate collection.products by 6 %} {% for product in collection.products limit:productCount %} {% assign imageLink = '' %} {% if product.images.size > 0 %} {% assign imageLink = product.images[0].src | img_url: 'original' %} {% endif %} {% assign alternateImageLink = imageLink %} {% if product.images.size > 1 %} {% assign alternateImageLink = product.images[1].src | img_url: 'original' %} {% endif %} {% if imageLink != '' %} {% if true %} {% else %} {% endif %} {% if 'none' == 'zoom' %} {% endif %} {% if 'none' == 'alternate' %} {% endif %} {% else %} This product has no images. {% endif %} {% if true %} {% else %} {% endif %} {{product.title}} {% assign defaultVariantIndex = 1 %} {% for variant in product.variants %} {% if variant.available %} {% assign defaultVariantIndex = forloop.index %} {% break %} {% endif %} {% endfor %} {% assign decimalNumber = 2 | at_least: 0 | at_most: 24 %} {% assign moneyFormatParts = shop.money_format | split: '{{' %} {% assign currencySymbol = moneyFormatParts[0] | strip_html %} {% if currencySymbol == '' %} {% assign moneyFormatParts = shop.money_format | split: '}}' %} {% assign currencySymbol = moneyFormatParts[1] | strip_html %} {% endif %} {% assign currencyToken = currencySymbol %} {% assign data = 'data-decimal-token="," data-decimal-number="' | append: decimalNumber | append: '" ' %} {% for variant in product.variants %} {% assign variantPrice = variant.price | divided_by: 100.0 %} {% assign price = variantPrice | round: decimalNumber | string %} {% assign priceParts = price | split: '.' %} {% assign priceIntegral = priceParts[0] %} {% assign priceIntegralLength = priceIntegral | size %} {% assign priceIntegralDigits = priceIntegral | split: '' %} {% assign priceIntegral = '' %} {% for digit in priceIntegralDigits %} {% assign periodIndex = priceIntegralLength | minus: forloop.index %} {% assign periodIndex = periodIndex | plus: 1 %} {% assign periodIndex = periodIndex | modulo: 3 %} {% if forloop.index != 1 and periodIndex == 0 %} {% assign priceIntegral = priceIntegral | append: '.' %} {% endif %} {% assign priceIntegral = priceIntegral | append: digit %} {% endfor %} {% assign priceFractional = priceParts[1] | append: '000000000000000000000000' | truncate: decimalNumber, '' %} {% if decimalNumber > 0 %} {% assign price = priceIntegral | append: ',' | append: priceFractional %} {% else %} {% assign price = priceIntegral %} {% endif %} {% assign oriPrice = variant.compare_at_price %} {% if oriPrice %} {% assign oriPrice = oriPrice | divided_by: 100.0 %} {% else %} {% assign oriPrice = 0 %} {% endif %} {% if true and oriPrice > variantPrice %} {% assign oriPrice = oriPrice | round: decimalNumber | string %} {% assign oriPriceParts = oriPrice | split: '.' %} {% assign oriPriceIntegral = oriPriceParts[0] %} {% assign oriPriceIntegralLength = oriPriceIntegral | size %} {% assign oriPriceIntegralDigits = oriPriceIntegral | split: '' %} {% assign oriPriceIntegral = '' %} {% for digit in oriPriceIntegralDigits %} {% assign periodIndex = oriPriceIntegralLength | minus: forloop.index %} {% assign periodIndex = periodIndex | plus: 1 %} {% assign periodIndex = periodIndex | modulo: 3 %} {% if forloop.index != 1 and periodIndex == 0 %} {% assign oriPriceIntegral = oriPriceIntegral | append: '.' %} {% endif %} {% assign oriPriceIntegral = oriPriceIntegral | append: digit %} {% endfor %} {% assign oriPriceFractional = oriPriceParts[1] | append: '000000000000000000000000' | truncate: decimalNumber, '' %} {% if decimalNumber > 0 %} {% assign oriPrice = oriPriceIntegral | append: ',' | append: oriPriceFractional %} {% else %} {% assign oriPrice = oriPriceIntegral %} {% endif %} {% else %} {% assign oriPrice = '' %} {% endif %} {% assign data = data | append: 'data-price-' | append: variant.id | append: '="' | append: price | append: '" ' %} {% assign data = data | append: 'data-ori-price-' | append: variant.id | append: '="' | append: oriPrice | append: '" ' %} {% if forloop.index == defaultVariantIndex %} {% assign data = data | append: 'data-variant="' | append: variant.id | append: '" ' %} {{currencyToken}} {{priceIntegral}}{% if decimalNumber > 0 %},{{priceFractional}}{% endif %}   {{currencyToken}} {{oriPrice}} {% endif %} {% endfor %} VEZI OFERTA {% endfor %} {% if 'false' == 'true' %} {% assign prevLink = '' %} {% if paginate.current_page > 1 %} {% assign prevPage = paginate.current_page | minus: 1 %} {% assign prevLink = '?page=' | append: prevPage %} {% endif %} {% assign nextLink = '' %} {% if paginate.current_page < paginate.pages %} {% assign nextPage = paginate.current_page | plus: 1 %} {% assign nextLink = '?page=' | append: nextPage %} {% endif %} {{ paginate.current_page }} {% endif %} {% endpaginate %} {% else %} {% if 'Black Friday Casa si Decoratiuni' == '' %} Please choose collection to show products from sidebar. {% else %} No products found. Please add some products to the collection first. {% endif %} {% endif %} {% assign collection = oriCollection %} SISTEME DE SUPRAVEGHERE {% assign oriCollection = collection %} {% assign collection = collections['black-friday-casa-si-decoratiuni'] %} {% assign productCount = collection.products | size | at_most: 6 %} {% if productCount > 0 %} {% paginate collection.products by 6 %} {% for product in collection.products limit:productCount %} {% assign imageLink = '' %} {% if product.images.size > 0 %} {% assign imageLink = product.images[0].src | img_url: 'original' %} {% endif %} {% assign alternateImageLink = imageLink %} {% if product.images.size > 1 %} {% assign alternateImageLink = product.images[1].src | img_url: 'original' %} {% endif %} {% if imageLink != '' %} {% if true %} {% else %} {% endif %} {% if 'none' == 'zoom' %} {% endif %} {% if 'none' == 'alternate' %} {% endif %} {% else %} This product has no images. {% endif %} {% if true %} {% else %} {% endif %} {{product.title}} {% assign defaultVariantIndex = 1 %} {% for variant in product.variants %} {% if variant.available %} {% assign defaultVariantIndex = forloop.index %} {% break %} {% endif %} {% endfor %} {% assign decimalNumber = 2 | at_least: 0 | at_most: 24 %} {% assign moneyFormatParts = shop.money_format | split: '{{' %} {% assign currencySymbol = moneyFormatParts[0] | strip_html %} {% if currencySymbol == '' %} {% assign moneyFormatParts = shop.money_format | split: '}}' %} {% assign currencySymbol = moneyFormatParts[1] | strip_html %} {% endif %} {% assign currencyToken = currencySymbol %} {% assign data = 'data-decimal-token="," data-decimal-number="' | append: decimalNumber | append: '" ' %} {% for variant in product.variants %} {% assign variantPrice = variant.price | divided_by: 100.0 %} {% assign price = variantPrice | round: decimalNumber | string %} {% assign priceParts = price | split: '.' %} {% assign priceIntegral = priceParts[0] %} {% assign priceIntegralLength = priceIntegral | size %} {% assign priceIntegralDigits = priceIntegral | split: '' %} {% assign priceIntegral = '' %} {% for digit in priceIntegralDigits %} {% assign periodIndex = priceIntegralLength | minus: forloop.index %} {% assign periodIndex = periodIndex | plus: 1 %} {% assign periodIndex = periodIndex | modulo: 3 %} {% if forloop.index != 1 and periodIndex == 0 %} {% assign priceIntegral = priceIntegral | append: '.' %} {% endif %} {% assign priceIntegral = priceIntegral | append: digit %} {% endfor %} {% assign priceFractional = priceParts[1] | append: '000000000000000000000000' | truncate: decimalNumber, '' %} {% if decimalNumber > 0 %} {% assign price = priceIntegral | append: ',' | append: priceFractional %} {% else %} {% assign price = priceIntegral %} {% endif %} {% assign oriPrice = variant.compare_at_price %} {% if oriPrice %} {% assign oriPrice = oriPrice | divided_by: 100.0 %} {% else %} {% assign oriPrice = 0 %} {% endif %} {% if true and oriPrice > variantPrice %} {% assign oriPrice = oriPrice | round: decimalNumber | string %} {% assign oriPriceParts = oriPrice | split: '.' %} {% assign oriPriceIntegral = oriPriceParts[0] %} {% assign oriPriceIntegralLength = oriPriceIntegral | size %} {% assign oriPriceIntegralDigits = oriPriceIntegral | split: '' %} {% assign oriPriceIntegral = '' %} {% for digit in oriPriceIntegralDigits %} {% assign periodIndex = oriPriceIntegralLength | minus: forloop.index %} {% assign periodIndex = periodIndex | plus: 1 %} {% assign periodIndex = periodIndex | modulo: 3 %} {% if forloop.index != 1 and periodIndex == 0 %} {% assign oriPriceIntegral = oriPriceIntegral | append: '.' %} {% endif %} {% assign oriPriceIntegral = oriPriceIntegral | append: digit %} {% endfor %} {% assign oriPriceFractional = oriPriceParts[1] | append: '000000000000000000000000' | truncate: decimalNumber, '' %} {% if decimalNumber > 0 %} {% assign oriPrice = oriPriceIntegral | append: ',' | append: oriPriceFractional %} {% else %} {% assign oriPrice = oriPriceIntegral %} {% endif %} {% else %} {% assign oriPrice = '' %} {% endif %} {% assign data = data | append: 'data-price-' | append: variant.id | append: '="' | append: price | append: '" ' %} {% assign data = data | append: 'data-ori-price-' | append: variant.id | append: '="' | append: oriPrice | append: '" ' %} {% if forloop.index == defaultVariantIndex %} {% assign data = data | append: 'data-variant="' | append: variant.id | append: '" ' %} {{currencyToken}} {{priceIntegral}}{% if decimalNumber > 0 %},{{priceFractional}}{% endif %}   {{currencyToken}} {{oriPrice}} {% endif %} {% endfor %} VEZI OFERTA {% endfor %} {% if 'false' == 'true' %} {% assign prevLink = '' %} {% if paginate.current_page > 1 %} {% assign prevPage = paginate.current_page | minus: 1 %} {% assign prevLink = '?page=' | append: prevPage %} {% endif %} {% assign nextLink = '' %} {% if paginate.current_page < paginate.pages %} {% assign nextPage = paginate.current_page | plus: 1 %} {% assign nextLink = '?page=' | append: nextPage %} {% endif %} {{ paginate.current_page }} {% endif %} {% endpaginate %} {% else %} {% if 'Black Friday Casa si Decoratiuni' == '' %} Please choose collection to show products from sidebar. {% else %} No products found. Please add some products to the collection first. {% endif %} {% endif %} {% assign collection = oriCollection %} ACCESORII AUTO {% assign oriCollection = collection %} {% assign collection = collections['black-friday-casa-si-decoratiuni'] %} {% assign productCount = collection.products | size | at_most: 6 %} {% if productCount > 0 %} {% paginate collection.products by 6 %} {% for product in collection.products limit:productCount %} {% assign imageLink = '' %} {% if product.images.size > 0 %} {% assign imageLink = product.images[0].src | img_url: 'original' %} {% endif %} {% assign alternateImageLink = imageLink %} {% if product.images.size > 1 %} {% assign alternateImageLink = product.images[1].src | img_url: 'original' %} {% endif %} {% if imageLink != '' %} {% if true %} {% else %} {% endif %} {% if 'none' == 'zoom' %} {% endif %} {% if 'none' == 'alternate' %} {% endif %} {% else %} This product has no images. {% endif %} {% if true %} {% else %} {% endif %} {{product.title}} {% assign defaultVariantIndex = 1 %} {% for variant in product.variants %} {% if variant.available %} {% assign defaultVariantIndex = forloop.index %} {% break %} {% endif %} {% endfor %} {% assign decimalNumber = 2 | at_least: 0 | at_most: 24 %} {% assign moneyFormatParts = shop.money_format | split: '{{' %} {% assign currencySymbol = moneyFormatParts[0] | strip_html %} {% if currencySymbol == '' %} {% assign moneyFormatParts = shop.money_format | split: '}}' %} {% assign currencySymbol = moneyFormatParts[1] | strip_html %} {% endif %} {% assign currencyToken = currencySymbol %} {% assign data = 'data-decimal-token="," data-decimal-number="' | append: decimalNumber | append: '" ' %} {% for variant in product.variants %} {% assign variantPrice = variant.price | divided_by: 100.0 %} {% assign price = variantPrice | round: decimalNumber | string %} {% assign priceParts = price | split: '.' %} {% assign priceIntegral = priceParts[0] %} {% assign priceIntegralLength = priceIntegral | size %} {% assign priceIntegralDigits = priceIntegral | split: '' %} {% assign priceIntegral = '' %} {% for digit in priceIntegralDigits %} {% assign periodIndex = priceIntegralLength | minus: forloop.index %} {% assign periodIndex = periodIndex | plus: 1 %} {% assign periodIndex = periodIndex | modulo: 3 %} {% if forloop.index != 1 and periodIndex == 0 %} {% assign priceIntegral = priceIntegral | append: '.' %} {% endif %} {% assign priceIntegral = priceIntegral | append: digit %} {% endfor %} {% assign priceFractional = priceParts[1] | append: '000000000000000000000000' | truncate: decimalNumber, '' %} {% if decimalNumber > 0 %} {% assign price = priceIntegral | append: ',' | append: priceFractional %} {% else %} {% assign price = priceIntegral %} {% endif %} {% assign oriPrice = variant.compare_at_price %} {% if oriPrice %} {% assign oriPrice = oriPrice | divided_by: 100.0 %} {% else %} {% assign oriPrice = 0 %} {% endif %} {% if true and oriPrice > variantPrice %} {% assign oriPrice = oriPrice | round: decimalNumber | string %} {% assign oriPriceParts = oriPrice | split: '.' %} {% assign oriPriceIntegral = oriPriceParts[0] %} {% assign oriPriceIntegralLength = oriPriceIntegral | size %} {% assign oriPriceIntegralDigits = oriPriceIntegral | split: '' %} {% assign oriPriceIntegral = '' %} {% for digit in oriPriceIntegralDigits %} {% assign periodIndex = oriPriceIntegralLength | minus: forloop.index %} {% assign periodIndex = periodIndex | plus: 1 %} {% assign periodIndex = periodIndex | modulo: 3 %} {% if forloop.index != 1 and periodIndex == 0 %} {% assign oriPriceIntegral = oriPriceIntegral | append: '.' %} {% endif %} {% assign oriPriceIntegral = oriPriceIntegral | append: digit %} {% endfor %} {% assign oriPriceFractional = oriPriceParts[1] | append: '000000000000000000000000' | truncate: decimalNumber, '' %} {% if decimalNumber > 0 %} {% assign oriPrice = oriPriceIntegral | append: ',' | append: oriPriceFractional %} {% else %} {% assign oriPrice = oriPriceIntegral %} {% endif %} {% else %} {% assign oriPrice = '' %} {% endif %} {% assign data = data | append: 'data-price-' | append: variant.id | append: '="' | append: price | append: '" ' %} {% assign data = data | append: 'data-ori-price-' | append: variant.id | append: '="' | append: oriPrice | append: '" ' %} {% if forloop.index == defaultVariantIndex %} {% assign data = data | append: 'data-variant="' | append: variant.id | append: '" ' %} {{currencyToken}} {{priceIntegral}}{% if decimalNumber > 0 %},{{priceFractional}}{% endif %}   {{currencyToken}} {{oriPrice}} {% endif %} {% endfor %} VEZI OFERTA {% endfor %} {% if 'false' == 'true' %} {% assign prevLink = '' %} {% if paginate.current_page > 1 %} {% assign prevPage = paginate.current_page | minus: 1 %} {% assign prevLink = '?page=' | append: prevPage %} {% endif %} {% assign nextLink = '' %} {% if paginate.current_page < paginate.pages %} {% assign nextPage = paginate.current_page | plus: 1 %} {% assign nextLink = '?page=' | append: nextPage %} {% endif %} {{ paginate.current_page }} {% endif %} {% endpaginate %} {% else %} {% if 'Black Friday Casa si Decoratiuni' == '' %} Please choose collection to show products from sidebar. {% else %} No products found. Please add some products to the collection first. {% endif %} {% endif %} {% assign collection = oriCollection %} CAMERE VIDEO AUTO {% assign oriCollection = collection %} {% assign collection = collections['black-friday-casa-si-decoratiuni'] %} {% assign productCount = collection.products | size | at_most: 6 %} {% if productCount > 0 %} {% paginate collection.products by 6 %} {% for product in collection.products limit:productCount %} {% assign imageLink = '' %} {% if product.images.size > 0 %} {% assign imageLink = product.images[0].src | img_url: 'original' %} {% endif %} {% assign alternateImageLink = imageLink %} {% if product.images.size > 1 %} {% assign alternateImageLink = product.images[1].src | img_url: 'original' %} {% endif %} {% if imageLink != '' %} {% if true %} {% else %} {% endif %} {% if 'none' == 'zoom' %} {% endif %} {% if 'none' == 'alternate' %} {% endif %} {% else %} This product has no images. {% endif %} {% if true %} {% else %} {% endif %} {{product.title}} {% assign defaultVariantIndex = 1 %} {% for variant in product.variants %} {% if variant.available %} {% assign defaultVariantIndex = forloop.index %} {% break %} {% endif %} {% endfor %} {% assign decimalNumber = 2 | at_least: 0 | at_most: 24 %} {% assign moneyFormatParts = shop.money_format | split: '{{' %} {% assign currencySymbol = moneyFormatParts[0] | strip_html %} {% if currencySymbol == '' %} {% assign moneyFormatParts = shop.money_format | split: '}}' %} {% assign currencySymbol = moneyFormatParts[1] | strip_html %} {% endif %} {% assign currencyToken = currencySymbol %} {% assign data = 'data-decimal-token="," data-decimal-number="' | append: decimalNumber | append: '" ' %} {% for variant in product.variants %} {% assign variantPrice = variant.price | divided_by: 100.0 %} {% assign price = variantPrice | round: decimalNumber | string %} {% assign priceParts = price | split: '.' %} {% assign priceIntegral = priceParts[0] %} {% assign priceIntegralLength = priceIntegral | size %} {% assign priceIntegralDigits = priceIntegral | split: '' %} {% assign priceIntegral = '' %} {% for digit in priceIntegralDigits %} {% assign periodIndex = priceIntegralLength | minus: forloop.index %} {% assign periodIndex = periodIndex | plus: 1 %} {% assign periodIndex = periodIndex | modulo: 3 %} {% if forloop.index != 1 and periodIndex == 0 %} {% assign priceIntegral = priceIntegral | append: '.' %} {% endif %} {% assign priceIntegral = priceIntegral | append: digit %} {% endfor %} {% assign priceFractional = priceParts[1] | append: '000000000000000000000000' | truncate: decimalNumber, '' %} {% if decimalNumber > 0 %} {% assign price = priceIntegral | append: ',' | append: priceFractional %} {% else %} {% assign price = priceIntegral %} {% endif %} {% assign oriPrice = variant.compare_at_price %} {% if oriPrice %} {% assign oriPrice = oriPrice | divided_by: 100.0 %} {% else %} {% assign oriPrice = 0 %} {% endif %} {% if true and oriPrice > variantPrice %} {% assign oriPrice = oriPrice | round: decimalNumber | string %} {% assign oriPriceParts = oriPrice | split: '.' %} {% assign oriPriceIntegral = oriPriceParts[0] %} {% assign oriPriceIntegralLength = oriPriceIntegral | size %} {% assign oriPriceIntegralDigits = oriPriceIntegral | split: '' %} {% assign oriPriceIntegral = '' %} {% for digit in oriPriceIntegralDigits %} {% assign periodIndex = oriPriceIntegralLength | minus: forloop.index %} {% assign periodIndex = periodIndex | plus: 1 %} {% assign periodIndex = periodIndex | modulo: 3 %} {% if forloop.index != 1 and periodIndex == 0 %} {% assign oriPriceIntegral = oriPriceIntegral | append: '.' %} {% endif %} {% assign oriPriceIntegral = oriPriceIntegral | append: digit %} {% endfor %} {% assign oriPriceFractional = oriPriceParts[1] | append: '000000000000000000000000' | truncate: decimalNumber, '' %} {% if decimalNumber > 0 %} {% assign oriPrice = oriPriceIntegral | append: ',' | append: oriPriceFractional %} {% else %} {% assign oriPrice = oriPriceIntegral %} {% endif %} {% else %} {% assign oriPrice = '' %} {% endif %} {% assign data = data | append: 'data-price-' | append: variant.id | append: '="' | append: price | append: '" ' %} {% assign data = data | append: 'data-ori-price-' | append: variant.id | append: '="' | append: oriPrice | append: '" ' %} {% if forloop.index == defaultVariantIndex %} {% assign data = data | append: 'data-variant="' | append: variant.id | append: '" ' %} {{currencyToken}} {{priceIntegral}}{% if decimalNumber > 0 %},{{priceFractional}}{% endif %}   {{currencyToken}} {{oriPrice}} {% endif %} {% endfor %} VEZI OFERTA {% endfor %} {% if 'false' == 'true' %} {% assign prevLink = '' %} {% if paginate.current_page > 1 %} {% assign prevPage = paginate.current_page | minus: 1 %} {% assign prevLink = '?page=' | append: prevPage %} {% endif %} {% assign nextLink = '' %} {% if paginate.current_page < paginate.pages %} {% assign nextPage = paginate.current_page | plus: 1 %} {% assign nextLink = '?page=' | append: nextPage %} {% endif %} {{ paginate.current_page }} {% endif %} {% endpaginate %} {% else %} {% if 'Black Friday Casa si Decoratiuni' == '' %} Please choose collection to show products from sidebar. {% else %} No products found. Please add some products to the collection first. {% endif %} {% endif %} {% assign collection = oriCollection %} JUCARII SI ARTICOLE COPII {% assign oriCollection = collection %} {% assign collection = collections['black-friday-casa-si-decoratiuni'] %} {% assign productCount = collection.products | size | at_most: 6 %} {% if productCount > 0 %} {% paginate collection.products by 6 %} {% for product in collection.products limit:productCount %} {% assign imageLink = '' %} {% if product.images.size > 0 %} {% assign imageLink = product.images[0].src | img_url: 'original' %} {% endif %} {% assign alternateImageLink = imageLink %} {% if product.images.size > 1 %} {% assign alternateImageLink = product.images[1].src | img_url: 'original' %} {% endif %} {% if imageLink != '' %} {% if true %} {% else %} {% endif %} {% if 'none' == 'zoom' %} {% endif %} {% if 'none' == 'alternate' %} {% endif %} {% else %} This product has no images. {% endif %} {% if true %} {% else %} {% endif %} {{product.title}} {% assign defaultVariantIndex = 1 %} {% for variant in product.variants %} {% if variant.available %} {% assign defaultVariantIndex = forloop.index %} {% break %} {% endif %} {% endfor %} {% assign decimalNumber = 2 | at_least: 0 | at_most: 24 %} {% assign moneyFormatParts = shop.money_format | split: '{{' %} {% assign currencySymbol = moneyFormatParts[0] | strip_html %} {% if currencySymbol == '' %} {% assign moneyFormatParts = shop.money_format | split: '}}' %} {% assign currencySymbol = moneyFormatParts[1] | strip_html %} {% endif %} {% assign currencyToken = currencySymbol %} {% assign data = 'data-decimal-token="," data-decimal-number="' | append: decimalNumber | append: '" ' %} {% for variant in product.variants %} {% assign variantPrice = variant.price | divided_by: 100.0 %} {% assign price = variantPrice | round: decimalNumber | string %} {% assign priceParts = price | split: '.' %} {% assign priceIntegral = priceParts[0] %} {% assign priceIntegralLength = priceIntegral | size %} {% assign priceIntegralDigits = priceIntegral | split: '' %} {% assign priceIntegral = '' %} {% for digit in priceIntegralDigits %} {% assign periodIndex = priceIntegralLength | minus: forloop.index %} {% assign periodIndex = periodIndex | plus: 1 %} {% assign periodIndex = periodIndex | modulo: 3 %} {% if forloop.index != 1 and periodIndex == 0 %} {% assign priceIntegral = priceIntegral | append: '.' %} {% endif %} {% assign priceIntegral = priceIntegral | append: digit %} {% endfor %} {% assign priceFractional = priceParts[1] | append: '000000000000000000000000' | truncate: decimalNumber, '' %} {% if decimalNumber > 0 %} {% assign price = priceIntegral | append: ',' | append: priceFractional %} {% else %} {% assign price = priceIntegral %} {% endif %} {% assign oriPrice = variant.compare_at_price %} {% if oriPrice %} {% assign oriPrice = oriPrice | divided_by: 100.0 %} {% else %} {% assign oriPrice = 0 %} {% endif %} {% if true and oriPrice > variantPrice %} {% assign oriPrice = oriPrice | round: decimalNumber | string %} {% assign oriPriceParts = oriPrice | split: '.' %} {% assign oriPriceIntegral = oriPriceParts[0] %} {% assign oriPriceIntegralLength = oriPriceIntegral | size %} {% assign oriPriceIntegralDigits = oriPriceIntegral | split: '' %} {% assign oriPriceIntegral = '' %} {% for digit in oriPriceIntegralDigits %} {% assign periodIndex = oriPriceIntegralLength | minus: forloop.index %} {% assign periodIndex = periodIndex | plus: 1 %} {% assign periodIndex = periodIndex | modulo: 3 %} {% if forloop.index != 1 and periodIndex == 0 %} {% assign oriPriceIntegral = oriPriceIntegral | append: '.' %} {% endif %} {% assign oriPriceIntegral = oriPriceIntegral | append: digit %} {% endfor %} {% assign oriPriceFractional = oriPriceParts[1] | append: '000000000000000000000000' | truncate: decimalNumber, '' %} {% if decimalNumber > 0 %} {% assign oriPrice = oriPriceIntegral | append: ',' | append: oriPriceFractional %} {% else %} {% assign oriPrice = oriPriceIntegral %} {% endif %} {% else %} {% assign oriPrice = '' %} {% endif %} {% assign data = data | append: 'data-price-' | append: variant.id | append: '="' | append: price | append: '" ' %} {% assign data = data | append: 'data-ori-price-' | append: variant.id | append: '="' | append: oriPrice | append: '" ' %} {% if forloop.index == defaultVariantIndex %} {% assign data = data | append: 'data-variant="' | append: variant.id | append: '" ' %} {{currencyToken}} {{priceIntegral}}{% if decimalNumber > 0 %},{{priceFractional}}{% endif %}   {{currencyToken}} {{oriPrice}} {% endif %} {% endfor %} VEZI OFERTA {% endfor %} {% if 'false' == 'true' %} {% assign prevLink = '' %} {% if paginate.current_page > 1 %} {% assign prevPage = paginate.current_page | minus: 1 %} {% assign prevLink = '?page=' | append: prevPage %} {% endif %} {% assign nextLink = '' %} {% if paginate.current_page < paginate.pages %} {% assign nextPage = paginate.current_page | plus: 1 %} {% assign nextLink = '?page=' | append: nextPage %} {% endif %} {{ paginate.current_page }} {% endif %} {% endpaginate %} {% else %} {% if 'Black Friday Casa si Decoratiuni' == '' %} Please choose collection to show products from sidebar. {% else %} No products found. Please add some products to the collection first. {% endif %} {% endif %} {% assign collection = oriCollection %} GAMING SI DRONE {% assign oriCollection = collection %} {% assign collection = collections['black-friday-casa-si-decoratiuni'] %} {% assign productCount = collection.products | size | at_most: 6 %} {% if productCount > 0 %} {% paginate collection.products by 6 %} {% for product in collection.products limit:productCount %} {% assign imageLink = '' %} {% if product.images.size > 0 %} {% assign imageLink = product.images[0].src | img_url: 'original' %} {% endif %} {% assign alternateImageLink = imageLink %} {% if product.images.size > 1 %} {% assign alternateImageLink = product.images[1].src | img_url: 'original' %} {% endif %} {% if imageLink != '' %} {% if true %} {% else %} {% endif %} {% if 'none' == 'zoom' %} {% endif %} {% if 'none' == 'alternate' %} {% endif %} {% else %} This product has no images. {% endif %} {% if true %} {% else %} {% endif %} {{product.title}} {% assign defaultVariantIndex = 1 %} {% for variant in product.variants %} {% if variant.available %} {% assign defaultVariantIndex = forloop.index %} {% break %} {% endif %} {% endfor %} {% assign decimalNumber = 2 | at_least: 0 | at_most: 24 %} {% assign moneyFormatParts = shop.money_format | split: '{{' %} {% assign currencySymbol = moneyFormatParts[0] | strip_html %} {% if currencySymbol == '' %} {% assign moneyFormatParts = shop.money_format | split: '}}' %} {% assign currencySymbol = moneyFormatParts[1] | strip_html %} {% endif %} {% assign currencyToken = currencySymbol %} {% assign data = 'data-decimal-token="," data-decimal-number="' | append: decimalNumber | append: '" ' %} {% for variant in product.variants %} {% assign variantPrice = variant.price | divided_by: 100.0 %} {% assign price = variantPrice | round: decimalNumber | string %} {% assign priceParts = price | split: '.' %} {% assign priceIntegral = priceParts[0] %} {% assign priceIntegralLength = priceIntegral | size %} {% assign priceIntegralDigits = priceIntegral | split: '' %} {% assign priceIntegral = '' %} {% for digit in priceIntegralDigits %} {% assign periodIndex = priceIntegralLength | minus: forloop.index %} {% assign periodIndex = periodIndex | plus: 1 %} {% assign periodIndex = periodIndex | modulo: 3 %} {% if forloop.index != 1 and periodIndex == 0 %} {% assign priceIntegral = priceIntegral | append: '.' %} {% endif %} {% assign priceIntegral = priceIntegral | append: digit %} {% endfor %} {% assign priceFractional = priceParts[1] | append: '000000000000000000000000' | truncate: decimalNumber, '' %} {% if decimalNumber > 0 %} {% assign price = priceIntegral | append: ',' | append: priceFractional %} {% else %} {% assign price = priceIntegral %} {% endif %} {% assign oriPrice = variant.compare_at_price %} {% if oriPrice %} {% assign oriPrice = oriPrice | divided_by: 100.0 %} {% else %} {% assign oriPrice = 0 %} {% endif %} {% if true and oriPrice > variantPrice %} {% assign oriPrice = oriPrice | round: decimalNumber | string %} {% assign oriPriceParts = oriPrice | split: '.' %} {% assign oriPriceIntegral = oriPriceParts[0] %} {% assign oriPriceIntegralLength = oriPriceIntegral | size %} {% assign oriPriceIntegralDigits = oriPriceIntegral | split: '' %} {% assign oriPriceIntegral = '' %} {% for digit in oriPriceIntegralDigits %} {% assign periodIndex = oriPriceIntegralLength | minus: forloop.index %} {% assign periodIndex = periodIndex | plus: 1 %} {% assign periodIndex = periodIndex | modulo: 3 %} {% if forloop.index != 1 and periodIndex == 0 %} {% assign oriPriceIntegral = oriPriceIntegral | append: '.' %} {% endif %} {% assign oriPriceIntegral = oriPriceIntegral | append: digit %} {% endfor %} {% assign oriPriceFractional = oriPriceParts[1] | append: '000000000000000000000000' | truncate: decimalNumber, '' %} {% if decimalNumber > 0 %} {% assign oriPrice = oriPriceIntegral | append: ',' | append: oriPriceFractional %} {% else %} {% assign oriPrice = oriPriceIntegral %} {% endif %} {% else %} {% assign oriPrice = '' %} {% endif %} {% assign data = data | append: 'data-price-' | append: variant.id | append: '="' | append: price | append: '" ' %} {% assign data = data | append: 'data-ori-price-' | append: variant.id | append: '="' | append: oriPrice | append: '" ' %} {% if forloop.index == defaultVariantIndex %} {% assign data = data | append: 'data-variant="' | append: variant.id | append: '" ' %} {{currencyToken}} {{priceIntegral}}{% if decimalNumber > 0 %},{{priceFractional}}{% endif %}   {{currencyToken}} {{oriPrice}} {% endif %} {% endfor %} VEZI OFERTA {% endfor %} {% if 'false' == 'true' %} {% assign prevLink = '' %} {% if paginate.current_page > 1 %} {% assign prevPage = paginate.current_page | minus: 1 %} {% assign prevLink = '?page=' | append: prevPage %} {% endif %} {% assign nextLink = '' %} {% if paginate.current_page < paginate.pages %} {% assign nextPage = paginate.current_page | plus: 1 %} {% assign nextLink = '?page=' | append: nextPage %} {% endif %} {{ paginate.current_page }} {% endif %} {% endpaginate %} {% else %} {% if 'Black Friday Casa si Decoratiuni' == '' %} Please choose collection to show products from sidebar. {% else %} No products found. Please add some products to the collection first. {% endif %} {% endif %} {% assign collection = oriCollection %} {% assign oriCollection = collection %} {% assign collection = collections['black-friday-casa-si-decoratiuni'] %} {% assign productCount = collection.products | size | at_most: 6 %} {% if productCount > 0 %} {% paginate collection.products by 6 %} {% for product in collection.products limit:productCount %} {% assign imageLink = '' %} {% if product.images.size > 0 %} {% assign imageLink = product.images[0].src | img_url: 'original' %} {% endif %} {% assign alternateImageLink = imageLink %} {% if product.images.size > 1 %} {% assign alternateImageLink = product.images[1].src | img_url: 'original' %} {% endif %} {% if imageLink != '' %} {% if true %} {% else %} {% endif %} {% if 'none' == 'zoom' %} {% endif %} {% if 'none' == 'alternate' %} {% endif %} {% else %} This product has no images. {% endif %} {% if true %} {% else %} {% endif %} {{product.title}} {% assign defaultVariantIndex = 1 %} {% for variant in product.variants %} {% if variant.available %} {% assign defaultVariantIndex = forloop.index %} {% break %} {% endif %} {% endfor %} {% assign decimalNumber = 2 | at_least: 0 | at_most: 24 %} {% assign moneyFormatParts = shop.money_format | split: '{{' %} {% assign currencySymbol = moneyFormatParts[0] | strip_html %} {% if currencySymbol == '' %} {% assign moneyFormatParts = shop.money_format | split: '}}' %} {% assign currencySymbol = moneyFormatParts[1] | strip_html %} {% endif %} {% assign currencyToken = currencySymbol %} {% assign data = 'data-decimal-token="," data-decimal-number="' | append: decimalNumber | append: '" ' %} {% for variant in product.variants %} {% assign variantPrice = variant.price | divided_by: 100.0 %} {% assign price = variantPrice | round: decimalNumber | string %} {% assign priceParts = price | split: '.' %} {% assign priceIntegral = priceParts[0] %} {% assign priceIntegralLength = priceIntegral | size %} {% assign priceIntegralDigits = priceIntegral | split: '' %} {% assign priceIntegral = '' %} {% for digit in priceIntegralDigits %} {% assign periodIndex = priceIntegralLength | minus: forloop.index %} {% assign periodIndex = periodIndex | plus: 1 %} {% assign periodIndex = periodIndex | modulo: 3 %} {% if forloop.index != 1 and periodIndex == 0 %} {% assign priceIntegral = priceIntegral | append: '.' %} {% endif %} {% assign priceIntegral = priceIntegral | append: digit %} {% endfor %} {% assign priceFractional = priceParts[1] | append: '000000000000000000000000' | truncate: decimalNumber, '' %} {% if decimalNumber > 0 %} {% assign price = priceIntegral | append: ',' | append: priceFractional %} {% else %} {% assign price = priceIntegral %} {% endif %} {% assign oriPrice = variant.compare_at_price %} {% if oriPrice %} {% assign oriPrice = oriPrice | divided_by: 100.0 %} {% else %} {% assign oriPrice = 0 %} {% endif %} {% if true and oriPrice > variantPrice %} {% assign oriPrice = oriPrice | round: decimalNumber | string %} {% assign oriPriceParts = oriPrice | split: '.' %} {% assign oriPriceIntegral = oriPriceParts[0] %} {% assign oriPriceIntegralLength = oriPriceIntegral | size %} {% assign oriPriceIntegralDigits = oriPriceIntegral | split: '' %} {% assign oriPriceIntegral = '' %} {% for digit in oriPriceIntegralDigits %} {% assign periodIndex = oriPriceIntegralLength | minus: forloop.index %} {% assign periodIndex = periodIndex | plus: 1 %} {% assign periodIndex = periodIndex | modulo: 3 %} {% if forloop.index != 1 and periodIndex == 0 %} {% assign oriPriceIntegral = oriPriceIntegral | append: '.' %} {% endif %} {% assign oriPriceIntegral = oriPriceIntegral | append: digit %} {% endfor %} {% assign oriPriceFractional = oriPriceParts[1] | append: '000000000000000000000000' | truncate: decimalNumber, '' %} {% if decimalNumber > 0 %} {% assign oriPrice = oriPriceIntegral | append: ',' | append: oriPriceFractional %} {% else %} {% assign oriPrice = oriPriceIntegral %} {% endif %} {% else %} {% assign oriPrice = '' %} {% endif %} {% assign data = data | append: 'data-price-' | append: variant.id | append: '="' | append: price | append: '" ' %} {% assign data = data | append: 'data-ori-price-' | append: variant.id | append: '="' | append: oriPrice | append: '" ' %} {% if forloop.index == defaultVariantIndex %} {% assign data = data | append: 'data-variant="' | append: variant.id | append: '" ' %} {{currencyToken}} {{priceIntegral}}{% if decimalNumber > 0 %},{{priceFractional}}{% endif %}   {{currencyToken}} {{oriPrice}} {% endif %} {% endfor %} VEZI OFERTA {% endfor %} {% if 'false' == 'true' %} {% assign prevLink = '' %} {% if paginate.current_page > 1 %} {% assign prevPage = paginate.current_page | minus: 1 %} {% assign prevLink = '?page=' | append: prevPage %} {% endif %} {% assign nextLink = '' %} {% if paginate.current_page < paginate.pages %} {% assign nextPage = paginate.current_page | plus: 1 %} {% assign nextLink = '?page=' | append: nextPage %} {% endif %} {{ paginate.current_page }} {% endif %} {% endpaginate %} {% else %} {% if 'Black Friday Casa si Decoratiuni' == '' %} Please choose collection to show products from sidebar. {% else %} No products found. Please add some products to the collection first. {% endif %} {% endif %} {% assign collection = oriCollection %} TIMP LIBER {% assign oriCollection = collection %} {% assign collection = collections['black-friday-casa-si-decoratiuni'] %} {% assign productCount = collection.products | size | at_most: 6 %} {% if productCount > 0 %} {% paginate collection.products by 6 %} {% for product in collection.products limit:productCount %} {% assign imageLink = '' %} {% if product.images.size > 0 %} {% assign imageLink = product.images[0].src | img_url: 'original' %} {% endif %} {% assign alternateImageLink = imageLink %} {% if product.images.size > 1 %} {% assign alternateImageLink = product.images[1].src | img_url: 'original' %} {% endif %} {% if imageLink != '' %} {% if true %} {% else %} {% endif %} {% if 'none' == 'zoom' %} {% endif %} {% if 'none' == 'alternate' %} {% endif %} {% else %} This product has no images. {% endif %} {% if true %} {% else %} {% endif %} {{product.title}} {% assign defaultVariantIndex = 1 %} {% for variant in product.variants %} {% if variant.available %} {% assign defaultVariantIndex = forloop.index %} {% break %} {% endif %} {% endfor %} {% assign decimalNumber = 2 | at_least: 0 | at_most: 24 %} {% assign moneyFormatParts = shop.money_format | split: '{{' %} {% assign currencySymbol = moneyFormatParts[0] | strip_html %} {% if currencySymbol == '' %} {% assign moneyFormatParts = shop.money_format | split: '}}' %} {% assign currencySymbol = moneyFormatParts[1] | strip_html %} {% endif %} {% assign currencyToken = currencySymbol %} {% assign data = 'data-decimal-token="," data-decimal-number="' | append: decimalNumber | append: '" ' %} {% for variant in product.variants %} {% assign variantPrice = variant.price | divided_by: 100.0 %} {% assign price = variantPrice | round: decimalNumber | string %} {% assign priceParts = price | split: '.' %} {% assign priceIntegral = priceParts[0] %} {% assign priceIntegralLength = priceIntegral | size %} {% assign priceIntegralDigits = priceIntegral | split: '' %} {% assign priceIntegral = '' %} {% for digit in priceIntegralDigits %} {% assign periodIndex = priceIntegralLength | minus: forloop.index %} {% assign periodIndex = periodIndex | plus: 1 %} {% assign periodIndex = periodIndex | modulo: 3 %} {% if forloop.index != 1 and periodIndex == 0 %} {% assign priceIntegral = priceIntegral | append: '.' %} {% endif %} {% assign priceIntegral = priceIntegral | append: digit %} {% endfor %} {% assign priceFractional = priceParts[1] | append: '000000000000000000000000' | truncate: decimalNumber, '' %} {% if decimalNumber > 0 %} {% assign price = priceIntegral | append: ',' | append: priceFractional %} {% else %} {% assign price = priceIntegral %} {% endif %} {% assign oriPrice = variant.compare_at_price %} {% if oriPrice %} {% assign oriPrice = oriPrice | divided_by: 100.0 %} {% else %} {% assign oriPrice = 0 %} {% endif %} {% if true and oriPrice > variantPrice %} {% assign oriPrice = oriPrice | round: decimalNumber | string %} {% assign oriPriceParts = oriPrice | split: '.' %} {% assign oriPriceIntegral = oriPriceParts[0] %} {% assign oriPriceIntegralLength = oriPriceIntegral | size %} {% assign oriPriceIntegralDigits = oriPriceIntegral | split: '' %} {% assign oriPriceIntegral = '' %} {% for digit in oriPriceIntegralDigits %} {% assign periodIndex = oriPriceIntegralLength | minus: forloop.index %} {% assign periodIndex = periodIndex | plus: 1 %} {% assign periodIndex = periodIndex | modulo: 3 %} {% if forloop.index != 1 and periodIndex == 0 %} {% assign oriPriceIntegral = oriPriceIntegral | append: '.' %} {% endif %} {% assign oriPriceIntegral = oriPriceIntegral | append: digit %} {% endfor %} {% assign oriPriceFractional = oriPriceParts[1] | append: '000000000000000000000000' | truncate: decimalNumber, '' %} {% if decimalNumber > 0 %} {% assign oriPrice = oriPriceIntegral | append: ',' | append: oriPriceFractional %} {% else %} {% assign oriPrice = oriPriceIntegral %} {% endif %} {% else %} {% assign oriPrice = '' %} {% endif %} {% assign data = data | append: 'data-price-' | append: variant.id | append: '="' | append: price | append: '" ' %} {% assign data = data | append: 'data-ori-price-' | append: variant.id | append: '="' | append: oriPrice | append: '" ' %} {% if forloop.index == defaultVariantIndex %} {% assign data = data | append: 'data-variant="' | append: variant.id | append: '" ' %} {{currencyToken}} {{priceIntegral}}{% if decimalNumber > 0 %},{{priceFractional}}{% endif %}   {{currencyToken}} {{oriPrice}} {% endif %} {% endfor %} VEZI OFERTA {% endfor %} {% if 'false' == 'true' %} {% assign prevLink = '' %} {% if paginate.current_page > 1 %} {% assign prevPage = paginate.current_page | minus: 1 %} {% assign prevLink = '?page=' | append: prevPage %} {% endif %} {% assign nextLink = '' %} {% if paginate.current_page < paginate.pages %} {% assign nextPage = paginate.current_page | plus: 1 %} {% assign nextLink = '?page=' | append: nextPage %} {% endif %} {{ paginate.current_page }} {% endif %} {% endpaginate %} {% else %} {% if 'Black Friday Casa si Decoratiuni' == '' %} Please choose collection to show products from sidebar. {% else %} No products found. Please add some products to the collection first. {% endif %} {% endif %} {% assign collection = oriCollection %} INGRIJIRE PERSONALA {% assign oriCollection = collection %} {% assign collection = collections['black-friday-casa-si-decoratiuni'] %} {% assign productCount = collection.products | size | at_most: 6 %} {% if productCount > 0 %} {% paginate collection.products by 6 %} {% for product in collection.products limit:productCount %} {% assign imageLink = '' %} {% if product.images.size > 0 %} {% assign imageLink = product.images[0].src | img_url: 'original' %} {% endif %} {% assign alternateImageLink = imageLink %} {% if product.images.size > 1 %} {% assign alternateImageLink = product.images[1].src | img_url: 'original' %} {% endif %} {% if imageLink != '' %} {% if true %} {% else %} {% endif %} {% if 'none' == 'zoom' %} {% endif %} {% if 'none' == 'alternate' %} {% endif %} {% else %} This product has no images. {% endif %} {% if true %} {% else %} {% endif %} {{product.title}} {% assign defaultVariantIndex = 1 %} {% for variant in product.variants %} {% if variant.available %} {% assign defaultVariantIndex = forloop.index %} {% break %} {% endif %} {% endfor %} {% assign decimalNumber = 2 | at_least: 0 | at_most: 24 %} {% assign moneyFormatParts = shop.money_format | split: '{{' %} {% assign currencySymbol = moneyFormatParts[0] | strip_html %} {% if currencySymbol == '' %} {% assign moneyFormatParts = shop.money_format | split: '}}' %} {% assign currencySymbol = moneyFormatParts[1] | strip_html %} {% endif %} {% assign currencyToken = currencySymbol %} {% assign data = 'data-decimal-token="," data-decimal-number="' | append: decimalNumber | append: '" ' %} {% for variant in product.variants %} {% assign variantPrice = variant.price | divided_by: 100.0 %} {% assign price = variantPrice | round: decimalNumber | string %} {% assign priceParts = price | split: '.' %} {% assign priceIntegral = priceParts[0] %} {% assign priceIntegralLength = priceIntegral | size %} {% assign priceIntegralDigits = priceIntegral | split: '' %} {% assign priceIntegral = '' %} {% for digit in priceIntegralDigits %} {% assign periodIndex = priceIntegralLength | minus: forloop.index %} {% assign periodIndex = periodIndex | plus: 1 %} {% assign periodIndex = periodIndex | modulo: 3 %} {% if forloop.index != 1 and periodIndex == 0 %} {% assign priceIntegral = priceIntegral | append: '.' %} {% endif %} {% assign priceIntegral = priceIntegral | append: digit %} {% endfor %} {% assign priceFractional = priceParts[1] | append: '000000000000000000000000' | truncate: decimalNumber, '' %} {% if decimalNumber > 0 %} {% assign price = priceIntegral | append: ',' | append: priceFractional %} {% else %} {% assign price = priceIntegral %} {% endif %} {% assign oriPrice = variant.compare_at_price %} {% if oriPrice %} {% assign oriPrice = oriPrice | divided_by: 100.0 %} {% else %} {% assign oriPrice = 0 %} {% endif %} {% if true and oriPrice > variantPrice %} {% assign oriPrice = oriPrice | round: decimalNumber | string %} {% assign oriPriceParts = oriPrice | split: '.' %} {% assign oriPriceIntegral = oriPriceParts[0] %} {% assign oriPriceIntegralLength = oriPriceIntegral | size %} {% assign oriPriceIntegralDigits = oriPriceIntegral | split: '' %} {% assign oriPriceIntegral = '' %} {% for digit in oriPriceIntegralDigits %} {% assign periodIndex = oriPriceIntegralLength | minus: forloop.index %} {% assign periodIndex = periodIndex | plus: 1 %} {% assign periodIndex = periodIndex | modulo: 3 %} {% if forloop.index != 1 and periodIndex == 0 %} {% assign oriPriceIntegral = oriPriceIntegral | append: '.' %} {% endif %} {% assign oriPriceIntegral = oriPriceIntegral | append: digit %} {% endfor %} {% assign oriPriceFractional = oriPriceParts[1] | append: '000000000000000000000000' | truncate: decimalNumber, '' %} {% if decimalNumber > 0 %} {% assign oriPrice = oriPriceIntegral | append: ',' | append: oriPriceFractional %} {% else %} {% assign oriPrice = oriPriceIntegral %} {% endif %} {% else %} {% assign oriPrice = '' %} {% endif %} {% assign data = data | append: 'data-price-' | append: variant.id | append: '="' | append: price | append: '" ' %} {% assign data = data | append: 'data-ori-price-' | append: variant.id | append: '="' | append: oriPrice | append: '" ' %} {% if forloop.index == defaultVariantIndex %} {% assign data = data | append: 'data-variant="' | append: variant.id | append: '" ' %} {{currencyToken}} {{priceIntegral}}{% if decimalNumber > 0 %},{{priceFractional}}{% endif %}   {{currencyToken}} {{oriPrice}} {% endif %} {% endfor %} VEZI OFERTA {% endfor %} {% if 'false' == 'true' %} {% assign prevLink = '' %} {% if paginate.current_page > 1 %} {% assign prevPage = paginate.current_page | minus: 1 %} {% assign prevLink = '?page=' | append: prevPage %} {% endif %} {% assign nextLink = '' %} {% if paginate.current_page < paginate.pages %} {% assign nextPage = paginate.current_page | plus: 1 %} {% assign nextLink = '?page=' | append: nextPage %} {% endif %} {{ paginate.current_page }} {% endif %} {% endpaginate %} {% else %} {% if 'Black Friday Casa si Decoratiuni' == '' %} Please choose collection to show products from sidebar. {% else %} No products found. Please add some products to the collection first. {% endif %} {% endif %} {% assign collection = oriCollection %} Livrare rapida din stoc Retur GRATUIT 14 zile Garantie 2 ANI Plata in rate cu cardul online VEZI REGULAMENTUL CAMPANIEI © 2023 Cudetoate.ro | TENQ ONLINE SRL, CUI: RO38788535, J40/1368/2018