${function() {
const variantData = data.variant || {"id":"f7a163db-ed9c-40b2-a198-251dc0c61eba","product_id":"dbd87b61-378f-4972-b8b1-b905e5ae908d","title":"Dark Blue-S","weight_unit":"kg","inventory_quantity":999,"sku":"K583215065781645312","barcode":"","position":1,"option1":"Dark Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2a220e9b7c949c079080479463417b2e.jpeg","path":"2a220e9b7c949c079080479463417b2e.jpeg","width":734,"height":981,"alt":"Men's Starry Night Cats Print Van Gogh Art Sweatshirt","aspect_ratio":0.7482161060142711},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0.27","compare_at_price":"44.99","price":"24.99","retail_price":"44.99","available":true,"url":"\/products\/mens-starry-night-cats-print-van-gogh-art-sweatshirt?variant=f7a163db-ed9c-40b2-a198-251dc0c61eba","available_quantity":999999999,"options":[{"name":"Color","value":"Dark Blue"},{"name":"Size","value":"S"}],"off_ratio":44,"flashsale_info":[],"sales":502};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: Dark Blue
${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":"f7a163db-ed9c-40b2-a198-251dc0c61eba","product_id":"dbd87b61-378f-4972-b8b1-b905e5ae908d","title":"Dark Blue-S","weight_unit":"kg","inventory_quantity":999,"sku":"K583215065781645312","barcode":"","position":1,"option1":"Dark Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2a220e9b7c949c079080479463417b2e.jpeg","path":"2a220e9b7c949c079080479463417b2e.jpeg","width":734,"height":981,"alt":"Men's Starry Night Cats Print Van Gogh Art Sweatshirt","aspect_ratio":0.7482161060142711},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0.27","compare_at_price":"44.99","price":"24.99","retail_price":"44.99","available":true,"url":"\/products\/mens-starry-night-cats-print-van-gogh-art-sweatshirt?variant=f7a163db-ed9c-40b2-a198-251dc0c61eba","available_quantity":999999999,"options":[{"name":"Color","value":"Dark Blue"},{"name":"Size","value":"S"}],"off_ratio":44,"flashsale_info":[],"sales":502};
return `
`
}()}