${function() {
const variantData = data.variant || {"id":"28d1fcd5-3bd6-4fb0-b542-5b4fa56de4ee","product_id":"4e8d910f-7c17-4f70-bb48-ce05f5964179","title":"Black-S","weight_unit":"g","inventory_quantity":944,"sku":"SKU102412320009","barcode":"","position":9,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/556f00bb5c902ea7ed9a4b900bc01cbd.jpeg","path":"556f00bb5c902ea7ed9a4b900bc01cbd.jpeg","width":2000,"height":2000,"alt":"Don't Like Me? Fuck Off Problem Solved 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\/dont-like-me-fuck-off-problem-solved-printed-mens-t-shirt?variant=28d1fcd5-3bd6-4fb0-b542-5b4fa56de4ee","available_quantity":944,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":2};
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":"28d1fcd5-3bd6-4fb0-b542-5b4fa56de4ee","product_id":"4e8d910f-7c17-4f70-bb48-ce05f5964179","title":"Black-S","weight_unit":"g","inventory_quantity":944,"sku":"SKU102412320009","barcode":"","position":9,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/556f00bb5c902ea7ed9a4b900bc01cbd.jpeg","path":"556f00bb5c902ea7ed9a4b900bc01cbd.jpeg","width":2000,"height":2000,"alt":"Don't Like Me? Fuck Off Problem Solved 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\/dont-like-me-fuck-off-problem-solved-printed-mens-t-shirt?variant=28d1fcd5-3bd6-4fb0-b542-5b4fa56de4ee","available_quantity":944,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":2};
return `
`
}()}