${function() {
const variantData = data.variant || {"id":"67f83d9b-68b4-41de-9e81-93f45cb9f144","product_id":"f186a0db-5cd5-4c2d-8e07-2466215b976e","title":"Light Gray-S","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693026452912","barcode":"","position":1,"option1":"Light Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5da970756b2be5d3a791e69fb4b34e17.jpeg","path":"5da970756b2be5d3a791e69fb4b34e17.jpeg","width":1200,"height":1600,"alt":"Round Neck Long Sleeve Letter Shirts & Tops","aspect_ratio":0.75},"wholesale_price":[{"price":21.61,"min_quantity":1}],"weight":"0","compare_at_price":"21.61","price":"21.61","retail_price":"21.61","available":true,"url":"\/products\/round-neck-long-sleeve-letter-shirts-tops-8892?variant=67f83d9b-68b4-41de-9e81-93f45cb9f144","available_quantity":1000,"options":[{"name":"Color","value":"Light Gray"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":2};
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":"67f83d9b-68b4-41de-9e81-93f45cb9f144","product_id":"f186a0db-5cd5-4c2d-8e07-2466215b976e","title":"Light Gray-S","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693026452912","barcode":"","position":1,"option1":"Light Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5da970756b2be5d3a791e69fb4b34e17.jpeg","path":"5da970756b2be5d3a791e69fb4b34e17.jpeg","width":1200,"height":1600,"alt":"Round Neck Long Sleeve Letter Shirts & Tops","aspect_ratio":0.75},"wholesale_price":[{"price":21.61,"min_quantity":1}],"weight":"0","compare_at_price":"21.61","price":"21.61","retail_price":"21.61","available":true,"url":"\/products\/round-neck-long-sleeve-letter-shirts-tops-8892?variant=67f83d9b-68b4-41de-9e81-93f45cb9f144","available_quantity":1000,"options":[{"name":"Color","value":"Light Gray"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":2};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}