${function() {
const variantData = data.variant || {"id":"dcfc34c2-b8ec-429f-a5f3-f2558f185601","product_id":"bd1ab626-be42-4f81-8a35-955a91e2ea9a","title":"Fancy blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"Fancy blue S-42018720","barcode":"","position":1,"option1":"Fancy blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7ae4ecc43db8e8d8943d32df608e5d35.png","path":"7ae4ecc43db8e8d8943d32df608e5d35.png","width":800,"height":900,"alt":"","aspect_ratio":0.8888888888888888},"wholesale_price":[{"price":48.69,"min_quantity":1}],"weight":"0","compare_at_price":"48.69","price":"48.69","retail_price":"48.69","available":true,"url":"\/products\/chest-pocket-brght-color-3-pieces-set-bustier-top-shirt-pants-207998467965?variant=dcfc34c2-b8ec-429f-a5f3-f2558f185601","available_quantity":999999999,"options":[{"name":"Color","value":"Fancy blue"},{"name":"Size","value":"S"}],"off_ratio":0,"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 : Fancy blue S-42018720
${function(){
const variantData = data.variant || {"id":"dcfc34c2-b8ec-429f-a5f3-f2558f185601","product_id":"bd1ab626-be42-4f81-8a35-955a91e2ea9a","title":"Fancy blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"Fancy blue S-42018720","barcode":"","position":1,"option1":"Fancy blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7ae4ecc43db8e8d8943d32df608e5d35.png","path":"7ae4ecc43db8e8d8943d32df608e5d35.png","width":800,"height":900,"alt":"","aspect_ratio":0.8888888888888888},"wholesale_price":[{"price":48.69,"min_quantity":1}],"weight":"0","compare_at_price":"48.69","price":"48.69","retail_price":"48.69","available":true,"url":"\/products\/chest-pocket-brght-color-3-pieces-set-bustier-top-shirt-pants-207998467965?variant=dcfc34c2-b8ec-429f-a5f3-f2558f185601","available_quantity":999999999,"options":[{"name":"Color","value":"Fancy blue"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}