${function() {
const variantData = data.variant || {"id":"17b66ce3-0da6-441f-a368-df7eae570d7a","product_id":"772acf6b-8676-4807-8ba9-fadcaacf4de1","title":"Black-S","weight_unit":"kg","inventory_quantity":999,"sku":"K561073915757666304","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/419f15cf9bd7910f0190c82e6378ac76.jpeg","path":"419f15cf9bd7910f0190c82e6378ac76.jpeg","width":600,"height":800,"alt":"Women's Fluffy Cat Pattern All Over Print Casual 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-cat-pattern-all-over-print-casual-sweatshirt?variant=17b66ce3-0da6-441f-a368-df7eae570d7a","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":41,"flashsale_info":[],"sales":413};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: Black
${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":"17b66ce3-0da6-441f-a368-df7eae570d7a","product_id":"772acf6b-8676-4807-8ba9-fadcaacf4de1","title":"Black-S","weight_unit":"kg","inventory_quantity":999,"sku":"K561073915757666304","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/419f15cf9bd7910f0190c82e6378ac76.jpeg","path":"419f15cf9bd7910f0190c82e6378ac76.jpeg","width":600,"height":800,"alt":"Women's Fluffy Cat Pattern All Over Print Casual 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-cat-pattern-all-over-print-casual-sweatshirt?variant=17b66ce3-0da6-441f-a368-df7eae570d7a","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":41,"flashsale_info":[],"sales":413};
return `
`
}()}