${function() {
const variantData = data.variant || {"id":"7e8b30a3-22cf-4e41-9e5e-faecac6e9212","product_id":"9cb0eecd-b34b-495d-a757-8b68bb1211d7","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"K575525979651551232","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c0a1d61c34991ddad8f71bdbde8a8b03.jpeg","path":"c0a1d61c34991ddad8f71bdbde8a8b03.jpeg","width":500,"height":666,"alt":"Women's I Love My Dog Print Heart Shape Paw Sweatshirt","aspect_ratio":0.7507507507507507},"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-i-love-my-dog-print-heart-shape-paw-sweatshirt?variant=7e8b30a3-22cf-4e41-9e5e-faecac6e9212","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":41,"flashsale_info":[],"sales":0};
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":"7e8b30a3-22cf-4e41-9e5e-faecac6e9212","product_id":"9cb0eecd-b34b-495d-a757-8b68bb1211d7","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"K575525979651551232","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c0a1d61c34991ddad8f71bdbde8a8b03.jpeg","path":"c0a1d61c34991ddad8f71bdbde8a8b03.jpeg","width":500,"height":666,"alt":"Women's I Love My Dog Print Heart Shape Paw Sweatshirt","aspect_ratio":0.7507507507507507},"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-i-love-my-dog-print-heart-shape-paw-sweatshirt?variant=7e8b30a3-22cf-4e41-9e5e-faecac6e9212","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":41,"flashsale_info":[],"sales":0};
return `
`
}()}