${function() {
const variantData = data.variant || {"id":"bb0ad3c6-6859-4e0c-a402-f64b3ff3447b","product_id":"c5ce122f-6a29-4aa9-be81-640c82a77416","title":"Black-S","weight_unit":"kg","inventory_quantity":999,"sku":"K590098550858371072","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0f3e0fe43cd568b3b2e5f2a48ed396e6.jpeg","path":"0f3e0fe43cd568b3b2e5f2a48ed396e6.jpeg","width":675,"height":900,"alt":"Men's Retro Irish Flag Clover Print St Patrick's Day Stand Collar Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"49.99","price":"26.99","retail_price":"49.99","available":true,"url":"\/products\/mens-retro-irish-flag-clover-print-st-patricks-day-stand-collar-sweatshirt?variant=bb0ad3c6-6859-4e0c-a402-f64b3ff3447b","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":46,"flashsale_info":[],"sales":531};
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":"bb0ad3c6-6859-4e0c-a402-f64b3ff3447b","product_id":"c5ce122f-6a29-4aa9-be81-640c82a77416","title":"Black-S","weight_unit":"kg","inventory_quantity":999,"sku":"K590098550858371072","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0f3e0fe43cd568b3b2e5f2a48ed396e6.jpeg","path":"0f3e0fe43cd568b3b2e5f2a48ed396e6.jpeg","width":675,"height":900,"alt":"Men's Retro Irish Flag Clover Print St Patrick's Day Stand Collar Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"49.99","price":"26.99","retail_price":"49.99","available":true,"url":"\/products\/mens-retro-irish-flag-clover-print-st-patricks-day-stand-collar-sweatshirt?variant=bb0ad3c6-6859-4e0c-a402-f64b3ff3447b","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":46,"flashsale_info":[],"sales":531};
return `
`
}()}