${function() {
const variantData = data.variant || {"id":"7d6b5c12-5f54-4825-a8b9-f0a32beff28f","product_id":"789c2ffd-ef06-47be-ac15-41f2becc8aef","title":"White-S","weight_unit":"g","inventory_quantity":0,"sku":"EA231102422_WHI_S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4f0737f6215df8484a1bdd4e36630881.jpeg","path":"4f0737f6215df8484a1bdd4e36630881.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":17.99,"min_quantity":1}],"weight":"300","compare_at_price":"32","price":"17.99","retail_price":"32","available":true,"url":"\/products\/bicycle-hedgehog-print-mens-t-shirt-ea231102422-1?variant=7d6b5c12-5f54-4825-a8b9-f0a32beff28f","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":44,"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.
Sku : EA231102422_WHI_S
Weight : 300g
${function(){
const variantData = data.variant || {"id":"7d6b5c12-5f54-4825-a8b9-f0a32beff28f","product_id":"789c2ffd-ef06-47be-ac15-41f2becc8aef","title":"White-S","weight_unit":"g","inventory_quantity":0,"sku":"EA231102422_WHI_S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4f0737f6215df8484a1bdd4e36630881.jpeg","path":"4f0737f6215df8484a1bdd4e36630881.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":17.99,"min_quantity":1}],"weight":"300","compare_at_price":"32","price":"17.99","retail_price":"32","available":true,"url":"\/products\/bicycle-hedgehog-print-mens-t-shirt-ea231102422-1?variant=7d6b5c12-5f54-4825-a8b9-f0a32beff28f","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":44,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}