${function() {
const variantData = data.variant || {"id":"38957ae5-9342-4a40-b68d-5210ff3ff36a","product_id":"7a431e9f-d15f-4ad5-8aee-5aee6f85ea29","title":"Black-S","weight_unit":"kg","inventory_quantity":999,"sku":"K582853122127671296","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a6ca04f588e7a006ef0e5d9e37b61ab5.jpeg","path":"a6ca04f588e7a006ef0e5d9e37b61ab5.jpeg","width":734,"height":981,"alt":"Men's Humanoid Owl Enchanter Printed Casual Sweatshirt","aspect_ratio":0.7482161060142711},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"43.99","price":"24.99","retail_price":"43.99","available":true,"url":"\/products\/mens-humanoid-owl-enchanter-printed-casual-sweatshirt?variant=38957ae5-9342-4a40-b68d-5210ff3ff36a","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":43,"flashsale_info":[],"sales":257};
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":"38957ae5-9342-4a40-b68d-5210ff3ff36a","product_id":"7a431e9f-d15f-4ad5-8aee-5aee6f85ea29","title":"Black-S","weight_unit":"kg","inventory_quantity":999,"sku":"K582853122127671296","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a6ca04f588e7a006ef0e5d9e37b61ab5.jpeg","path":"a6ca04f588e7a006ef0e5d9e37b61ab5.jpeg","width":734,"height":981,"alt":"Men's Humanoid Owl Enchanter Printed Casual Sweatshirt","aspect_ratio":0.7482161060142711},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"43.99","price":"24.99","retail_price":"43.99","available":true,"url":"\/products\/mens-humanoid-owl-enchanter-printed-casual-sweatshirt?variant=38957ae5-9342-4a40-b68d-5210ff3ff36a","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":43,"flashsale_info":[],"sales":257};
return `
`
}()}