${function() {
const variantData = data.variant || {"id":"756cc02c-f472-424e-b0b5-0badcd2ae526","product_id":"08ee5d02-62c0-48ac-aa30-f32b68864304","title":"yellow-s","weight_unit":"kg","inventory_quantity":999,"sku":"4781744","barcode":"4781744","position":1,"option1":"yellow","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/22a08547c1f0dfcd901db7dc0fd22d06.webp","path":"22a08547c1f0dfcd901db7dc0fd22d06.webp","width":600,"height":900,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":24,"min_quantity":1}],"weight":"0.2","compare_at_price":"0","price":"24","retail_price":"0","available":true,"url":"\/products\/off-shoulder-single-breasted-belt-plain-short-sleeve-casual-dresses?variant=756cc02c-f472-424e-b0b5-0badcd2ae526","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 : 4781744
Weight : 0.2kg
Barcode : 4781744
${function(){
const variantData = data.variant || {"id":"756cc02c-f472-424e-b0b5-0badcd2ae526","product_id":"08ee5d02-62c0-48ac-aa30-f32b68864304","title":"yellow-s","weight_unit":"kg","inventory_quantity":999,"sku":"4781744","barcode":"4781744","position":1,"option1":"yellow","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/22a08547c1f0dfcd901db7dc0fd22d06.webp","path":"22a08547c1f0dfcd901db7dc0fd22d06.webp","width":600,"height":900,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":24,"min_quantity":1}],"weight":"0.2","compare_at_price":"0","price":"24","retail_price":"0","available":true,"url":"\/products\/off-shoulder-single-breasted-belt-plain-short-sleeve-casual-dresses?variant=756cc02c-f472-424e-b0b5-0badcd2ae526","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}
`
}()}