${function() {
const variantData = data.variant || {"id":"207ca3bd-d95d-4293-b436-fc20106cc9e2","product_id":"b894c040-8da8-4d7b-838c-8c4b03b19c2f","title":"black-one-size","weight_unit":"kg","inventory_quantity":200,"sku":"UR0760-black-one-size","barcode":"","position":1,"option1":"black","option2":"one-size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f49f6a8bf60cda311524c29f2f14dabd.jpeg","path":"f49f6a8bf60cda311524c29f2f14dabd.jpeg","width":466,"height":467,"alt":"","aspect_ratio":0.9978586723768736},"wholesale_price":[{"price":9.8,"min_quantity":1}],"weight":"0.1","compare_at_price":"15.98","price":"9.8","retail_price":"15.98","available":true,"url":"\/products\/halloween-hollow-out-party-metal-resin-dangle-earrings-4xwc-wymd?variant=207ca3bd-d95d-4293-b436-fc20106cc9e2","available_quantity":200,"options":[{"name":"color","value":"black"},{"name":"size","value":"one-size"}],"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.
Sku : UR0760-black-one-size
Weight : 0.1kg
${function(){
const variantData = data.variant || {"id":"207ca3bd-d95d-4293-b436-fc20106cc9e2","product_id":"b894c040-8da8-4d7b-838c-8c4b03b19c2f","title":"black-one-size","weight_unit":"kg","inventory_quantity":200,"sku":"UR0760-black-one-size","barcode":"","position":1,"option1":"black","option2":"one-size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f49f6a8bf60cda311524c29f2f14dabd.jpeg","path":"f49f6a8bf60cda311524c29f2f14dabd.jpeg","width":466,"height":467,"alt":"","aspect_ratio":0.9978586723768736},"wholesale_price":[{"price":9.8,"min_quantity":1}],"weight":"0.1","compare_at_price":"15.98","price":"9.8","retail_price":"15.98","available":true,"url":"\/products\/halloween-hollow-out-party-metal-resin-dangle-earrings-4xwc-wymd?variant=207ca3bd-d95d-4293-b436-fc20106cc9e2","available_quantity":200,"options":[{"name":"color","value":"black"},{"name":"size","value":"one-size"}],"off_ratio":39,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}