${function() {
const variantData = data.variant || {"id":"bd855429-c86f-4d21-90dd-3fb5842ccb61","product_id":"a88801e8-7966-45c8-b3ef-02b1d091c069","title":"black-L","weight_unit":"kg","inventory_quantity":1000,"sku":"black L-44370162","barcode":"","position":1,"option1":"black","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fb1fdbadbabe098fe2ab80b307077c51.jpeg","path":"fb1fdbadbabe098fe2ab80b307077c51.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":48.92,"min_quantity":1}],"weight":"0","compare_at_price":"79.99","price":"48.92","retail_price":"79.99","available":true,"url":"\/products\/ladies-high-waist-wide-leg-pants-solid-color-knitted-suit-207998508309?variant=bd855429-c86f-4d21-90dd-3fb5842ccb61","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"L"}],"off_ratio":39,"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":"bd855429-c86f-4d21-90dd-3fb5842ccb61","product_id":"a88801e8-7966-45c8-b3ef-02b1d091c069","title":"black-L","weight_unit":"kg","inventory_quantity":1000,"sku":"black L-44370162","barcode":"","position":1,"option1":"black","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fb1fdbadbabe098fe2ab80b307077c51.jpeg","path":"fb1fdbadbabe098fe2ab80b307077c51.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":48.92,"min_quantity":1}],"weight":"0","compare_at_price":"79.99","price":"48.92","retail_price":"79.99","available":true,"url":"\/products\/ladies-high-waist-wide-leg-pants-solid-color-knitted-suit-207998508309?variant=bd855429-c86f-4d21-90dd-3fb5842ccb61","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"L"}],"off_ratio":39,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}