${function() {
const variantData = data.variant || {"id":"e8bce0a4-30c9-498e-8765-f4b39b2c9629","product_id":"420f15c6-5c9d-40e8-ab85-95d8da8fcef4","title":"Slate Gray-M","weight_unit":"g","inventory_quantity":795,"sku":"101634970001","barcode":"","position":1,"option1":"Slate Gray","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/adbe0e2b90fca493eeac34bfbc0944a7.jpeg","path":"adbe0e2b90fca493eeac34bfbc0944a7.jpeg","width":2000,"height":2000,"alt":"Mushroom Coconut Skull Printed Elastic-waistband Sports Shorts - ","aspect_ratio":1},"wholesale_price":[{"price":16.98,"min_quantity":1}],"weight":"141","compare_at_price":"24.48","price":"16.98","retail_price":"24.48","available":true,"url":"\/products\/mushroom-coconut-skull-printed-elastic-waistband-sports-shorts?variant=e8bce0a4-30c9-498e-8765-f4b39b2c9629","available_quantity":795,"options":[{"name":"Color","value":"Slate Gray"},{"name":"Size","value":"M"}],"off_ratio":31,"flashsale_info":[],"sales":550};
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":"e8bce0a4-30c9-498e-8765-f4b39b2c9629","product_id":"420f15c6-5c9d-40e8-ab85-95d8da8fcef4","title":"Slate Gray-M","weight_unit":"g","inventory_quantity":795,"sku":"101634970001","barcode":"","position":1,"option1":"Slate Gray","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/adbe0e2b90fca493eeac34bfbc0944a7.jpeg","path":"adbe0e2b90fca493eeac34bfbc0944a7.jpeg","width":2000,"height":2000,"alt":"Mushroom Coconut Skull Printed Elastic-waistband Sports Shorts - ","aspect_ratio":1},"wholesale_price":[{"price":16.98,"min_quantity":1}],"weight":"141","compare_at_price":"24.48","price":"16.98","retail_price":"24.48","available":true,"url":"\/products\/mushroom-coconut-skull-printed-elastic-waistband-sports-shorts?variant=e8bce0a4-30c9-498e-8765-f4b39b2c9629","available_quantity":795,"options":[{"name":"Color","value":"Slate Gray"},{"name":"Size","value":"M"}],"off_ratio":31,"flashsale_info":[],"sales":550};
return `
`
}()}