${function() {
const variantData = data.variant || {"id":"d2f1a5f5-0b0f-44e0-8610-873de7450b03","product_id":"ed3b802a-78c8-4601-ba58-79092e95e73e","title":"Green-S","weight_unit":"kg","inventory_quantity":999,"sku":"K588547430236585984","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4d1a9aadf6e36914441068ff2105469c.jpeg","path":"4d1a9aadf6e36914441068ff2105469c.jpeg","width":1125,"height":1500,"alt":"Women's May Your Troubles Be Less Irish Blessing St Patrick's Day Hoodie","aspect_ratio":0.75},"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\/womens-may-your-troubles-be-less-irish-blessing-st-patricks-day-hoodie?variant=d2f1a5f5-0b0f-44e0-8610-873de7450b03","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":42,"flashsale_info":[],"sales":525};
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":"d2f1a5f5-0b0f-44e0-8610-873de7450b03","product_id":"ed3b802a-78c8-4601-ba58-79092e95e73e","title":"Green-S","weight_unit":"kg","inventory_quantity":999,"sku":"K588547430236585984","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4d1a9aadf6e36914441068ff2105469c.jpeg","path":"4d1a9aadf6e36914441068ff2105469c.jpeg","width":1125,"height":1500,"alt":"Women's May Your Troubles Be Less Irish Blessing St Patrick's Day Hoodie","aspect_ratio":0.75},"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\/womens-may-your-troubles-be-less-irish-blessing-st-patricks-day-hoodie?variant=d2f1a5f5-0b0f-44e0-8610-873de7450b03","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":42,"flashsale_info":[],"sales":525};
return `
`
}()}