${function() {
const variantData = data.variant || {"id":"200e22eb-5c42-4a73-a769-a0f0432c4198","product_id":"a9c15353-1b56-40b9-b3f0-0f19af6af65c","title":"Red-S","weight_unit":"kg","inventory_quantity":999,"sku":"K557134463035260928","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/285657fa2fa9e60ff52c2bb0b291cdd6.jpeg","path":"285657fa2fa9e60ff52c2bb0b291cdd6.jpeg","width":600,"height":800,"alt":"Women's Wool Ball Black Cat All Over Print Comfy Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"41.98","price":"23.99","retail_price":"41.98","available":true,"url":"\/products\/womens-wool-ball-black-cat-all-over-print-comfy-sweatshirt?variant=200e22eb-5c42-4a73-a769-a0f0432c4198","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":43,"flashsale_info":[],"sales":343};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: Red
${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":"200e22eb-5c42-4a73-a769-a0f0432c4198","product_id":"a9c15353-1b56-40b9-b3f0-0f19af6af65c","title":"Red-S","weight_unit":"kg","inventory_quantity":999,"sku":"K557134463035260928","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/285657fa2fa9e60ff52c2bb0b291cdd6.jpeg","path":"285657fa2fa9e60ff52c2bb0b291cdd6.jpeg","width":600,"height":800,"alt":"Women's Wool Ball Black Cat All Over Print Comfy Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"41.98","price":"23.99","retail_price":"41.98","available":true,"url":"\/products\/womens-wool-ball-black-cat-all-over-print-comfy-sweatshirt?variant=200e22eb-5c42-4a73-a769-a0f0432c4198","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":43,"flashsale_info":[],"sales":343};
return `
`
}()}