${function() {
const variantData = data.variant || {"id":"2979fcb5-6f2e-4124-b24e-64eefbe506a3","product_id":"b6789b62-e253-4507-bb6f-0fbf4888401d","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"K554558292679766016","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5ccdb85786e0917fc2ad920762e59b66.png","path":"5ccdb85786e0917fc2ad920762e59b66.png","width":600,"height":800,"alt":"Women's Colorful Watercolor Bird Print Art Long Sleeve T-Shirt","aspect_ratio":0.75},"wholesale_price":[{"price":21.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"38.99","price":"21.99","retail_price":"38.99","available":true,"url":"\/products\/womens-colorful-watercolor-bird-print-art-long-sleeve-t-shirt?variant=2979fcb5-6f2e-4124-b24e-64eefbe506a3","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":44,"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
: 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":"2979fcb5-6f2e-4124-b24e-64eefbe506a3","product_id":"b6789b62-e253-4507-bb6f-0fbf4888401d","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"K554558292679766016","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5ccdb85786e0917fc2ad920762e59b66.png","path":"5ccdb85786e0917fc2ad920762e59b66.png","width":600,"height":800,"alt":"Women's Colorful Watercolor Bird Print Art Long Sleeve T-Shirt","aspect_ratio":0.75},"wholesale_price":[{"price":21.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"38.99","price":"21.99","retail_price":"38.99","available":true,"url":"\/products\/womens-colorful-watercolor-bird-print-art-long-sleeve-t-shirt?variant=2979fcb5-6f2e-4124-b24e-64eefbe506a3","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":44,"flashsale_info":[],"sales":0};
return `
`
}()}