${function() {
const variantData = data.variant || {"id":"4a75aa70-e591-4095-9d57-a019fbae085b","product_id":"55f567e1-0267-446e-94f7-6a130ec97e0f","title":"Yellow-s","weight_unit":"kg","inventory_quantity":999,"sku":"6503248","barcode":"6503248","position":1,"option1":"Yellow","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/525fd9a44ff84ae187c9be092ef6c67f.webp","path":"525fd9a44ff84ae187c9be092ef6c67f.webp","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":21.99,"min_quantity":1}],"weight":"0.25","compare_at_price":"0","price":"21.99","retail_price":"0","available":true,"url":"\/products\/0df2bf38274b?variant=4a75aa70-e591-4095-9d57-a019fbae085b","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"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 : 6503248
Weight : 0.25kg
Barcode : 6503248
${function(){
const variantData = data.variant || {"id":"4a75aa70-e591-4095-9d57-a019fbae085b","product_id":"55f567e1-0267-446e-94f7-6a130ec97e0f","title":"Yellow-s","weight_unit":"kg","inventory_quantity":999,"sku":"6503248","barcode":"6503248","position":1,"option1":"Yellow","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/525fd9a44ff84ae187c9be092ef6c67f.webp","path":"525fd9a44ff84ae187c9be092ef6c67f.webp","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":21.99,"min_quantity":1}],"weight":"0.25","compare_at_price":"0","price":"21.99","retail_price":"0","available":true,"url":"\/products\/0df2bf38274b?variant=4a75aa70-e591-4095-9d57-a019fbae085b","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"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}
`
}()}