${function() {
const variantData = data.variant || {"id":"5d529b37-197f-4fdb-973c-ac3c1f8e0c80","product_id":"7df3ca67-d8ce-4d8d-ba75-5605a9e5010c","title":"Pink-S","weight_unit":"kg","inventory_quantity":1000,"sku":"YN-Pink-S","barcode":"","position":1,"option1":"Pink","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a0f079ffde2a251a2f817dfcec9613ba.jpeg","path":"a0f079ffde2a251a2f817dfcec9613ba.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":26.98,"min_quantity":1}],"weight":"0","compare_at_price":"36.99","price":"26.98","retail_price":"36.99","available":true,"url":"\/products\/womens-retro-christmas-print-long-sleeve-sweatshirt-2?variant=5d529b37-197f-4fdb-973c-ac3c1f8e0c80","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"name":"Size","value":"S"}],"off_ratio":27,"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":"5d529b37-197f-4fdb-973c-ac3c1f8e0c80","product_id":"7df3ca67-d8ce-4d8d-ba75-5605a9e5010c","title":"Pink-S","weight_unit":"kg","inventory_quantity":1000,"sku":"YN-Pink-S","barcode":"","position":1,"option1":"Pink","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a0f079ffde2a251a2f817dfcec9613ba.jpeg","path":"a0f079ffde2a251a2f817dfcec9613ba.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":26.98,"min_quantity":1}],"weight":"0","compare_at_price":"36.99","price":"26.98","retail_price":"36.99","available":true,"url":"\/products\/womens-retro-christmas-print-long-sleeve-sweatshirt-2?variant=5d529b37-197f-4fdb-973c-ac3c1f8e0c80","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"name":"Size","value":"S"}],"off_ratio":27,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}