${function() {
const variantData = data.variant || {"id":"2b93b9b5-7147-4c9e-98bc-dc38722735b4","product_id":"2d9c5f87-800c-4af0-b82f-42ee3e570022","title":"white-s","weight_unit":"kg","inventory_quantity":999,"sku":"4852828","barcode":"4852828","position":11,"option1":"white","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/473e4c40eddcd75ea03ffa90807f01b8.webp","path":"473e4c40eddcd75ea03ffa90807f01b8.webp","width":538,"height":538,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"22.99","retail_price":"0","available":true,"url":"\/products\/slim-round-neck-shirt-top?variant=2b93b9b5-7147-4c9e-98bc-dc38722735b4","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"name":"Size","value":"s"}],"off_ratio":0,"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 + '%'
: ``
)}
`;
}()}
${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 : 4852828
Barcode : 4852828
${function(){
const variantData = data.variant || {"id":"2b93b9b5-7147-4c9e-98bc-dc38722735b4","product_id":"2d9c5f87-800c-4af0-b82f-42ee3e570022","title":"white-s","weight_unit":"kg","inventory_quantity":999,"sku":"4852828","barcode":"4852828","position":11,"option1":"white","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/473e4c40eddcd75ea03ffa90807f01b8.webp","path":"473e4c40eddcd75ea03ffa90807f01b8.webp","width":538,"height":538,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"22.99","retail_price":"0","available":true,"url":"\/products\/slim-round-neck-shirt-top?variant=2b93b9b5-7147-4c9e-98bc-dc38722735b4","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"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}
`
}()}