${function() {
const variantData = data.variant || {"id":"37fa1833-26c4-49e4-aaf0-bc7a80d26be6","product_id":"71985ef1-2739-4ff7-adc7-0fd051815f8a","title":"White-s","weight_unit":"kg","inventory_quantity":999,"sku":"5788163","barcode":"5788163","position":1,"option1":"White","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0e8994cb926f4c3a2d1fba8055f4b33e.webp","path":"0e8994cb926f4c3a2d1fba8055f4b33e.webp","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":20,"min_quantity":1}],"weight":"0.3","compare_at_price":"0","price":"20","retail_price":"0","available":true,"url":"\/products\/8479e3d6ea21?variant=37fa1833-26c4-49e4-aaf0-bc7a80d26be6","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 : 5788163
Weight : 0.3kg
Barcode : 5788163
${function(){
const variantData = data.variant || {"id":"37fa1833-26c4-49e4-aaf0-bc7a80d26be6","product_id":"71985ef1-2739-4ff7-adc7-0fd051815f8a","title":"White-s","weight_unit":"kg","inventory_quantity":999,"sku":"5788163","barcode":"5788163","position":1,"option1":"White","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0e8994cb926f4c3a2d1fba8055f4b33e.webp","path":"0e8994cb926f4c3a2d1fba8055f4b33e.webp","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":20,"min_quantity":1}],"weight":"0.3","compare_at_price":"0","price":"20","retail_price":"0","available":true,"url":"\/products\/8479e3d6ea21?variant=37fa1833-26c4-49e4-aaf0-bc7a80d26be6","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}
`
}()}