${function() {
const variantData = data.variant || {"id":"2d525c2a-024b-4ba4-8678-869939bc49d4","product_id":"cb05491b-31f6-4532-95ce-5c28f40d8dbf","title":"Black-S","weight_unit":"g","inventory_quantity":560,"sku":"102072080001","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a1057614b4b455a888aa4dde7f735e69.jpeg","path":"a1057614b4b455a888aa4dde7f735e69.jpeg","width":2000,"height":2000,"alt":"Bundled Game Printed Men's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":15.98,"min_quantity":1}],"weight":"250","compare_at_price":"22.98","price":"15.98","retail_price":"22.98","available":true,"url":"\/products\/bundled-game-printed-mens-t-shirt-no0l?variant=2d525c2a-024b-4ba4-8678-869939bc49d4","available_quantity":560,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":682};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ``
)}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"2d525c2a-024b-4ba4-8678-869939bc49d4","product_id":"cb05491b-31f6-4532-95ce-5c28f40d8dbf","title":"Black-S","weight_unit":"g","inventory_quantity":560,"sku":"102072080001","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a1057614b4b455a888aa4dde7f735e69.jpeg","path":"a1057614b4b455a888aa4dde7f735e69.jpeg","width":2000,"height":2000,"alt":"Bundled Game Printed Men's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":15.98,"min_quantity":1}],"weight":"250","compare_at_price":"22.98","price":"15.98","retail_price":"22.98","available":true,"url":"\/products\/bundled-game-printed-mens-t-shirt-no0l?variant=2d525c2a-024b-4ba4-8678-869939bc49d4","available_quantity":560,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":682};
return `
`
}()}