Search
- Shapewear
- View all Shapewear
- Bestselling Shapewear
- New Shapewear
- Tummy and Belly
- Hips / Butt
- Legs and Thighs
- Arms
- Back
- Shapewear Finder Quiz
Shop by Solution
Shop by Style
Shop by Compression Level
- Bras
- View all Bras
- Bestselling Bras
- New Bras
- Bra Finder Quiz
Shop Bras by Solution
Shop Bras by Style
- Panties
- View all Panties
- Bestselling Panties
- New Panties
- Value Pack Panties
- Panty Finder Quiz
- Panty Promise
Shop Panties by Style
Shop Panties by Solution
Shop by Compression Level
- Swim
- View all Swim
- Bestselling Swimwear
Swim Styles
Shop by Compression Level
- Activewear
- View all Activewear
- Bestselling Activewear
- Curated by Ale Villegas
- Pajamas
- Activewear Finder Quiz
Shop Activewear by Style
Shop by Activity
- Sale
- View all On Sale
Browse By
- Also Visit
'); } } } function habilitar(e){ var element = document.getElementById('checkout_ejecutiva'); var key = e.value; if (key != ""){ element.removeAttribute('disabled'); element.classList.remove("btn--disabled"); }else { element.setAttribute("disabled", ""); element.classList.add("btn--disabled"); } } function showDiv() { $('#divlink').hide(); $('#agrupaInput').show(); } function FormatLocalStoreE(element) { if (element == null) { return ""; } else { return element; } } function validarInput() { if (document.getElementById("id_ejecutiva").value == '') { document.getElementById("divejecutiva").classList.remove('field--error'); document.getElementById("mensajeId").classList.remove("field__message--error"); $('#mensajeId').css('display', 'none'); } } function setCookieE(name, value, days) { var expires = ""; if (days) { var date = new Date(); date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000)); expires = "; expires=" + date.toUTCString(); } document.cookie = name + "=" + ( value || "" ) + expires + "; path=/"; } function getCookieE(name) { var nameEQ = name + "="; var ca = document.cookie.split(';'); for (var i = 0; i < ca.length; i++) { var c = ca[i]; while (c.charAt(0) == ' ') c = c.substring(1, c.length); if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length); } return null; } function removeCookieE(name) { document.cookie = name + '=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT;'; } async function setCustomerInfoE(eje_referido_por_id) { let result try { result = await $.ajax({ url: 'https://infinity.leonisa.com/webstore-service-utilities/consultar?id=' + eje_referido_por_id, type: "GET", crossDomain: true, success: function(info, textStatus, xhr) { console.log('ok'); var cadena = info.split('|') var nombre = cadena[0]; var tags = cadena[1]; if (tags.includes("DLM")) { setCookieE("Ejecutiva_referido_por", nombre, expireDays_); setCookieE("id_Ejecutiva_referido_por", eje_referido_por_id, expireDays_); // console.log(info); return nombre; } else { // removeCookieE('Ejecutiva_referido_por'); // removeCookieE('id_Ejecutiva_referido_por'); return ''; } }, error: function(error) { console.log('message Error setCustomerInfoE' + JSON.stringify(error)); return ''; } }); return result } catch (error) { return '' } } async function consultarId() { var mensajeExitoso = "Translation missing: en.cart.ejecutiva.mensajeExitoso"; var mensajeError = "Translation missing: en.cart.ejecutiva.mensajeError"; var id = document.getElementById("id_ejecutiva").value; if (id == "") { return; } var infocustomer = await this.setCustomerInfoE(id); var cadena = infocustomer.split('|') var nombre = cadena[0]; var tags = cadena[1]; if ((infocustomer != '') && (tags.includes("DLM"))) { document.getElementById("mensajeId").innerText = mensajeExitoso; document.getElementById("divejecutiva").classList.remove('field--error'); document.getElementById("mensajeId").classList.remove("field__message--error"); $('#mensajeId').css('display', 'block'); HideDiv(); } else { document.getElementById("mensajeId").innerText = mensajeError; document.getElementById("divejecutiva").classList.add("field--error"); document.getElementById("mensajeId").classList.add("field__message--error"); $('#mensajeId').css('display', 'block'); } } function addAttriEjecutiva(){ if (Shopify.Checkout.step != "thank_you"){ if (FormatLocalStore(getCookieE("id_Ejecutiva_referido_por")) != ""){ let cart_tag_input = ''; $('#continue_button').parent().append(cart_tag_input); document.getElementById("tagsEjecutiva").value = FormatLocalStore(getCookieE("id_Ejecutiva_referido_por")); } } }
- Shapewear
Shop by Solution
Shop by Style
Shop by Compression Level
- Bras
Shop Bras by Solution
Shop Bras by Style
- Panties
Shop Panties by Style
Shop Panties by Solution
- Swim
Shop by Compression Level
- Leggings
- Activewear
- Bridal
- Sale
- Shop Men
- Shop Medical
BOGO 40% OFF Swimwear · SEE ALL OFFERS >