${function() {
const variantData = data.variant || {"id":"3ad9ce10-d2c1-4ab9-9777-a580892e514c","product_id":"f0053f80-4450-454b-b00f-a547277f9502","title":"white-L","weight_unit":"kg","inventory_quantity":1000,"sku":"e7b26f4c-8b03-4ae3-955c-3625ecaae15b","barcode":"","position":1,"option1":"white","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e644709222d84e9dc529501e234ffd95.jpeg","path":"e644709222d84e9dc529501e234ffd95.jpeg","width":900,"height":900,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":27.29,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"27.29","retail_price":"0","available":true,"url":"\/products\/fashion-letters-printed-cotton-t-shirt?variant=3ad9ce10-d2c1-4ab9-9777-a580892e514c","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"name":"Size","value":"L"}],"off_ratio":0,"flashsale_info":[],"sales":0};
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":"3ad9ce10-d2c1-4ab9-9777-a580892e514c","product_id":"f0053f80-4450-454b-b00f-a547277f9502","title":"white-L","weight_unit":"kg","inventory_quantity":1000,"sku":"e7b26f4c-8b03-4ae3-955c-3625ecaae15b","barcode":"","position":1,"option1":"white","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e644709222d84e9dc529501e234ffd95.jpeg","path":"e644709222d84e9dc529501e234ffd95.jpeg","width":900,"height":900,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":27.29,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"27.29","retail_price":"0","available":true,"url":"\/products\/fashion-letters-printed-cotton-t-shirt?variant=3ad9ce10-d2c1-4ab9-9777-a580892e514c","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"name":"Size","value":"L"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}