${function() {
const variantData = data.variant || {"id":"ae6034df-4570-4fa0-a855-aac4aab18152","product_id":"574b82a0-c900-453e-a1d3-d49aeaf5470b","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"K546897145000222720","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d82ee7c7fbe79ee153b078af40c5dbc8.png","path":"d82ee7c7fbe79ee153b078af40c5dbc8.png","width":600,"height":800,"alt":"Women's Cute Cat With Clothes Hat Print Striped Long Sleeve Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"37.99","price":"22.99","retail_price":"37.99","available":true,"url":"\/products\/womens-cute-cat-with-clothes-hat-print-striped-long-sleeve-sweatshirt?variant=ae6034df-4570-4fa0-a855-aac4aab18152","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":39,"flashsale_info":[],"sales":348};
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":"ae6034df-4570-4fa0-a855-aac4aab18152","product_id":"574b82a0-c900-453e-a1d3-d49aeaf5470b","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"K546897145000222720","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d82ee7c7fbe79ee153b078af40c5dbc8.png","path":"d82ee7c7fbe79ee153b078af40c5dbc8.png","width":600,"height":800,"alt":"Women's Cute Cat With Clothes Hat Print Striped Long Sleeve Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"37.99","price":"22.99","retail_price":"37.99","available":true,"url":"\/products\/womens-cute-cat-with-clothes-hat-print-striped-long-sleeve-sweatshirt?variant=ae6034df-4570-4fa0-a855-aac4aab18152","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":39,"flashsale_info":[],"sales":348};
return `
`
}()}