${function() {
const variantData = data.variant || {"id":"5dcd81da-5b26-4ca0-89b4-734df852428b","product_id":"d2b98a70-7958-4f88-a5b3-b51d9ff37528","title":"Blue-0xl","weight_unit":"kg","inventory_quantity":999,"sku":"K547320953802817536","barcode":"","position":1,"option1":"Blue","option2":"0xl","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f24522524bfdc9dc34c31092e5470701.jpeg","path":"f24522524bfdc9dc34c31092e5470701.jpeg","width":1800,"height":1800,"alt":"Women's Flower Coat","aspect_ratio":1},"wholesale_price":[{"price":32.99,"min_quantity":1}],"weight":"0.37","compare_at_price":"32.99","price":"32.99","retail_price":"32.99","available":true,"url":"\/products\/womens-flower-coat?variant=5dcd81da-5b26-4ca0-89b4-734df852428b","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"0xl"}],"off_ratio":0,"flashsale_info":[],"sales":2};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: Blue
${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
: 0xl
${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
Buy now
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"5dcd81da-5b26-4ca0-89b4-734df852428b","product_id":"d2b98a70-7958-4f88-a5b3-b51d9ff37528","title":"Blue-0xl","weight_unit":"kg","inventory_quantity":999,"sku":"K547320953802817536","barcode":"","position":1,"option1":"Blue","option2":"0xl","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f24522524bfdc9dc34c31092e5470701.jpeg","path":"f24522524bfdc9dc34c31092e5470701.jpeg","width":1800,"height":1800,"alt":"Women's Flower Coat","aspect_ratio":1},"wholesale_price":[{"price":32.99,"min_quantity":1}],"weight":"0.37","compare_at_price":"32.99","price":"32.99","retail_price":"32.99","available":true,"url":"\/products\/womens-flower-coat?variant=5dcd81da-5b26-4ca0-89b4-734df852428b","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"0xl"}],"off_ratio":0,"flashsale_info":[],"sales":2};
return `
`
}()}