${function() {
const variantData = data.variant || {"id":"1beffe18-f417-434a-adaa-95c0fcac537c","product_id":"7b429b6e-4377-4f0d-a28d-883d3f9f37b6","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"K557861519062671360","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0312e5c78ad700307951c93d34458451.png","path":"0312e5c78ad700307951c93d34458451.png","width":468,"height":625,"alt":"Women's Lovely Cats Striped Casual Blouse","aspect_ratio":0.7488},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"44.98","price":"25.99","retail_price":"44.98","available":true,"url":"\/products\/womens-lovely-cats-striped-casual-blouse?variant=1beffe18-f417-434a-adaa-95c0fcac537c","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":42,"flashsale_info":[],"sales":370};
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":"1beffe18-f417-434a-adaa-95c0fcac537c","product_id":"7b429b6e-4377-4f0d-a28d-883d3f9f37b6","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"K557861519062671360","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0312e5c78ad700307951c93d34458451.png","path":"0312e5c78ad700307951c93d34458451.png","width":468,"height":625,"alt":"Women's Lovely Cats Striped Casual Blouse","aspect_ratio":0.7488},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"44.98","price":"25.99","retail_price":"44.98","available":true,"url":"\/products\/womens-lovely-cats-striped-casual-blouse?variant=1beffe18-f417-434a-adaa-95c0fcac537c","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":42,"flashsale_info":[],"sales":370};
return `
`
}()}