${function() {
const variantData = data.variant || {"id":"a1383973-27e6-4969-a19f-454f578a6f81","product_id":"1ad18f56-ed47-43ff-a609-0616841e858e","title":"Black-S","weight_unit":"kg","inventory_quantity":999,"sku":"K590097909520461824","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/939d353494f8ff582c4a9139e347bbea.jpeg","path":"939d353494f8ff582c4a9139e347bbea.jpeg","width":1200,"height":1600,"alt":"Men's Saint Patrick's Day Clover Irish Flag Print Vintage T-Shirt","aspect_ratio":0.75},"wholesale_price":[{"price":20.99,"min_quantity":1}],"weight":"0.25","compare_at_price":"38.99","price":"20.99","retail_price":"38.99","available":true,"url":"\/products\/mens-saint-patricks-day-clover-irish-flag-print-vintage-t-shirt?variant=a1383973-27e6-4969-a19f-454f578a6f81","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":46,"flashsale_info":[],"sales":645};
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":"a1383973-27e6-4969-a19f-454f578a6f81","product_id":"1ad18f56-ed47-43ff-a609-0616841e858e","title":"Black-S","weight_unit":"kg","inventory_quantity":999,"sku":"K590097909520461824","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/939d353494f8ff582c4a9139e347bbea.jpeg","path":"939d353494f8ff582c4a9139e347bbea.jpeg","width":1200,"height":1600,"alt":"Men's Saint Patrick's Day Clover Irish Flag Print Vintage T-Shirt","aspect_ratio":0.75},"wholesale_price":[{"price":20.99,"min_quantity":1}],"weight":"0.25","compare_at_price":"38.99","price":"20.99","retail_price":"38.99","available":true,"url":"\/products\/mens-saint-patricks-day-clover-irish-flag-print-vintage-t-shirt?variant=a1383973-27e6-4969-a19f-454f578a6f81","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":46,"flashsale_info":[],"sales":645};
return `
`
}()}