${function() {
const variantData = data.variant || {"id":"f5dc6f8d-fe2e-495c-b41d-b54dd191d36f","product_id":"d8b4e93f-3e5a-44ee-88da-d368b4578894","title":"Green-S","weight_unit":"kg","inventory_quantity":999,"sku":"K552071010198564864","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/72d1843e8b3bb8e3566ad1dc7758afd2.jpeg","path":"72d1843e8b3bb8e3566ad1dc7758afd2.jpeg","width":750,"height":1000,"alt":"Women's Classic Bird And Flowers Art Painting Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0.28","compare_at_price":"37.99","price":"26.99","retail_price":"37.99","available":true,"url":"\/products\/womens-classic-bird-and-flowers-art-painting-sweatshirt?variant=f5dc6f8d-fe2e-495c-b41d-b54dd191d36f","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":29,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
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}
`
}()}
Add to cart
Buy now
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"f5dc6f8d-fe2e-495c-b41d-b54dd191d36f","product_id":"d8b4e93f-3e5a-44ee-88da-d368b4578894","title":"Green-S","weight_unit":"kg","inventory_quantity":999,"sku":"K552071010198564864","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/72d1843e8b3bb8e3566ad1dc7758afd2.jpeg","path":"72d1843e8b3bb8e3566ad1dc7758afd2.jpeg","width":750,"height":1000,"alt":"Women's Classic Bird And Flowers Art Painting Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0.28","compare_at_price":"37.99","price":"26.99","retail_price":"37.99","available":true,"url":"\/products\/womens-classic-bird-and-flowers-art-painting-sweatshirt?variant=f5dc6f8d-fe2e-495c-b41d-b54dd191d36f","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":29,"flashsale_info":[],"sales":0};
return `
`
}()}