${function() {
const variantData = data.variant || {"id":"5f8a85d0-ede6-41c3-bc64-8ccbb26b824b","product_id":"d8910973-8fcb-4793-84eb-a6984f79cff8","title":"Green-36","weight_unit":"g","inventory_quantity":999,"sku":"XHrrDxyuQ-Green-36","barcode":"","position":1,"option1":"Green","option2":"36","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0bd2ac7996f03488ece9966312c06d01.jpeg","path":"0bd2ac7996f03488ece9966312c06d01.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":41.89,"min_quantity":1}],"weight":"1000","compare_at_price":"77","price":"41.89","retail_price":"77","available":true,"url":"\/products\/casual-street-star-trendy-sneakers?variant=5f8a85d0-ede6-41c3-bc64-8ccbb26b824b","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"36"}],"off_ratio":46,"flashsale_info":[],"sales":2};
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 : XHrrDxyuQ-Green-36
Weight : 1000g
${function(){
const variantData = data.variant || {"id":"5f8a85d0-ede6-41c3-bc64-8ccbb26b824b","product_id":"d8910973-8fcb-4793-84eb-a6984f79cff8","title":"Green-36","weight_unit":"g","inventory_quantity":999,"sku":"XHrrDxyuQ-Green-36","barcode":"","position":1,"option1":"Green","option2":"36","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0bd2ac7996f03488ece9966312c06d01.jpeg","path":"0bd2ac7996f03488ece9966312c06d01.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":41.89,"min_quantity":1}],"weight":"1000","compare_at_price":"77","price":"41.89","retail_price":"77","available":true,"url":"\/products\/casual-street-star-trendy-sneakers?variant=5f8a85d0-ede6-41c3-bc64-8ccbb26b824b","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"36"}],"off_ratio":46,"flashsale_info":[],"sales":2};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}