${function() {
const variantData = data.variant || {"id":"0c028708-08d7-46ed-b7cc-789b29e97e18","product_id":"82a2abed-3548-435a-b57d-d336d2ca7620","title":"Black-S","weight_unit":"g","inventory_quantity":859,"sku":"101865080008","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a1eb28ad2c2304625a987f4b9079adb4.jpeg","path":"a1eb28ad2c2304625a987f4b9079adb4.jpeg","width":800,"height":800,"alt":"King Switch Printed Women's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":14.98,"min_quantity":1}],"weight":"219","compare_at_price":"21.48","price":"14.98","retail_price":"21.48","available":true,"url":"\/products\/king-switch-printed-womens-t-shirt?variant=0c028708-08d7-46ed-b7cc-789b29e97e18","available_quantity":859,"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":"0c028708-08d7-46ed-b7cc-789b29e97e18","product_id":"82a2abed-3548-435a-b57d-d336d2ca7620","title":"Black-S","weight_unit":"g","inventory_quantity":859,"sku":"101865080008","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a1eb28ad2c2304625a987f4b9079adb4.jpeg","path":"a1eb28ad2c2304625a987f4b9079adb4.jpeg","width":800,"height":800,"alt":"King Switch Printed Women's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":14.98,"min_quantity":1}],"weight":"219","compare_at_price":"21.48","price":"14.98","retail_price":"21.48","available":true,"url":"\/products\/king-switch-printed-womens-t-shirt?variant=0c028708-08d7-46ed-b7cc-789b29e97e18","available_quantity":859,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":2};
return `
`
}()}