${function() {
const variantData = data.variant || {"id":"baa83884-b27a-4e85-984d-8892fff51acf","product_id":"fb2c1f0e-a140-484e-aab1-f4261cf91fe2","title":"Green-S","weight_unit":"kg","inventory_quantity":999,"sku":"K555676863441960960","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/49595008177c34c5b9ec2e2c90bd7c29.jpeg","path":"49595008177c34c5b9ec2e2c90bd7c29.jpeg","width":675,"height":900,"alt":"Women's Meowy Catmas Christmas Hat Lights Cat Print 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-meowy-catmas-christmas-hat-lights-cat-print-sweatshirt?variant=baa83884-b27a-4e85-984d-8892fff51acf","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":41,"flashsale_info":[],"sales":349};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: Green
${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":"baa83884-b27a-4e85-984d-8892fff51acf","product_id":"fb2c1f0e-a140-484e-aab1-f4261cf91fe2","title":"Green-S","weight_unit":"kg","inventory_quantity":999,"sku":"K555676863441960960","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/49595008177c34c5b9ec2e2c90bd7c29.jpeg","path":"49595008177c34c5b9ec2e2c90bd7c29.jpeg","width":675,"height":900,"alt":"Women's Meowy Catmas Christmas Hat Lights Cat Print 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-meowy-catmas-christmas-hat-lights-cat-print-sweatshirt?variant=baa83884-b27a-4e85-984d-8892fff51acf","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":41,"flashsale_info":[],"sales":349};
return `
`
}()}