Miami Romper Dress
${function() {
const variantData = data.variant || {"id":"69347de6-f016-4ff1-abe1-5e68efbfa17a","product_id":"a3be7e7f-fd5a-459b-8369-2c013ad58436","title":"Green-S","weight_unit":"lb","inventory_quantity":0,"sku":"14:201447514#Green;5:1394#S;200007763:201441035","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/439b8f303a69cc4ff8bfc0178c6432bd.jpeg","path":"439b8f303a69cc4ff8bfc0178c6432bd.jpeg","width":540,"height":810,"alt":"43749275238631,43749275435239,43749275861223,43749275009255,43749274812647,43749274583271,","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":44.95,"min_quantity":1}],"weight":"0","compare_at_price":"89.95","price":"44.95","retail_price":"89.95","available":true,"url":"\/products\/miami-romper-dress-n9v5?variant=69347de6-f016-4ff1-abe1-5e68efbfa17a","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":50,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Green
${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
$44.95
${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":"69347de6-f016-4ff1-abe1-5e68efbfa17a","product_id":"a3be7e7f-fd5a-459b-8369-2c013ad58436","title":"Green-S","weight_unit":"lb","inventory_quantity":0,"sku":"14:201447514#Green;5:1394#S;200007763:201441035","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/439b8f303a69cc4ff8bfc0178c6432bd.jpeg","path":"439b8f303a69cc4ff8bfc0178c6432bd.jpeg","width":540,"height":810,"alt":"43749275238631,43749275435239,43749275861223,43749275009255,43749274812647,43749274583271,","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":44.95,"min_quantity":1}],"weight":"0","compare_at_price":"89.95","price":"44.95","retail_price":"89.95","available":true,"url":"\/products\/miami-romper-dress-n9v5?variant=69347de6-f016-4ff1-abe1-5e68efbfa17a","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":50,"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.
Sku : 14:201447514#Green;5:1394#S;200007763:201441035
${function(){
const variantData = data.variant || {"id":"69347de6-f016-4ff1-abe1-5e68efbfa17a","product_id":"a3be7e7f-fd5a-459b-8369-2c013ad58436","title":"Green-S","weight_unit":"lb","inventory_quantity":0,"sku":"14:201447514#Green;5:1394#S;200007763:201441035","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/439b8f303a69cc4ff8bfc0178c6432bd.jpeg","path":"439b8f303a69cc4ff8bfc0178c6432bd.jpeg","width":540,"height":810,"alt":"43749275238631,43749275435239,43749275861223,43749275009255,43749274812647,43749274583271,","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":44.95,"min_quantity":1}],"weight":"0","compare_at_price":"89.95","price":"44.95","retail_price":"89.95","available":true,"url":"\/products\/miami-romper-dress-n9v5?variant=69347de6-f016-4ff1-abe1-5e68efbfa17a","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}