${function() {
const variantData = data.variant || {"id":"12ebf9b7-849a-4ceb-8983-228f0ba0a9dd","product_id":"3bff32a2-78f3-4844-93c9-ab17664b9697","title":"Blue-S","weight_unit":"kg","inventory_quantity":999,"sku":"K568008831967023104","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d1e837217cacf2d664efe7e03080ea88.jpeg","path":"d1e837217cacf2d664efe7e03080ea88.jpeg","width":750,"height":1000,"alt":"Women's Floral Lace Visual Art Print Casual Short Sleeve Tee","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-floral-lace-visual-art-print-casual-short-sleeve-tee?variant=12ebf9b7-849a-4ceb-8983-228f0ba0a9dd","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":41,"flashsale_info":[],"sales":300};
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":"12ebf9b7-849a-4ceb-8983-228f0ba0a9dd","product_id":"3bff32a2-78f3-4844-93c9-ab17664b9697","title":"Blue-S","weight_unit":"kg","inventory_quantity":999,"sku":"K568008831967023104","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d1e837217cacf2d664efe7e03080ea88.jpeg","path":"d1e837217cacf2d664efe7e03080ea88.jpeg","width":750,"height":1000,"alt":"Women's Floral Lace Visual Art Print Casual Short Sleeve Tee","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-floral-lace-visual-art-print-casual-short-sleeve-tee?variant=12ebf9b7-849a-4ceb-8983-228f0ba0a9dd","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":41,"flashsale_info":[],"sales":300};
return `
`
}()}