${function() {
const variantData = data.variant || {"id":"5712791b-ae8d-4a8a-8ea0-97d274629716","product_id":"c3d54a04-7b81-4014-8017-fd47e796a908","title":"gray-S","weight_unit":"kg","inventory_quantity":1000,"sku":"1554408737926594561","barcode":"","position":1,"option1":"gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/42a06e9e003be598a0cb6de30aa4b929.jpeg","path":"42a06e9e003be598a0cb6de30aa4b929.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":27.83,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"27.83","retail_price":"0","available":true,"url":"\/products\/mens-basic-cotton-breathable-long-sleeve-t-shirt?variant=5712791b-ae8d-4a8a-8ea0-97d274629716","available_quantity":999999999,"options":[{"name":"Color","value":"gray"},{"name":"Size","value":"S"}],"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":"5712791b-ae8d-4a8a-8ea0-97d274629716","product_id":"c3d54a04-7b81-4014-8017-fd47e796a908","title":"gray-S","weight_unit":"kg","inventory_quantity":1000,"sku":"1554408737926594561","barcode":"","position":1,"option1":"gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/42a06e9e003be598a0cb6de30aa4b929.jpeg","path":"42a06e9e003be598a0cb6de30aa4b929.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":27.83,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"27.83","retail_price":"0","available":true,"url":"\/products\/mens-basic-cotton-breathable-long-sleeve-t-shirt?variant=5712791b-ae8d-4a8a-8ea0-97d274629716","available_quantity":999999999,"options":[{"name":"Color","value":"gray"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}