${function() {
const variantData = data.variant || {"id":"f8c082dc-bc0e-4468-bb62-bf21e8df8db0","product_id":"eda8e157-64a9-4d06-a5ca-7d7c7454ad22","title":"Khaki-S","weight_unit":"kg","inventory_quantity":999,"sku":"K553163561662263296","barcode":"","position":1,"option1":"Khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/48843805a31b519e85d28db1b49f2b55.jpeg","path":"48843805a31b519e85d28db1b49f2b55.jpeg","width":600,"height":800,"alt":"Women's Classic Insect Butterfly Art Casual Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":30.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"30.99","price":"30.99","retail_price":"30.99","available":true,"url":"\/products\/womens-classic-insect-butterfly-art-casual-sweatshirt-nzib?variant=f8c082dc-bc0e-4468-bb62-bf21e8df8db0","available_quantity":999999999,"options":[{"name":"Color","value":"Khaki"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":189};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: Khaki
${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":"f8c082dc-bc0e-4468-bb62-bf21e8df8db0","product_id":"eda8e157-64a9-4d06-a5ca-7d7c7454ad22","title":"Khaki-S","weight_unit":"kg","inventory_quantity":999,"sku":"K553163561662263296","barcode":"","position":1,"option1":"Khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/48843805a31b519e85d28db1b49f2b55.jpeg","path":"48843805a31b519e85d28db1b49f2b55.jpeg","width":600,"height":800,"alt":"Women's Classic Insect Butterfly Art Casual Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":30.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"30.99","price":"30.99","retail_price":"30.99","available":true,"url":"\/products\/womens-classic-insect-butterfly-art-casual-sweatshirt-nzib?variant=f8c082dc-bc0e-4468-bb62-bf21e8df8db0","available_quantity":999999999,"options":[{"name":"Color","value":"Khaki"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":189};
return `
`
}()}