${function() {
const variantData = data.variant || {"id":"68b6454d-1332-4d0c-82d2-8f64e54f6af6","product_id":"0984c0ff-1579-42c1-90ab-a13b652c1982","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"K570506445187379200","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ebee7fde87ab4b65375b31e3453c3ff4.jpeg","path":"ebee7fde87ab4b65375b31e3453c3ff4.jpeg","width":900,"height":1200,"alt":"Women's Colorblock Sweet Sweater Puppy Love Heart Print Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"41.99","price":"24.99","retail_price":"41.99","available":true,"url":"\/products\/womens-colorblock-sweet-sweater-puppy-love-heart-print-sweatshirt?variant=68b6454d-1332-4d0c-82d2-8f64e54f6af6","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":40,"flashsale_info":[],"sales":393};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: 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
Buy now
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"68b6454d-1332-4d0c-82d2-8f64e54f6af6","product_id":"0984c0ff-1579-42c1-90ab-a13b652c1982","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"K570506445187379200","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ebee7fde87ab4b65375b31e3453c3ff4.jpeg","path":"ebee7fde87ab4b65375b31e3453c3ff4.jpeg","width":900,"height":1200,"alt":"Women's Colorblock Sweet Sweater Puppy Love Heart Print Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"41.99","price":"24.99","retail_price":"41.99","available":true,"url":"\/products\/womens-colorblock-sweet-sweater-puppy-love-heart-print-sweatshirt?variant=68b6454d-1332-4d0c-82d2-8f64e54f6af6","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":40,"flashsale_info":[],"sales":393};
return `
`
}()}