${function() {
const variantData = data.variant || {"id":"afbea656-de52-4f1b-81a2-eb0258e53247","product_id":"8119f98d-2a1e-4bd7-b99e-3f26410732d3","title":"Green-S","weight_unit":"kg","inventory_quantity":999,"sku":"K585731155123507200","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8aa828df302d220ba01666af918a64e6.jpeg","path":"8aa828df302d220ba01666af918a64e6.jpeg","width":498,"height":666,"alt":"Men's Retro Clover American Flag Print Button Stand Collar Sweatshirt","aspect_ratio":0.7477477477477478},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"48.99","price":"26.99","retail_price":"48.99","available":true,"url":"\/products\/mens-retro-clover-american-flag-print-button-stand-collar-sweatshirt?variant=afbea656-de52-4f1b-81a2-eb0258e53247","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":45,"flashsale_info":[],"sales":500};
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":"afbea656-de52-4f1b-81a2-eb0258e53247","product_id":"8119f98d-2a1e-4bd7-b99e-3f26410732d3","title":"Green-S","weight_unit":"kg","inventory_quantity":999,"sku":"K585731155123507200","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8aa828df302d220ba01666af918a64e6.jpeg","path":"8aa828df302d220ba01666af918a64e6.jpeg","width":498,"height":666,"alt":"Men's Retro Clover American Flag Print Button Stand Collar Sweatshirt","aspect_ratio":0.7477477477477478},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"48.99","price":"26.99","retail_price":"48.99","available":true,"url":"\/products\/mens-retro-clover-american-flag-print-button-stand-collar-sweatshirt?variant=afbea656-de52-4f1b-81a2-eb0258e53247","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":45,"flashsale_info":[],"sales":500};
return `
`
}()}