${function() {
const variantData = data.variant || {"id":"b1582dbf-e69e-4192-bb58-20dbd98faa2f","product_id":"b71e7ab0-78d8-4981-bc11-4810af489f42","title":"detail-s","weight_unit":"kg","inventory_quantity":1000,"sku":"6624567","barcode":"6624567","position":1,"option1":"detail","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/da6af2c2f15c4ffd4a3f8914723195d6.jpeg","path":"da6af2c2f15c4ffd4a3f8914723195d6.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":38.9,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"38.9","retail_price":"0","available":true,"url":"\/products\/insdec075d82c90?variant=b1582dbf-e69e-4192-bb58-20dbd98faa2f","available_quantity":999999999,"options":[{"name":"Color","value":"detail"},{"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 : 6624567
Barcode : 6624567
${function(){
const variantData = data.variant || {"id":"b1582dbf-e69e-4192-bb58-20dbd98faa2f","product_id":"b71e7ab0-78d8-4981-bc11-4810af489f42","title":"detail-s","weight_unit":"kg","inventory_quantity":1000,"sku":"6624567","barcode":"6624567","position":1,"option1":"detail","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/da6af2c2f15c4ffd4a3f8914723195d6.jpeg","path":"da6af2c2f15c4ffd4a3f8914723195d6.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":38.9,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"38.9","retail_price":"0","available":true,"url":"\/products\/insdec075d82c90?variant=b1582dbf-e69e-4192-bb58-20dbd98faa2f","available_quantity":999999999,"options":[{"name":"Color","value":"detail"},{"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}
`
}()}