${function() {
const variantData = data.variant || {"id":"a6d04735-0a92-4f1a-ad9d-3db3539c0950","product_id":"03c61a22-8985-4395-84f1-bd3798ec5e49","title":"Black-S","weight_unit":"kg","inventory_quantity":999,"sku":"K587575088009846784","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/facf591543b4cb2847688daa8adb6db0.jpeg","path":"facf591543b4cb2847688daa8adb6db0.jpeg","width":700,"height":933,"alt":"Unisex's Leprechauns Beer St. Patrick's Day Art Print Workout T-Shirt","aspect_ratio":0.7502679528403001},"wholesale_price":[{"price":20.99,"min_quantity":1}],"weight":"0.2","compare_at_price":"39.99","price":"20.99","retail_price":"39.99","available":true,"url":"\/products\/mens-leprechauns-beer-st-patricks-day-art-print-workout-t-shirt-lexz?variant=a6d04735-0a92-4f1a-ad9d-3db3539c0950","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":48,"flashsale_info":[],"sales":290};
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":"a6d04735-0a92-4f1a-ad9d-3db3539c0950","product_id":"03c61a22-8985-4395-84f1-bd3798ec5e49","title":"Black-S","weight_unit":"kg","inventory_quantity":999,"sku":"K587575088009846784","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/facf591543b4cb2847688daa8adb6db0.jpeg","path":"facf591543b4cb2847688daa8adb6db0.jpeg","width":700,"height":933,"alt":"Unisex's Leprechauns Beer St. Patrick's Day Art Print Workout T-Shirt","aspect_ratio":0.7502679528403001},"wholesale_price":[{"price":20.99,"min_quantity":1}],"weight":"0.2","compare_at_price":"39.99","price":"20.99","retail_price":"39.99","available":true,"url":"\/products\/mens-leprechauns-beer-st-patricks-day-art-print-workout-t-shirt-lexz?variant=a6d04735-0a92-4f1a-ad9d-3db3539c0950","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":48,"flashsale_info":[],"sales":290};
return `
`
}()}