{% for image in imagesCopy %} {% assign imagePosition = image.position %} {% if valueImage and imagePosition == valueImage %} {% assign urlImage = urlImage | append: image.src %} {% endif %} {% endfor %} {% if urlImage != '' %} {% assign backgroundSwatch = backgroundSwatch | append: "background-image: url('" | append: urlImage | append: "');" %} {% else %} {% assign backgroundSwatch = backgroundSwatch | append: backgroundColor %} {% endif %} {% endif %} {% endfor %} {% if optionsLength > maxItem %} {% assign count = optionsLength | minus: maxItem %} {% endif %} {% endif %} {% endif %} {% endfor %} {% endfor %} {% assign numberOfProductPerRow = widgetDesignSettings.numberOfProductPerRow %} {% assign numberOfRecommendProduct = widgetDesignSettings.numberOfRecommendProduct %} {% if numberOfRecommendProduct < numberOfProductPerRow %} {% assign sliderPages = 1 %} {% assign disable = "disabled" %} {% else %} {% assign sliderPages = numberOfRecommendProduct | divided_by: numberOfProductPerRow | ceil %} {% assign disable = "" %} {% endif %}
{% else %} {% assign bundleStyle = widgetDesignSettings.bundleStyle %}
{% for product in products %}
{% if product.checked %} {% endif %}
{% if product.images_info[0] %} {{ product.title | escape }} {% else %} {{ product.title | escape }} {% endif %}
{% if product.checked %}
{% endif %} {% if bundleStyle == 'style2' %}
{% if forloop.index0 == 0 %} This item: {{ product.title | escape }} {% elsif product.checked %} {{ product.title | escape }} {% else %} {{ product.title | escape }} {% endif %}
{%- if product.selectedOption.title != 'Default Title' -%}
{% endif %}
{{ product.selectedOption.price }}
{% endif %}
{% unless forloop.last %}
{% endunless %} {% endfor %}
{% if bundleStyle == 'style1' %} {% for product in products %}
{% if forloop.index0 == 0 %} This item: {{ product.title | escape }} {% elsif product.checked %} {{ product.title | escape }} {% else %} {{ product.title | escape }} {% endif %}
{%- if product.selectedOption.title != 'Default Title' -%}
{% endif %} {{ product.selectedOption.price }}
{% endfor %} {% endif %}
{% if hasSelectedProduct == true %}
Total price: {{ totalPrice }}
{% endif %}
{% endif %} `; ;template["searchTabCollectionsContent"]=`
{% assign currentLocale = '' %} {% if currentLocale != "" %} {% assign currentLocale = currentLocale %} {% endif %} {% for collection in collections %}

{{ collection.title | escape }}

{% endfor %} {% capture pageSize %} 25 {% endcapture %} {% assign pageSize = pageSize | plus: 0 %} {% if pageSize < totalCollection %} {% assign totalPage = totalCollection | divided_by: pageSize | ceil %} {% assign pagination = currentPage | pagination_list: totalPage | split: "," %} {% assign toProduct = currentPage | times: pageSize %}
{% if currentPage != 1 %} {% endif %} {% for page_string in pagination %} {% assign page = page_string | plus: 0 %} {% if page == 0 %} {% elsif page == request.page %} {% else %} {% endif %} {% endfor %} {% if currentPage != totalPage %} {% endif %}
{% endif %}
`; ;template["searchTabPagesContent"]=`
{% for page in pages %}

{{ page.title | escape }}

{% endfor %} {% capture pageSize %} 25 {% endcapture %} {% assign pageSize = pageSize | plus: 0 %} {% if pageSize < totalPageTab %} {% assign totalPage = totalPageTab | divided_by: pageSize | ceil %} {% assign pagination = currentPage | pagination_list: totalPage | split: "," %} {% assign toProduct = currentPage | times: pageSize %}
{% if currentPage != 1 %} {% endif %} {% for page_string in pagination %} {% assign page = page_string | plus: 0 %} {% if page == 0 %} {% elsif page == request.page %} {% else %} {% endif %} {% endfor %} {% if currentPage != totalPage %} {% endif %}
{% endif %}
`; ;template["searchTabCollectionsContentPagination"]=`{% assign pagination = currentPage | pagination_list: totalPage | split: "," %} {% assign toProduct = currentPage | times: pageSize %}
{% if currentPage != 1 %} {% endif %} {% for page_string in pagination %} {% assign page = page_string | plus: 0 %} {% if page == 0 %} {% elsif page == request.page %} {% else %} {% endif %} {% endfor %} {% if currentPage != totalPage %} {% endif %}
`; ;template["placeholderFilterTree"]=`
`; ;template["preOrder"]=`

{{ "quickView.qvQuantity" | translate: translations, 'Quantity' }}

{{ "quickView.qvQuantityError" | translate: translations, 'Please input quantity' }}
{% if product.variants %} {% assign variants = product.variants %} {% else %} {% assign variants = variants %} {% endif %} {% for variant in variants %} {% if variant.preorder %} {% assign paymentType = variant.preorder.payment.type %} {% assign discountType = variant.preorder.payment.discountType %} {% assign discountValue = variant.preorder.payment.discountValue %} {% assign originalPrice = variant.price %} {% assign paymentLabel = '' %} {% if paymentType == 'full' %} {% assign paymentLabel = 'Full payment' %} {% endif %} {% if paymentType == 'partial' %} {% assign paymentLabel = 'Partial payment' %} {% endif %} {% if paymentType == 'none' %} {% assign paymentLabel = 'No payment' %} {% endif %} {% capture showCurrencyCodes %}false{% endcapture %} {% assign moneyFormat = request.money_format | strip_html -%} {% if showCurrencyCodes == 'true' %} {% assign moneyFormat = request.money_format_with_currency | strip_html -%} {% endif %} {% assign moneyRate = request.currency_rate | strip_html -%} {% if discountType == 'percentage' %} {% assign percentNum = originalPrice | times: discountValue | divided_by: 100 %} {% assign discountedPrice = originalPrice | times: 1.0 | minus: percentNum %} {% elsif discountType == 'amount' %} {% assign discountValue = discountValue | times: moneyRate %} {% assign discountedPrice = originalPrice | times: 1.0 | minus: discountValue %} {% else %} {% assign discountedPrice = originalPrice %} {% endif %} {% assign removePriceDecimal = false -%} {% assign showCentAsSuperscript = false -%} {% assign decimalDelimiter = '' -%} {% assign withoutTrailingZeros = true -%} {% assign originalPriceFormat = originalPrice | format_currency: moneyFormat, showCentAsSuperscript, removePriceDecimal, decimalDelimiter, withoutTrailingZeros -%} {% assign discountedPriceFormat = discountedPrice | format_currency: moneyFormat, showCentAsSuperscript, removePriceDecimal, decimalDelimiter, withoutTrailingZeros -%} {% assign discountValueFormat = discountValue | format_currency: moneyFormat, showCentAsSuperscript, removePriceDecimal, decimalDelimiter, withoutTrailingZeros %}

{{ paymentLabel }}

{% if discountType == 'percentage' %} Save {{ discountValue }}% {% elsif discountType == 'amount' %} Save {{ discountValueFormat }} {% endif %}
{% if discountType != 'none' %} {{ originalPriceFormat }} {% endif %} {{ discountedPriceFormat }}
{% endif %} {% endfor %} {% assign buttonLabel = 'Pre-Order' %} {% assign preOrderButtonText = variants[0].preorder.settings.buttonText %} {% assign preOrderDeliveryText = variants[0].preorder.settings.deliveryText %} {% if preOrderButtonText and preOrderButtonText != '' %} {% assign buttonLabel = preOrderButtonText %} {% endif %}

Please note: {{ preOrderDeliveryText }}

`; ;template["preOrderPlaceholder"]=`
`; ;template["backInStock"]=` `; ;return{templateUrl:"https://services.mybcapps.com/bc-sf-filter/ssr-template",templateId,templateMetadata,template,templateSettings}}};TemplateManagement.moduleName="TemplateManagement";var VolumeBundle=class extends BoostTAEAppModule{constructor(){super(...arguments);this.initBlock=()=>{const volumeBundleDom=document.querySelector(".boost-sd__widget-volume-bundle");if(!volumeBundleDom){return}this.block={id:volumeBundleDom.id||"bc-volume-bundle",document:volumeBundleDom};this.backwardCompatibilityV1Module?.legacyAssignDefaultBlockAttributes(this.block,volumeBundleDom,"volumeBundle");this.TAEApp.registerBlock(this.block)}}get backwardCompatibilityV1Module(){return this.TAEApp.getModule(BackwardCompatibilityV1)}onModuleInit(){document.addEventListener("DOMContentLoaded",this.initBlock)}onModuleDestroy(){document.removeEventListener("DOMContentLoaded",this.initBlock)}};VolumeBundle.moduleName="VolumeBundle";var application=new Application().loadModule(AppSettings).loadModule(ShopifyDataObject).loadModule(ShopifyMetafield).loadModule(TemplateManagement).loadModule(CollectionFilter).loadModule(AdditionalElement).loadModule(Search).loadModule(Recommendation).loadModule(Cart).loadModule(Analytics).loadModule(B2B).loadModule(BackInStock).loadModule(VolumeBundle).loadModule(PredictiveBundle).loadModule(PreOrder).loadModule(SimplifiedIntegration).loadModule(SEOEnhancement).loadModule(Fallback).loadModule(AssetFilesLoader).loadModule(BackwardCompatibilityV1);application.start();function getBoostTAE(){return application}})(); Ir al contenido

Cesta

La cesta está vacía

¿Interesado en probarse vestidos en nuestro Showroom?