${function() {
const variantData = data.variant || {"id":"589579dc-4767-457e-9665-552b2a3f0dad","product_id":"c18372f9-9b12-417d-9a27-50bf2293dcb8","title":"yellow-S","weight_unit":"kg","inventory_quantity":1000,"sku":"yellow S-36245662","barcode":"","position":1,"option1":"yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3426e01a208d8c70a80ece304d652ca6.jpeg","path":"3426e01a208d8c70a80ece304d652ca6.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":31.05,"min_quantity":1}],"weight":"0","compare_at_price":"31.05","price":"31.05","retail_price":"31.05","available":true,"url":"\/products\/autumn-and-winter-new-sweater-female-fashion-striped-contrast-color-long-sleeved-round-neck-knitted-stitching-sweater-women-top-208529389224?variant=589579dc-4767-457e-9665-552b2a3f0dad","available_quantity":999999999,"options":[{"name":"Color","value":"yellow"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
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.
${function(){
const variantData = data.variant || {"id":"589579dc-4767-457e-9665-552b2a3f0dad","product_id":"c18372f9-9b12-417d-9a27-50bf2293dcb8","title":"yellow-S","weight_unit":"kg","inventory_quantity":1000,"sku":"yellow S-36245662","barcode":"","position":1,"option1":"yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3426e01a208d8c70a80ece304d652ca6.jpeg","path":"3426e01a208d8c70a80ece304d652ca6.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":31.05,"min_quantity":1}],"weight":"0","compare_at_price":"31.05","price":"31.05","retail_price":"31.05","available":true,"url":"\/products\/autumn-and-winter-new-sweater-female-fashion-striped-contrast-color-long-sleeved-round-neck-knitted-stitching-sweater-women-top-208529389224?variant=589579dc-4767-457e-9665-552b2a3f0dad","available_quantity":999999999,"options":[{"name":"Color","value":"yellow"},{"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}
`
}()}