${function() {
const variantData = data.variant || {"id":"e5f6a3d0-8daf-4335-a6d7-57d5b285242c","product_id":"e628f58f-1240-4ce9-bc90-9069b2268e5a","title":"Black-S","weight_unit":"kg","inventory_quantity":999,"sku":"K556044414638084096","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b979ff79866bb7d70c43fde8f98559fa.jpeg","path":"b979ff79866bb7d70c43fde8f98559fa.jpeg","width":900,"height":1200,"alt":"Women's Colorful Heart Dog Paw Cozy Printed Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"23.99","price":"23.99","retail_price":"23.99","available":true,"url":"\/products\/womens-colorful-heart-dog-paw-cozy-printed-sweatshirt?variant=e5f6a3d0-8daf-4335-a6d7-57d5b285242c","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":1};
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":"e5f6a3d0-8daf-4335-a6d7-57d5b285242c","product_id":"e628f58f-1240-4ce9-bc90-9069b2268e5a","title":"Black-S","weight_unit":"kg","inventory_quantity":999,"sku":"K556044414638084096","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b979ff79866bb7d70c43fde8f98559fa.jpeg","path":"b979ff79866bb7d70c43fde8f98559fa.jpeg","width":900,"height":1200,"alt":"Women's Colorful Heart Dog Paw Cozy Printed Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"23.99","price":"23.99","retail_price":"23.99","available":true,"url":"\/products\/womens-colorful-heart-dog-paw-cozy-printed-sweatshirt?variant=e5f6a3d0-8daf-4335-a6d7-57d5b285242c","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":1};
return `
`
}()}