${function() {
const variantData = data.variant || {"id":"4caa07a3-9401-4724-910c-ed5b7ee92fd2","product_id":"cd69ecd5-1412-427c-a14b-6919657999f1","title":"Orange-S","weight_unit":"kg","inventory_quantity":999,"sku":"K563287286403047424","barcode":"","position":1,"option1":"Orange","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e024bdc8d35820ca615917a344b5625f.jpeg","path":"e024bdc8d35820ca615917a344b5625f.jpeg","width":675,"height":900,"alt":"Women's Fluffy Black Cat Cartoon Print Casual Gradient Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"40.99","price":"23.99","retail_price":"40.99","available":true,"url":"\/products\/womens-fluffy-black-cat-cartoon-print-casual-gradient-sweatshirt?variant=4caa07a3-9401-4724-910c-ed5b7ee92fd2","available_quantity":999999999,"options":[{"name":"Color","value":"Orange"},{"name":"Size","value":"S"}],"off_ratio":41,"flashsale_info":[],"sales":387};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: Orange
${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":"4caa07a3-9401-4724-910c-ed5b7ee92fd2","product_id":"cd69ecd5-1412-427c-a14b-6919657999f1","title":"Orange-S","weight_unit":"kg","inventory_quantity":999,"sku":"K563287286403047424","barcode":"","position":1,"option1":"Orange","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e024bdc8d35820ca615917a344b5625f.jpeg","path":"e024bdc8d35820ca615917a344b5625f.jpeg","width":675,"height":900,"alt":"Women's Fluffy Black Cat Cartoon Print Casual Gradient Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"40.99","price":"23.99","retail_price":"40.99","available":true,"url":"\/products\/womens-fluffy-black-cat-cartoon-print-casual-gradient-sweatshirt?variant=4caa07a3-9401-4724-910c-ed5b7ee92fd2","available_quantity":999999999,"options":[{"name":"Color","value":"Orange"},{"name":"Size","value":"S"}],"off_ratio":41,"flashsale_info":[],"sales":387};
return `
`
}()}