${function() {
const variantData = data.variant || {"id":"6ffa89a9-c917-46fd-883c-a98bdcac5d28","product_id":"e76585fa-0d83-4d26-b123-ce1d88667a8c","title":"Beige","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693056657263","barcode":"","position":1,"option1":"Beige","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2de31aba16d5b998ac1fe50c13abe75f.jpeg","path":"2de31aba16d5b998ac1fe50c13abe75f.jpeg","width":800,"height":800,"alt":"Canvas Totes Bag for Eco Reusable Shopping Bag Cartoon Cat Cotton Cloth Student Bags","aspect_ratio":1},"wholesale_price":[{"price":19.98,"min_quantity":1}],"weight":"0","compare_at_price":"19.98","price":"19.98","retail_price":"19.98","available":true,"url":"\/products\/canvas-totes-bag-for-eco-reusable-shopping-bag-cartoon-cat-cotton-cloth-student-bags-3435?variant=6ffa89a9-c917-46fd-883c-a98bdcac5d28","available_quantity":1000,"options":[{"name":"Color","value":"Beige"}],"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}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"6ffa89a9-c917-46fd-883c-a98bdcac5d28","product_id":"e76585fa-0d83-4d26-b123-ce1d88667a8c","title":"Beige","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693056657263","barcode":"","position":1,"option1":"Beige","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2de31aba16d5b998ac1fe50c13abe75f.jpeg","path":"2de31aba16d5b998ac1fe50c13abe75f.jpeg","width":800,"height":800,"alt":"Canvas Totes Bag for Eco Reusable Shopping Bag Cartoon Cat Cotton Cloth Student Bags","aspect_ratio":1},"wholesale_price":[{"price":19.98,"min_quantity":1}],"weight":"0","compare_at_price":"19.98","price":"19.98","retail_price":"19.98","available":true,"url":"\/products\/canvas-totes-bag-for-eco-reusable-shopping-bag-cartoon-cat-cotton-cloth-student-bags-3435?variant=6ffa89a9-c917-46fd-883c-a98bdcac5d28","available_quantity":1000,"options":[{"name":"Color","value":"Beige"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}