${function() {
const variantData = data.variant || {"id":"1b71ac54-1ab7-4635-a087-4d8eb4d90df6","product_id":"0973e6c0-09fd-4e95-94a1-26180caf4771","title":"S-Black","weight_unit":"kg","inventory_quantity":1000,"sku":"S Black-41450765","barcode":"","position":1,"option1":"S","option2":"Black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/281d03782b7cc92a6effeeb84462c3c2.jpeg","path":"281d03782b7cc92a6effeeb84462c3c2.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":23.79,"min_quantity":1}],"weight":"0","compare_at_price":"23.79","price":"23.79","retail_price":"23.79","available":true,"url":"\/products\/high-waist-fashion-feminine-cycling-fitness-casual-cotton-black-shorts-208565422443?variant=1b71ac54-1ab7-4635-a087-4d8eb4d90df6","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"Black"}],"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":"1b71ac54-1ab7-4635-a087-4d8eb4d90df6","product_id":"0973e6c0-09fd-4e95-94a1-26180caf4771","title":"S-Black","weight_unit":"kg","inventory_quantity":1000,"sku":"S Black-41450765","barcode":"","position":1,"option1":"S","option2":"Black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/281d03782b7cc92a6effeeb84462c3c2.jpeg","path":"281d03782b7cc92a6effeeb84462c3c2.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":23.79,"min_quantity":1}],"weight":"0","compare_at_price":"23.79","price":"23.79","retail_price":"23.79","available":true,"url":"\/products\/high-waist-fashion-feminine-cycling-fitness-casual-cotton-black-shorts-208565422443?variant=1b71ac54-1ab7-4635-a087-4d8eb4d90df6","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"Black"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}