${function() {
const variantData = data.variant || {"id":"852074db-3a2f-4a39-b109-764ff6477348","product_id":"b2666fae-d74c-4c33-9a49-a331b8f38bd8","title":"Red-S","weight_unit":"kg","inventory_quantity":999,"sku":"K579871236403507200","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0e8f3f8d50a9fbd161a0eecb3f1c7f9c.jpeg","path":"0e8f3f8d50a9fbd161a0eecb3f1c7f9c.jpeg","width":600,"height":800,"alt":"Women's Knitted Colorblock Love Heart Pattern V Neck Open Front Coat","aspect_ratio":0.75},"wholesale_price":[{"price":44.99,"min_quantity":1}],"weight":"0.55","compare_at_price":"64.99","price":"44.99","retail_price":"64.99","available":true,"url":"\/products\/womens-knitted-colorblock-love-heart-pattern-v-neck-open-front-coat?variant=852074db-3a2f-4a39-b109-764ff6477348","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":31,"flashsale_info":[],"sales":1};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: Red
${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
Buy now
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"852074db-3a2f-4a39-b109-764ff6477348","product_id":"b2666fae-d74c-4c33-9a49-a331b8f38bd8","title":"Red-S","weight_unit":"kg","inventory_quantity":999,"sku":"K579871236403507200","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0e8f3f8d50a9fbd161a0eecb3f1c7f9c.jpeg","path":"0e8f3f8d50a9fbd161a0eecb3f1c7f9c.jpeg","width":600,"height":800,"alt":"Women's Knitted Colorblock Love Heart Pattern V Neck Open Front Coat","aspect_ratio":0.75},"wholesale_price":[{"price":44.99,"min_quantity":1}],"weight":"0.55","compare_at_price":"64.99","price":"44.99","retail_price":"64.99","available":true,"url":"\/products\/womens-knitted-colorblock-love-heart-pattern-v-neck-open-front-coat?variant=852074db-3a2f-4a39-b109-764ff6477348","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":31,"flashsale_info":[],"sales":1};
return `
`
}()}