${function() {
const variantData = data.variant || {"id":"e7229258-9b17-4e40-bdba-3b8ef9acdde8","product_id":"d1342b89-6179-447d-827e-ca396ccaa8e1","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"Black S-43081384","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1ca05fc11eba214c9f2b2eba971d4fc3.jpeg","path":"1ca05fc11eba214c9f2b2eba971d4fc3.jpeg","width":1000,"height":1000,"alt":"Women Striped Casual Sweaters","aspect_ratio":1},"wholesale_price":[{"price":39.46,"min_quantity":1}],"weight":"0","compare_at_price":"39.46","price":"39.46","retail_price":"39.46","available":true,"url":"\/products\/women-striped-casual-sweaters-208529816034?variant=e7229258-9b17-4e40-bdba-3b8ef9acdde8","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"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":"e7229258-9b17-4e40-bdba-3b8ef9acdde8","product_id":"d1342b89-6179-447d-827e-ca396ccaa8e1","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"Black S-43081384","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1ca05fc11eba214c9f2b2eba971d4fc3.jpeg","path":"1ca05fc11eba214c9f2b2eba971d4fc3.jpeg","width":1000,"height":1000,"alt":"Women Striped Casual Sweaters","aspect_ratio":1},"wholesale_price":[{"price":39.46,"min_quantity":1}],"weight":"0","compare_at_price":"39.46","price":"39.46","retail_price":"39.46","available":true,"url":"\/products\/women-striped-casual-sweaters-208529816034?variant=e7229258-9b17-4e40-bdba-3b8ef9acdde8","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}