${function() {
const variantData = data.variant || {"id":"cff19357-4948-4856-ae9e-4bb4d019575f","product_id":"33506fe8-5ca8-49fc-9688-524c49bec741","title":"black-L","weight_unit":"kg","inventory_quantity":1000,"sku":"black L-46392745","barcode":"","position":1,"option1":"black","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4602321ccb7ad2a2e8894a67fa38c3e7.jpeg","path":"4602321ccb7ad2a2e8894a67fa38c3e7.jpeg","width":600,"height":750,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":46.48,"min_quantity":1}],"weight":"0","compare_at_price":"46.48","price":"46.48","retail_price":"46.48","available":true,"url":"\/products\/temperament-casual-fashion-suit-207998472762?variant=cff19357-4948-4856-ae9e-4bb4d019575f","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"L"}],"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":"cff19357-4948-4856-ae9e-4bb4d019575f","product_id":"33506fe8-5ca8-49fc-9688-524c49bec741","title":"black-L","weight_unit":"kg","inventory_quantity":1000,"sku":"black L-46392745","barcode":"","position":1,"option1":"black","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4602321ccb7ad2a2e8894a67fa38c3e7.jpeg","path":"4602321ccb7ad2a2e8894a67fa38c3e7.jpeg","width":600,"height":750,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":46.48,"min_quantity":1}],"weight":"0","compare_at_price":"46.48","price":"46.48","retail_price":"46.48","available":true,"url":"\/products\/temperament-casual-fashion-suit-207998472762?variant=cff19357-4948-4856-ae9e-4bb4d019575f","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"L"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}