${function() {
const variantData = data.variant || {"id":"5b82ef1f-1609-463e-ab92-9c73bc5c6a61","product_id":"3e82968b-3dc5-4c7c-b82b-b58d2f297764","title":"100Pcs-MULTICOLOR-SMALL SIZE","weight_unit":"kg","inventory_quantity":1000,"sku":"CY-!24289-N2723C1694S1691","barcode":"","position":1,"option1":"100Pcs","option2":"MULTICOLOR","option3":"SMALL SIZE","note":"","image":{"src":"\/\/img.staticdj.com\/f8464daa8df217098d18f84c584615b6.jpeg","path":"f8464daa8df217098d18f84c584615b6.jpeg","width":600,"height":600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":16.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"16.99","retail_price":"0","available":true,"url":"\/products\/bohemia-printed-wooden-sewing-buttons?variant=5b82ef1f-1609-463e-ab92-9c73bc5c6a61","available_quantity":999999999,"options":[{"name":"Number","value":"100Pcs"},{"name":"Color","value":"MULTICOLOR"},{"name":"Size","value":"SMALL SIZE"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.
Sku : CY-!24289-N2723C1694S1691
${function(){
const variantData = data.variant || {"id":"5b82ef1f-1609-463e-ab92-9c73bc5c6a61","product_id":"3e82968b-3dc5-4c7c-b82b-b58d2f297764","title":"100Pcs-MULTICOLOR-SMALL SIZE","weight_unit":"kg","inventory_quantity":1000,"sku":"CY-!24289-N2723C1694S1691","barcode":"","position":1,"option1":"100Pcs","option2":"MULTICOLOR","option3":"SMALL SIZE","note":"","image":{"src":"\/\/img.staticdj.com\/f8464daa8df217098d18f84c584615b6.jpeg","path":"f8464daa8df217098d18f84c584615b6.jpeg","width":600,"height":600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":16.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"16.99","retail_price":"0","available":true,"url":"\/products\/bohemia-printed-wooden-sewing-buttons?variant=5b82ef1f-1609-463e-ab92-9c73bc5c6a61","available_quantity":999999999,"options":[{"name":"Number","value":"100Pcs"},{"name":"Color","value":"MULTICOLOR"},{"name":"Size","value":"SMALL SIZE"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}