${function() {
const variantData = data.variant || {"id":"123756f9-0cfe-489d-bb3b-30a897837576","product_id":"d107b4f7-a4bd-4192-a8c1-4f1dcf45c4be","title":"","weight_unit":"kg","inventory_quantity":0,"sku":"ZYAM-02","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":30.99,"min_quantity":1}],"weight":"0","compare_at_price":"61.99","price":"30.99","retail_price":"61.99","available":true,"url":"\/products\/on-sale\ud83d\udd25wear-and-go-glueless-wigs-pre-plucked-pre-cut-upgrade-5x5-hd-lace-closure-wigs?variant=123756f9-0cfe-489d-bb3b-30a897837576","available_quantity":999999999,"options":[],"off_ratio":50,"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 + '%'
: ``
)}
`;
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"123756f9-0cfe-489d-bb3b-30a897837576","product_id":"d107b4f7-a4bd-4192-a8c1-4f1dcf45c4be","title":"","weight_unit":"kg","inventory_quantity":0,"sku":"ZYAM-02","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":30.99,"min_quantity":1}],"weight":"0","compare_at_price":"61.99","price":"30.99","retail_price":"61.99","available":true,"url":"\/products\/on-sale\ud83d\udd25wear-and-go-glueless-wigs-pre-plucked-pre-cut-upgrade-5x5-hd-lace-closure-wigs?variant=123756f9-0cfe-489d-bb3b-30a897837576","available_quantity":999999999,"options":[],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}