${function() {
const variantData = data.variant || {"id":"e0b4c332-98bc-4622-a16b-fba973e68bf6","product_id":"ce7500d4-64a8-43d3-b3b9-4fd8ec01fb86","title":"Black-L","weight_unit":"kg","inventory_quantity":1000,"sku":"Black L-44370817","barcode":"","position":1,"option1":"Black","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d18e0945ed26736cf25d610dd2a79b62.jpeg","path":"d18e0945ed26736cf25d610dd2a79b62.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":56.92,"min_quantity":1}],"weight":"0","compare_at_price":"56.92","price":"56.92","retail_price":"56.92","available":true,"url":"\/products\/fashion-solid-color-turtleneck-knit-three-piece-set-207998500683?variant=e0b4c332-98bc-4622-a16b-fba973e68bf6","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":"e0b4c332-98bc-4622-a16b-fba973e68bf6","product_id":"ce7500d4-64a8-43d3-b3b9-4fd8ec01fb86","title":"Black-L","weight_unit":"kg","inventory_quantity":1000,"sku":"Black L-44370817","barcode":"","position":1,"option1":"Black","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d18e0945ed26736cf25d610dd2a79b62.jpeg","path":"d18e0945ed26736cf25d610dd2a79b62.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":56.92,"min_quantity":1}],"weight":"0","compare_at_price":"56.92","price":"56.92","retail_price":"56.92","available":true,"url":"\/products\/fashion-solid-color-turtleneck-knit-three-piece-set-207998500683?variant=e0b4c332-98bc-4622-a16b-fba973e68bf6","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}
`
}()}