ARTISTIC STYLE LOOSE DRESS
${function() {
const variantData = data.variant || {"id":"d12c3519-7c9a-4635-acbb-b3a22e572623","product_id":"2b9d5414-2fe1-437e-9d17-8aecf5b7fc31","title":"Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"a-Green-S-A00231978","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6282ec930c349b8afb9fd043ec414c9e.jpeg","path":"6282ec930c349b8afb9fd043ec414c9e.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":49.98,"min_quantity":1}],"weight":"0","compare_at_price":"79.98","price":"49.98","retail_price":"79.98","available":true,"url":"\/products\/artistic-style-loose-dressf882e711-5961-4a9c-8846-4772dd1f346e?variant=d12c3519-7c9a-4635-acbb-b3a22e572623","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":38,"flashsale_info":[],"sales":13};
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}
`
}()}
people are viewing this right now
Add to cart
$49.98
${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":"d12c3519-7c9a-4635-acbb-b3a22e572623","product_id":"2b9d5414-2fe1-437e-9d17-8aecf5b7fc31","title":"Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"a-Green-S-A00231978","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6282ec930c349b8afb9fd043ec414c9e.jpeg","path":"6282ec930c349b8afb9fd043ec414c9e.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":49.98,"min_quantity":1}],"weight":"0","compare_at_price":"79.98","price":"49.98","retail_price":"79.98","available":true,"url":"\/products\/artistic-style-loose-dressf882e711-5961-4a9c-8846-4772dd1f346e?variant=d12c3519-7c9a-4635-acbb-b3a22e572623","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":38,"flashsale_info":[],"sales":13};
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":"d12c3519-7c9a-4635-acbb-b3a22e572623","product_id":"2b9d5414-2fe1-437e-9d17-8aecf5b7fc31","title":"Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"a-Green-S-A00231978","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6282ec930c349b8afb9fd043ec414c9e.jpeg","path":"6282ec930c349b8afb9fd043ec414c9e.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":49.98,"min_quantity":1}],"weight":"0","compare_at_price":"79.98","price":"49.98","retail_price":"79.98","available":true,"url":"\/products\/artistic-style-loose-dressf882e711-5961-4a9c-8846-4772dd1f346e?variant=d12c3519-7c9a-4635-acbb-b3a22e572623","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":38,"flashsale_info":[],"sales":13};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}