${function() {
const variantData = data.variant || {"id":"6f74fafe-0923-44d2-8c74-b11172d2b901","product_id":"1bdfdcaa-c864-4e5e-937e-3c8cea5ed4e6","title":"Off-white-M","weight_unit":"kg","inventory_quantity":999,"sku":"1925828213567733761","barcode":"","position":1,"option1":"Off-white","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9501c5b6ce1668e614fcca7c746d6911.jpeg","path":"9501c5b6ce1668e614fcca7c746d6911.jpeg","width":1417,"height":1417,"alt":"ed7e798f504a0556a3ab296816d8e9d1","aspect_ratio":1},"wholesale_price":[{"price":27,"min_quantity":1}],"weight":"500","compare_at_price":"0","price":"27","retail_price":"0","available":true,"url":"\/products\/vintage-casual-shorts-corduroy-surf-shorts-beach-shorts?variant=6f74fafe-0923-44d2-8c74-b11172d2b901","available_quantity":999999999,"options":[{"name":"Color","value":"Off-white"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
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":"6f74fafe-0923-44d2-8c74-b11172d2b901","product_id":"1bdfdcaa-c864-4e5e-937e-3c8cea5ed4e6","title":"Off-white-M","weight_unit":"kg","inventory_quantity":999,"sku":"1925828213567733761","barcode":"","position":1,"option1":"Off-white","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9501c5b6ce1668e614fcca7c746d6911.jpeg","path":"9501c5b6ce1668e614fcca7c746d6911.jpeg","width":1417,"height":1417,"alt":"ed7e798f504a0556a3ab296816d8e9d1","aspect_ratio":1},"wholesale_price":[{"price":27,"min_quantity":1}],"weight":"500","compare_at_price":"0","price":"27","retail_price":"0","available":true,"url":"\/products\/vintage-casual-shorts-corduroy-surf-shorts-beach-shorts?variant=6f74fafe-0923-44d2-8c74-b11172d2b901","available_quantity":999999999,"options":[{"name":"Color","value":"Off-white"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Barcode : ${variantData && variantData.barcode}
`
}()}