Long Chiffon Cotton&Linen Sleeveless Body Shaping Black and White Matching Color Suit
${function() {
const variantData = data.variant || {"id":"4d21ad30-750c-45d5-8332-1aae1d9fd7d4","product_id":"4d65b6d8-98eb-4aad-8b48-cec50d881216","title":"Black and white-S","weight_unit":"kg","inventory_quantity":999,"sku":"JY790-Black and white-S","barcode":"","position":1,"option1":"Black and white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f0c44c703b2f6a021014082a66a3d24d.jpeg","path":"f0c44c703b2f6a021014082a66a3d24d.jpeg","width":599,"height":800,"alt":"","aspect_ratio":0.74875},"wholesale_price":[{"price":33.99,"min_quantity":1}],"weight":"0","compare_at_price":"53.99","price":"33.99","retail_price":"53.99","available":true,"url":"\/products\/long-chiffon-cotton-linen-sleeveless-body-shaping-black-and-white-matching-color-suit?variant=4d21ad30-750c-45d5-8332-1aae1d9fd7d4","available_quantity":999,"options":[{"name":"color","value":"Black and white"},{"name":"size","value":"S"}],"off_ratio":37,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
people are viewing this right now
Color:
Black and 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:
S
${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
$33.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":"4d21ad30-750c-45d5-8332-1aae1d9fd7d4","product_id":"4d65b6d8-98eb-4aad-8b48-cec50d881216","title":"Black and white-S","weight_unit":"kg","inventory_quantity":999,"sku":"JY790-Black and white-S","barcode":"","position":1,"option1":"Black and white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f0c44c703b2f6a021014082a66a3d24d.jpeg","path":"f0c44c703b2f6a021014082a66a3d24d.jpeg","width":599,"height":800,"alt":"","aspect_ratio":0.74875},"wholesale_price":[{"price":33.99,"min_quantity":1}],"weight":"0","compare_at_price":"53.99","price":"33.99","retail_price":"53.99","available":true,"url":"\/products\/long-chiffon-cotton-linen-sleeveless-body-shaping-black-and-white-matching-color-suit?variant=4d21ad30-750c-45d5-8332-1aae1d9fd7d4","available_quantity":999,"options":[{"name":"color","value":"Black and white"},{"name":"size","value":"S"}],"off_ratio":37,"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.
${function(){
const variantData = data.variant || {"id":"4d21ad30-750c-45d5-8332-1aae1d9fd7d4","product_id":"4d65b6d8-98eb-4aad-8b48-cec50d881216","title":"Black and white-S","weight_unit":"kg","inventory_quantity":999,"sku":"JY790-Black and white-S","barcode":"","position":1,"option1":"Black and white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f0c44c703b2f6a021014082a66a3d24d.jpeg","path":"f0c44c703b2f6a021014082a66a3d24d.jpeg","width":599,"height":800,"alt":"","aspect_ratio":0.74875},"wholesale_price":[{"price":33.99,"min_quantity":1}],"weight":"0","compare_at_price":"53.99","price":"33.99","retail_price":"53.99","available":true,"url":"\/products\/long-chiffon-cotton-linen-sleeveless-body-shaping-black-and-white-matching-color-suit?variant=4d21ad30-750c-45d5-8332-1aae1d9fd7d4","available_quantity":999,"options":[{"name":"color","value":"Black and white"},{"name":"size","value":"S"}],"off_ratio":37,"flashsale_info":[],"sales":0};
return `
`
}()}