Women's Gingham Ruched Back Cross One Piece Swimsuit
${function() {
const variantData = data.variant || {"id":"ec5853e0-9dcb-4e3c-a0ef-2251d33f46ff","product_id":"d0b9b542-3f44-4f68-b695-ac672b6712b3","title":"Black White-Large","weight_unit":"lb","inventory_quantity":100,"sku":"B07P1RFZFK","barcode":"","position":1,"option1":"Black White","option2":"Large","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b975dd987255be4405d5b16a7c4a9ee6.jpeg","path":"b975dd987255be4405d5b16a7c4a9ee6.jpeg","width":999,"height":1500,"alt":"","aspect_ratio":0.666},"wholesale_price":[{"price":67.99,"min_quantity":1}],"weight":"0","compare_at_price":"190","price":"67.99","retail_price":"190","available":true,"url":"\/products\/womens-gingham-ruched-back-cross-one-piece-swimsuit?variant=ec5853e0-9dcb-4e3c-a0ef-2251d33f46ff","available_quantity":100,"options":[{"name":"Color","value":"Black White"},{"name":"Size","value":"Large"}],"off_ratio":64,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Black White
${function(){
const optName = "Color";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Size:
Large
${function(){
const optName = "Size";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Add to cart
$67.99
${function(){
const wholesale_enabled = false;
const qty = data.quantity || 1;
const currentSelectVariant = data.variant;
const defaultVariant = (data.product && data.product.variants && data.product.variants[0]);
const productVariant = {"id":"ec5853e0-9dcb-4e3c-a0ef-2251d33f46ff","product_id":"d0b9b542-3f44-4f68-b695-ac672b6712b3","title":"Black White-Large","weight_unit":"lb","inventory_quantity":100,"sku":"B07P1RFZFK","barcode":"","position":1,"option1":"Black White","option2":"Large","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b975dd987255be4405d5b16a7c4a9ee6.jpeg","path":"b975dd987255be4405d5b16a7c4a9ee6.jpeg","width":999,"height":1500,"alt":"","aspect_ratio":0.666},"wholesale_price":[{"price":67.99,"min_quantity":1}],"weight":"0","compare_at_price":"190","price":"67.99","retail_price":"190","available":true,"url":"\/products\/womens-gingham-ruched-back-cross-one-piece-swimsuit?variant=ec5853e0-9dcb-4e3c-a0ef-2251d33f46ff","available_quantity":100,"options":[{"name":"Color","value":"Black White"},{"name":"Size","value":"Large"}],"off_ratio":64,"flashsale_info":[],"sales":0};
const variantData = currentSelectVariant || defaultVariant || productVariant;
const wholesale_price = variantData.wholesale_price || [];
if(wholesale_enabled && wholesale_price.length > 0) {
let wholesaleIndex = wholesale_price.findIndex(item => {
return item.min_quantity > qty;
});
if(wholesaleIndex < 0){
wholesaleIndex = wholesale_price.length - 1;
}else if(wholesaleIndex > 0){
wholesaleIndex = wholesaleIndex - 1;
}
const wholesalePrice = wholesale_price[wholesaleIndex] || '';
return `
`
}else {
const price = variantData && variantData.price;
return price != undefined ? `
` : ' ';
}
}()}
Buy now
Product was out of stock.
Product is unavailable.
North America: 10-15 days;
Europe: 5-10 days;