${function() {
const variantData = data.variant || {"id":"8d719c46-027c-4bb7-92b7-f897ba92e14a","product_id":"15b60412-ff84-4760-a718-40820a5b0049","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693055519349","barcode":"","position":13,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/378274bf22ba2cf0cef6aa8c9b28519c.jpeg","path":"378274bf22ba2cf0cef6aa8c9b28519c.jpeg","width":1200,"height":1600,"alt":"Women Shorts Pockets Drawstring Solid Casual Shorts","aspect_ratio":0.75},"wholesale_price":[{"price":19.3,"min_quantity":1}],"weight":"0","compare_at_price":"19.3","price":"19.3","retail_price":"19.3","available":true,"url":"\/products\/women-shorts-pockets-drawstring-solid-casual-shorts-8824?variant=8d719c46-027c-4bb7-92b7-f897ba92e14a","available_quantity":1000,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":3};
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":"8d719c46-027c-4bb7-92b7-f897ba92e14a","product_id":"15b60412-ff84-4760-a718-40820a5b0049","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693055519349","barcode":"","position":13,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/378274bf22ba2cf0cef6aa8c9b28519c.jpeg","path":"378274bf22ba2cf0cef6aa8c9b28519c.jpeg","width":1200,"height":1600,"alt":"Women Shorts Pockets Drawstring Solid Casual Shorts","aspect_ratio":0.75},"wholesale_price":[{"price":19.3,"min_quantity":1}],"weight":"0","compare_at_price":"19.3","price":"19.3","retail_price":"19.3","available":true,"url":"\/products\/women-shorts-pockets-drawstring-solid-casual-shorts-8824?variant=8d719c46-027c-4bb7-92b7-f897ba92e14a","available_quantity":1000,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":3};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}