${function() {
const variantData = data.variant || {"id":"727b3921-74b4-4ee4-b027-8c5d1058cb46","product_id":"38356d60-c191-4f86-a45e-063546cef76a","title":"White-m","weight_unit":"kg","inventory_quantity":1000,"sku":"5986374","barcode":"5986374","position":1,"option1":"White","option2":"m","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/63748a397e424dec9e96b958ca51ce7d.webp","path":"63748a397e424dec9e96b958ca51ce7d.webp","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":22.05,"min_quantity":1}],"weight":"0.21","compare_at_price":"55.14","price":"22.05","retail_price":"55.14","available":true,"url":"\/products\/d2b8c36d8f18?variant=727b3921-74b4-4ee4-b027-8c5d1058cb46","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"m"}],"off_ratio":60,"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 : 5986374
Weight : 0.21kg
Barcode : 5986374
${function(){
const variantData = data.variant || {"id":"727b3921-74b4-4ee4-b027-8c5d1058cb46","product_id":"38356d60-c191-4f86-a45e-063546cef76a","title":"White-m","weight_unit":"kg","inventory_quantity":1000,"sku":"5986374","barcode":"5986374","position":1,"option1":"White","option2":"m","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/63748a397e424dec9e96b958ca51ce7d.webp","path":"63748a397e424dec9e96b958ca51ce7d.webp","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":22.05,"min_quantity":1}],"weight":"0.21","compare_at_price":"55.14","price":"22.05","retail_price":"55.14","available":true,"url":"\/products\/d2b8c36d8f18?variant=727b3921-74b4-4ee4-b027-8c5d1058cb46","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"m"}],"off_ratio":60,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}