${function() {
const variantData = data.variant || {"id":"25726434-9553-4dae-bbd0-bf927c411ea3","product_id":"d2ae9722-73a0-402d-b243-eccae4f1b78a","title":"Fold into two sections","weight_unit":"kg","inventory_quantity":1000,"sku":"SF1968346-\u67aa\u7070\u8272\u4e00\u6298\u4e24\u6bb5","barcode":"","position":1,"option1":"Fold into two sections","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4e6d08145f4e35f436433f09a747b3fe.jpeg","path":"4e6d08145f4e35f436433f09a747b3fe.jpeg","width":784,"height":628,"alt":"","aspect_ratio":1.2484076433121019},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0","compare_at_price":"78","price":"39.99","retail_price":"78","available":true,"url":"\/products\/folding-clothes-drying-rack-2-2-2?variant=25726434-9553-4dae-bbd0-bf927c411ea3","available_quantity":999999999,"options":[{"name":"Style","value":"Fold into two sections"}],"off_ratio":49,"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}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"25726434-9553-4dae-bbd0-bf927c411ea3","product_id":"d2ae9722-73a0-402d-b243-eccae4f1b78a","title":"Fold into two sections","weight_unit":"kg","inventory_quantity":1000,"sku":"SF1968346-\u67aa\u7070\u8272\u4e00\u6298\u4e24\u6bb5","barcode":"","position":1,"option1":"Fold into two sections","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4e6d08145f4e35f436433f09a747b3fe.jpeg","path":"4e6d08145f4e35f436433f09a747b3fe.jpeg","width":784,"height":628,"alt":"","aspect_ratio":1.2484076433121019},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0","compare_at_price":"78","price":"39.99","retail_price":"78","available":true,"url":"\/products\/folding-clothes-drying-rack-2-2-2?variant=25726434-9553-4dae-bbd0-bf927c411ea3","available_quantity":999999999,"options":[{"name":"Style","value":"Fold into two sections"}],"off_ratio":49,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}