${function() {
const variantData = data.variant || {"id":"565db124-7475-4422-83ae-83a4b25e27f6","product_id":"5a5ba266-a000-42a1-bfa8-979f86dad57f","title":"Blue-S","weight_unit":"kg","inventory_quantity":999,"sku":"K563603012749918208","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ca88ac0dd5a3c2ec71573bb950347422.jpeg","path":"ca88ac0dd5a3c2ec71573bb950347422.jpeg","width":640,"height":853,"alt":"Women's Embroidery Art Bird Flower Print Casual T-Shirt","aspect_ratio":0.7502930832356389},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"36.99","price":"19.99","retail_price":"36.99","available":true,"url":"\/products\/womens-embroidery-art-bird-flower-print-casual-t-shirt?variant=565db124-7475-4422-83ae-83a4b25e27f6","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":46,"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
: Blue
${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":"565db124-7475-4422-83ae-83a4b25e27f6","product_id":"5a5ba266-a000-42a1-bfa8-979f86dad57f","title":"Blue-S","weight_unit":"kg","inventory_quantity":999,"sku":"K563603012749918208","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ca88ac0dd5a3c2ec71573bb950347422.jpeg","path":"ca88ac0dd5a3c2ec71573bb950347422.jpeg","width":640,"height":853,"alt":"Women's Embroidery Art Bird Flower Print Casual T-Shirt","aspect_ratio":0.7502930832356389},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"36.99","price":"19.99","retail_price":"36.99","available":true,"url":"\/products\/womens-embroidery-art-bird-flower-print-casual-t-shirt?variant=565db124-7475-4422-83ae-83a4b25e27f6","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":46,"flashsale_info":[],"sales":1};
return `
`
}()}