${function() {
const variantData = data.variant || {"id":"ec753118-b80f-43a4-abe1-ea97cda94fd3","product_id":"321bc46c-5f1f-45df-8957-ccfd7fe7f9c0","title":"Light blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693054640737","barcode":"","position":13,"option1":"Light blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f136745053383b8c4f07ff501edf6c46.jpeg","path":"f136745053383b8c4f07ff501edf6c46.jpeg","width":608,"height":831,"alt":"White Casual Solid Pants","aspect_ratio":0.7316486161251504},"wholesale_price":[{"price":39.95,"min_quantity":1}],"weight":"0","compare_at_price":"39.95","price":"39.95","retail_price":"39.95","available":true,"url":"\/products\/white-casual-solid-pants-7338?variant=ec753118-b80f-43a4-abe1-ea97cda94fd3","available_quantity":1000,"options":[{"name":"Color","value":"Light blue"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":1};
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":"ec753118-b80f-43a4-abe1-ea97cda94fd3","product_id":"321bc46c-5f1f-45df-8957-ccfd7fe7f9c0","title":"Light blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693054640737","barcode":"","position":13,"option1":"Light blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f136745053383b8c4f07ff501edf6c46.jpeg","path":"f136745053383b8c4f07ff501edf6c46.jpeg","width":608,"height":831,"alt":"White Casual Solid Pants","aspect_ratio":0.7316486161251504},"wholesale_price":[{"price":39.95,"min_quantity":1}],"weight":"0","compare_at_price":"39.95","price":"39.95","retail_price":"39.95","available":true,"url":"\/products\/white-casual-solid-pants-7338?variant=ec753118-b80f-43a4-abe1-ea97cda94fd3","available_quantity":1000,"options":[{"name":"Color","value":"Light blue"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":1};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}