${function() {
const variantData = data.variant || {"id":"fc19d615-cfcc-4cd4-82f7-e8f14fd1b3c1","product_id":"80723e0a-5642-484b-a97e-d2df72706cd1","title":"Green-S","weight_unit":"kg","inventory_quantity":999,"sku":"K567245571378008064","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ae8ce4db9d35c10c3a33f76d63b4fc97.jpeg","path":"ae8ce4db9d35c10c3a33f76d63b4fc97.jpeg","width":750,"height":1000,"alt":"Women's Henri Matisse Oil Painting Art Print Casual T-Shirt","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"33.99","price":"19.99","retail_price":"33.99","available":true,"url":"\/products\/womens-henri-matisse-oil-painting-art-print-casual-t-shirt?variant=fc19d615-cfcc-4cd4-82f7-e8f14fd1b3c1","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":41,"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":"fc19d615-cfcc-4cd4-82f7-e8f14fd1b3c1","product_id":"80723e0a-5642-484b-a97e-d2df72706cd1","title":"Green-S","weight_unit":"kg","inventory_quantity":999,"sku":"K567245571378008064","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ae8ce4db9d35c10c3a33f76d63b4fc97.jpeg","path":"ae8ce4db9d35c10c3a33f76d63b4fc97.jpeg","width":750,"height":1000,"alt":"Women's Henri Matisse Oil Painting Art Print Casual T-Shirt","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"33.99","price":"19.99","retail_price":"33.99","available":true,"url":"\/products\/womens-henri-matisse-oil-painting-art-print-casual-t-shirt?variant=fc19d615-cfcc-4cd4-82f7-e8f14fd1b3c1","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":41,"flashsale_info":[],"sales":0};
return `
`
}()}