${function() {
const variantData = data.variant || {"id":"afd4d3f7-6493-4611-a520-45cdc3a1c992","product_id":"d76b3a90-74a1-4914-bf5a-20cd97eb832f","title":"Pink","weight_unit":"kg","inventory_quantity":100,"sku":"PG04714-Pink -A001881","barcode":"","position":2,"option1":"Pink","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9ca545eaaa5a8515216b3d9d673e0f97.jpeg","path":"9ca545eaaa5a8515216b3d9d673e0f97.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":40.17,"min_quantity":1}],"weight":"1","compare_at_price":"120.51","price":"40.17","retail_price":"120.51","available":true,"url":"\/products\/keep-your-pets-cool-comfortable-this-summer-with-the-dog-cooling-mat?variant=afd4d3f7-6493-4611-a520-45cdc3a1c992","available_quantity":100,"options":[{"name":"Color","value":"Pink"}],"off_ratio":67,"flashsale_info":[],"sales":5000};
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.
Sku : PG04714-Pink -A001881
Weight : 1kg
${function(){
const variantData = data.variant || {"id":"afd4d3f7-6493-4611-a520-45cdc3a1c992","product_id":"d76b3a90-74a1-4914-bf5a-20cd97eb832f","title":"Pink","weight_unit":"kg","inventory_quantity":100,"sku":"PG04714-Pink -A001881","barcode":"","position":2,"option1":"Pink","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9ca545eaaa5a8515216b3d9d673e0f97.jpeg","path":"9ca545eaaa5a8515216b3d9d673e0f97.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":40.17,"min_quantity":1}],"weight":"1","compare_at_price":"120.51","price":"40.17","retail_price":"120.51","available":true,"url":"\/products\/keep-your-pets-cool-comfortable-this-summer-with-the-dog-cooling-mat?variant=afd4d3f7-6493-4611-a520-45cdc3a1c992","available_quantity":100,"options":[{"name":"Color","value":"Pink"}],"off_ratio":67,"flashsale_info":[],"sales":5000};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}