${function() {
const variantData = data.variant || {"id":"a3d946c6-86a2-41e3-95b3-bc83d4ccc93e","product_id":"8f7f81ab-cf09-4b97-bf31-9f45f8d1cf06","title":"Green-S","weight_unit":"kg","inventory_quantity":999,"sku":"K585734372822708224","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/814b8cca19cd0160f4e5385447b097cd.jpeg","path":"814b8cca19cd0160f4e5385447b097cd.jpeg","width":498,"height":666,"alt":"Men's Retro Christian Cross Shamrock Print St Patrick's Day Hoodie","aspect_ratio":0.7477477477477478},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"47.99","price":"27.99","retail_price":"47.99","available":true,"url":"\/products\/mens-retro-christian-cross-shamrock-print-st-patricks-day-hoodie?variant=a3d946c6-86a2-41e3-95b3-bc83d4ccc93e","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":42,"flashsale_info":[],"sales":546};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: Green
${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":"a3d946c6-86a2-41e3-95b3-bc83d4ccc93e","product_id":"8f7f81ab-cf09-4b97-bf31-9f45f8d1cf06","title":"Green-S","weight_unit":"kg","inventory_quantity":999,"sku":"K585734372822708224","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/814b8cca19cd0160f4e5385447b097cd.jpeg","path":"814b8cca19cd0160f4e5385447b097cd.jpeg","width":498,"height":666,"alt":"Men's Retro Christian Cross Shamrock Print St Patrick's Day Hoodie","aspect_ratio":0.7477477477477478},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"47.99","price":"27.99","retail_price":"47.99","available":true,"url":"\/products\/mens-retro-christian-cross-shamrock-print-st-patricks-day-hoodie?variant=a3d946c6-86a2-41e3-95b3-bc83d4ccc93e","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":42,"flashsale_info":[],"sales":546};
return `
`
}()}