${function() {
const variantData = data.variant || {"id":"8b1bf693-2495-46a3-a485-cd3a9b4bbce9","product_id":"a03f6530-386d-4e3a-be17-9227981d8dc6","title":"Green-s","weight_unit":"kg","inventory_quantity":1000,"sku":"6704712","barcode":"6704712","position":1,"option1":"Green","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4996c6def006c09d1a975f3610fd2776.jpeg","path":"4996c6def006c09d1a975f3610fd2776.jpeg","width":600,"height":600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":17.95,"min_quantity":1}],"weight":"0.12","compare_at_price":"45.96","price":"17.95","retail_price":"45.96","available":true,"url":"\/products\/b00a973709cb?variant=8b1bf693-2495-46a3-a485-cd3a9b4bbce9","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"s"}],"off_ratio":61,"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 : 6704712
Weight : 0.12kg
Barcode : 6704712
${function(){
const variantData = data.variant || {"id":"8b1bf693-2495-46a3-a485-cd3a9b4bbce9","product_id":"a03f6530-386d-4e3a-be17-9227981d8dc6","title":"Green-s","weight_unit":"kg","inventory_quantity":1000,"sku":"6704712","barcode":"6704712","position":1,"option1":"Green","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4996c6def006c09d1a975f3610fd2776.jpeg","path":"4996c6def006c09d1a975f3610fd2776.jpeg","width":600,"height":600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":17.95,"min_quantity":1}],"weight":"0.12","compare_at_price":"45.96","price":"17.95","retail_price":"45.96","available":true,"url":"\/products\/b00a973709cb?variant=8b1bf693-2495-46a3-a485-cd3a9b4bbce9","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"s"}],"off_ratio":61,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}