${function() {
const variantData = data.variant || {"id":"08ea9590-c090-42f9-86f6-f026acef1c80","product_id":"3d683e32-8db1-4bb1-98b8-ba22053b785b","title":"Green-S","weight_unit":"kg","inventory_quantity":999,"sku":"K587589131423965184","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a8972f5ab70361d119d50265c6b182be.jpeg","path":"a8972f5ab70361d119d50265c6b182be.jpeg","width":500,"height":666,"alt":"Men's St Patrick's Day Slainte Shamrock Print Long Sleeve T-Shirt","aspect_ratio":0.7507507507507507},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"42.99","price":"23.99","retail_price":"42.99","available":true,"url":"\/products\/mens-st-patricks-day-slainte-shamrock-print-long-sleeve-t-shirt?variant=08ea9590-c090-42f9-86f6-f026acef1c80","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":44,"flashsale_info":[],"sales":528};
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":"08ea9590-c090-42f9-86f6-f026acef1c80","product_id":"3d683e32-8db1-4bb1-98b8-ba22053b785b","title":"Green-S","weight_unit":"kg","inventory_quantity":999,"sku":"K587589131423965184","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a8972f5ab70361d119d50265c6b182be.jpeg","path":"a8972f5ab70361d119d50265c6b182be.jpeg","width":500,"height":666,"alt":"Men's St Patrick's Day Slainte Shamrock Print Long Sleeve T-Shirt","aspect_ratio":0.7507507507507507},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"42.99","price":"23.99","retail_price":"42.99","available":true,"url":"\/products\/mens-st-patricks-day-slainte-shamrock-print-long-sleeve-t-shirt?variant=08ea9590-c090-42f9-86f6-f026acef1c80","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":44,"flashsale_info":[],"sales":528};
return `
`
}()}