2021-rebajas-de-viernes-negro
viernes negro
SÚPER VENTA
25% de descuento
código AUTO-D
3
Días
3
Horas
3
Minutos
3
Segundos
* Sólo para bombillas de faros/luz de trabajo de 4 pulgadas
{% assign product = all_products['novsight-h7-led-bulbs-60w-super-bright-headlights-conversion-kits'] %}
{% if product %}
{% if true %}
{% else %}
{% endif %}
{{product.title}}
{% assign imageLink = '' %}
{% if product.images.size > 0 %}
{% assign imageLink = product.images[0].src | img_url: '' %}
{% endif %}
{% if imageLink != '' %}
{% if true %}
{% else %}
{% endif %}
{% else %}
Este producto no tiene imágenes.
{% endif %}
{% 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 %}
{% if 'token' == 'name' %}
{% assign currencyToken = shop.currency %}
{% else %}
{% assign currencyToken = currencySymbol %}
{% endif %}
{% 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 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 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 == 1 %}
{% assign data = data | append: 'data-variant="' | append: variant.id | append: '" ' %}
{{currencyToken}}
{{priceIntegral}} {% if decimalNumber > 0 %} . {{priceFractional}} {% endif %}
{{currencyToken}}
{{oriPrice}}
{% endif %}
{% endfor %}
{% assign soldOut = false %}
{% assign soldOutData = '' %}
{% for variant in product.variants %}
{% if variant.inventory_management == 'shopify' and variant.inventory_policy == 'deny' and variant.inventory_quantity == 0 %}
{% assign soldOutData = soldOutData | append: variant.id | append: ' ' %}
{% if forloop.index == 1 %}
{% assign soldOut = true %}
{% endif %}
{% endif %}
{% endfor %}
{% if soldOut %}
Agotado
{% else %}
Añadir a la cesta
{% endif %}
{% else %}
No se encontraron productos. Primero agregue algunos productos a su tienda.
{% endif %}
{% assign product = all_products['led-headlight-9006-conversion-kit'] %}
{% if product %}
{% if true %}
{% else %}
{% endif %}
{{product.title}}
{% assign imageLink = '' %}
{% if product.images.size > 0 %}
{% assign imageLink = product.images[0].src | img_url: '' %}
{% endif %}
{% if imageLink != '' %}
{% if true %}
{% else %}
{% endif %}
{% else %}
Este producto no tiene imágenes.
{% endif %}
{% 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 %}
{% if 'token' == 'name' %}
{% assign currencyToken = shop.currency %}
{% else %}
{% assign currencyToken = currencySymbol %}
{% endif %}
{% 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 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 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 == 1 %}
{% assign data = data | append: 'data-variant="' | append: variant.id | append: '" ' %}
{{currencyToken}}
{{priceIntegral}} {% if decimalNumber > 0 %} . {{priceFractional}} {% endif %}
{{currencyToken}}
{{oriPrice}}
{% endif %}
{% endfor %}
{% assign soldOut = false %}
{% assign soldOutData = '' %}
{% for variant in product.variants %}
{% if variant.inventory_management == 'shopify' and variant.inventory_policy == 'deny' and variant.inventory_quantity == 0 %}
{% assign soldOutData = soldOutData | append: variant.id | append: ' ' %}
{% if forloop.index == 1 %}
{% assign soldOut = true %}
{% endif %}
{% endif %}
{% endfor %}
{% if soldOut %}
Agotado
{% else %}
Añadir a la cesta
{% endif %}
{% else %}
No se encontraron productos. Primero agregue algunos productos a su tienda.
{% endif %}
{% assign product = all_products['h4-led-headlight'] %}
{% if product %}
{% if true %}
{% else %}
{% endif %}
{{product.title}}
{% assign imageLink = '' %}
{% if product.images.size > 0 %}
{% assign imageLink = product.images[0].src | img_url: '' %}
{% endif %}
{% if imageLink != '' %}
{% if true %}
{% else %}
{% endif %}
{% else %}
Este producto no tiene imágenes.
{% endif %}
{% 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 %}
{% if 'token' == 'name' %}
{% assign currencyToken = shop.currency %}
{% else %}
{% assign currencyToken = currencySymbol %}
{% endif %}
{% 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 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 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 == 1 %}
{% assign data = data | append: 'data-variant="' | append: variant.id | append: '" ' %}
{{currencyToken}}
{{priceIntegral}} {% if decimalNumber > 0 %} . {{priceFractional}} {% endif %}
{{currencyToken}}
{{oriPrice}}
{% endif %}
{% endfor %}
{% assign soldOut = false %}
{% assign soldOutData = '' %}
{% for variant in product.variants %}
{% if variant.inventory_management == 'shopify' and variant.inventory_policy == 'deny' and variant.inventory_quantity == 0 %}
{% assign soldOutData = soldOutData | append: variant.id | append: ' ' %}
{% if forloop.index == 1 %}
{% assign soldOut = true %}
{% endif %}
{% endif %}
{% endfor %}
{% if soldOut %}
Agotado
{% else %}
Añadir a la cesta
{% endif %}
{% else %}
No se encontraron productos. Primero agregue algunos productos a su tienda.
{% endif %}
{% assign product = all_products['led-headlight-h13-replacement-bulbs-1'] %}
{% if product %}
{% if true %}
{% else %}
{% endif %}
{{product.title}}
{% assign imageLink = '' %}
{% if product.images.size > 0 %}
{% assign imageLink = product.images[0].src | img_url: '' %}
{% endif %}
{% if imageLink != '' %}
{% if true %}
{% else %}
{% endif %}
{% else %}
Este producto no tiene imágenes.
{% endif %}
{% 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 %}
{% if 'token' == 'name' %}
{% assign currencyToken = shop.currency %}
{% else %}
{% assign currencyToken = currencySymbol %}
{% endif %}
{% 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 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 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 == 1 %}
{% assign data = data | append: 'data-variant="' | append: variant.id | append: '" ' %}
{{currencyToken}}
{{priceIntegral}} {% if decimalNumber > 0 %} . {{priceFractional}} {% endif %}
{{currencyToken}}
{{oriPrice}}
{% endif %}
{% endfor %}
{% assign soldOut = false %}
{% assign soldOutData = '' %}
{% for variant in product.variants %}
{% if variant.inventory_management == 'shopify' and variant.inventory_policy == 'deny' and variant.inventory_quantity == 0 %}
{% assign soldOutData = soldOutData | append: variant.id | append: ' ' %}
{% if forloop.index == 1 %}
{% assign soldOut = true %}
{% endif %}
{% endif %}
{% endfor %}
{% if soldOut %}
Agotado
{% else %}
Añadir a la cesta
{% endif %}
{% else %}
No se encontraron productos. Primero agregue algunos productos a su tienda.
{% endif %}
{% assign product = all_products['9005-hb3-led-headlight-high-beam'] %}
{% if product %}
{% if true %}
{% else %}
{% endif %}
{{product.title}}
{% assign imageLink = '' %}
{% if product.images.size > 0 %}
{% assign imageLink = product.images[0].src | img_url: '' %}
{% endif %}
{% if imageLink != '' %}
{% if true %}
{% else %}
{% endif %}
{% else %}
Este producto no tiene imágenes.
{% endif %}
{% 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 %}
{% if 'token' == 'name' %}
{% assign currencyToken = shop.currency %}
{% else %}
{% assign currencyToken = currencySymbol %}
{% endif %}
{% 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 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 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 == 1 %}
{% assign data = data | append: 'data-variant="' | append: variant.id | append: '" ' %}
{{currencyToken}}
{{priceIntegral}} {% if decimalNumber > 0 %} . {{priceFractional}} {% endif %}
{{currencyToken}}
{{oriPrice}}
{% endif %}
{% endfor %}
{% assign soldOut = false %}
{% assign soldOutData = '' %}
{% for variant in product.variants %}
{% if variant.inventory_management == 'shopify' and variant.inventory_policy == 'deny' and variant.inventory_quantity == 0 %}
{% assign soldOutData = soldOutData | append: variant.id | append: ' ' %}
{% if forloop.index == 1 %}
{% assign soldOut = true %}
{% endif %}
{% endif %}
{% endfor %}
{% if soldOut %}
Agotado
{% else %}
Añadir a la cesta
{% endif %}
{% else %}
No se encontraron productos. Primero agregue algunos productos a su tienda.
{% endif %}
{% assign product = all_products['9004-hb1-led-headlight-bulbs-60w-conversion-kit'] %}
{% if product %}
{% if true %}
{% else %}
{% endif %}
{{product.title}}
{% assign imageLink = '' %}
{% if product.images.size > 0 %}
{% assign imageLink = product.images[0].src | img_url: '' %}
{% endif %}
{% if imageLink != '' %}
{% if true %}
{% else %}
{% endif %}
{% else %}
Este producto no tiene imágenes.
{% endif %}
{% 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 %}
{% if 'token' == 'name' %}
{% assign currencyToken = shop.currency %}
{% else %}
{% assign currencyToken = currencySymbol %}
{% endif %}
{% 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 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 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 == 1 %}
{% assign data = data | append: 'data-variant="' | append: variant.id | append: '" ' %}
{{currencyToken}}
{{priceIntegral}} {% if decimalNumber > 0 %} . {{priceFractional}} {% endif %}
{{currencyToken}}
{{oriPrice}}
{% endif %}
{% endfor %}
{% assign soldOut = false %}
{% assign soldOutData = '' %}
{% for variant in product.variants %}
{% if variant.inventory_management == 'shopify' and variant.inventory_policy == 'deny' and variant.inventory_quantity == 0 %}
{% assign soldOutData = soldOutData | append: variant.id | append: ' ' %}
{% if forloop.index == 1 %}
{% assign soldOut = true %}
{% endif %}
{% endif %}
{% endfor %}
{% if soldOut %}
Agotado
{% else %}
Añadir a la cesta
{% endif %}
{% else %}
No se encontraron productos. Primero agregue algunos productos a su tienda.
{% endif %}
{% assign product = all_products['9007-hb5-led-headlight-bulbs-60w-high-low-conversion-kit'] %}
{% if product %}
{% if true %}
{% else %}
{% endif %}
{{product.title}}
{% assign imageLink = '' %}
{% if product.images.size > 0 %}
{% assign imageLink = product.images[0].src | img_url: '' %}
{% endif %}
{% if imageLink != '' %}
{% if true %}
{% else %}
{% endif %}
{% else %}
Este producto no tiene imágenes.
{% endif %}
{% 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 %}
{% if 'token' == 'name' %}
{% assign currencyToken = shop.currency %}
{% else %}
{% assign currencyToken = currencySymbol %}
{% endif %}
{% 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 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 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 == 1 %}
{% assign data = data | append: 'data-variant="' | append: variant.id | append: '" ' %}
{{currencyToken}}
{{priceIntegral}} {% if decimalNumber > 0 %} . {{priceFractional}} {% endif %}
{{currencyToken}}
{{oriPrice}}
{% endif %}
{% endfor %}
{% assign soldOut = false %}
{% assign soldOutData = '' %}
{% for variant in product.variants %}
{% if variant.inventory_management == 'shopify' and variant.inventory_policy == 'deny' and variant.inventory_quantity == 0 %}
{% assign soldOutData = soldOutData | append: variant.id | append: ' ' %}
{% if forloop.index == 1 %}
{% assign soldOut = true %}
{% endif %}
{% endif %}
{% endfor %}
{% if soldOut %}
Agotado
{% else %}
Añadir a la cesta
{% endif %}
{% else %}
No se encontraron productos. Primero agregue algunos productos a su tienda.
{% endif %}
{% assign product = all_products['led-headlight-h13-replacement-bulbs'] %}
{% if product %}
{% if true %}
{% else %}
{% endif %}
{{product.title}}
{% assign imageLink = '' %}
{% if product.images.size > 0 %}
{% assign imageLink = product.images[0].src | img_url: '' %}
{% endif %}
{% if imageLink != '' %}
{% if true %}
{% else %}
{% endif %}
{% else %}
Este producto no tiene imágenes.
{% endif %}
{% 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 %}
{% if 'token' == 'name' %}
{% assign currencyToken = shop.currency %}
{% else %}
{% assign currencyToken = currencySymbol %}
{% endif %}
{% 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 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 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 == 1 %}
{% assign data = data | append: 'data-variant="' | append: variant.id | append: '" ' %}
{{currencyToken}}
{{priceIntegral}} {% if decimalNumber > 0 %} . {{priceFractional}} {% endif %}
{{currencyToken}}
{{oriPrice}}
{% endif %}
{% endfor %}
{% assign soldOut = false %}
{% assign soldOutData = '' %}
{% for variant in product.variants %}
{% if variant.inventory_management == 'shopify' and variant.inventory_policy == 'deny' and variant.inventory_quantity == 0 %}
{% assign soldOutData = soldOutData | append: variant.id | append: ' ' %}
{% if forloop.index == 1 %}
{% assign soldOut = true %}
{% endif %}
{% endif %}
{% endfor %}
{% if soldOut %}
Agotado
{% else %}
Añadir a la cesta
{% endif %}
{% else %}
No se encontraron productos. Primero agregue algunos productos a su tienda.
{% endif %}