${function() {
const variantData = data.variant || {"id":"f72e00e2-457d-46e8-abab-909554f48973","product_id":"09f59c6e-a8b3-494c-aec8-76b9f063f9be","title":"Black-L","weight_unit":"kg","inventory_quantity":1000,"sku":"Black L-44371791","barcode":"","position":1,"option1":"Black","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/171390367660f08f0ce27b21aae97fcb.jpeg","path":"171390367660f08f0ce27b21aae97fcb.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"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\/v-neck-print-lantern-sleeves-lace-up-two-piece-set-207998465751?variant=f72e00e2-457d-46e8-abab-909554f48973","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":"f72e00e2-457d-46e8-abab-909554f48973","product_id":"09f59c6e-a8b3-494c-aec8-76b9f063f9be","title":"Black-L","weight_unit":"kg","inventory_quantity":1000,"sku":"Black L-44371791","barcode":"","position":1,"option1":"Black","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/171390367660f08f0ce27b21aae97fcb.jpeg","path":"171390367660f08f0ce27b21aae97fcb.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"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\/v-neck-print-lantern-sleeves-lace-up-two-piece-set-207998465751?variant=f72e00e2-457d-46e8-abab-909554f48973","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}
`
}()}