${function() {
const variantData = data.variant || {"id":"9efd9aa0-2e6b-47ca-9631-16834ef2c5c7","product_id":"178531b2-bbda-4f1c-b0cf-66790849a8f8","title":"Black-S","weight_unit":"g","inventory_quantity":0,"sku":"EA23071147_BLK_S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1f9ec7e5889723a7a410bfcbe81c9529.jpeg","path":"1f9ec7e5889723a7a410bfcbe81c9529.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":62.99,"min_quantity":1}],"weight":"300","compare_at_price":"75.99","price":"62.99","retail_price":"75.99","available":true,"url":"\/products\/elastic-multi-pocket-outdoor-straight-cargo-pants-23071147-1-hpb1?variant=9efd9aa0-2e6b-47ca-9631-16834ef2c5c7","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":17,"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.
Sku : EA23071147_BLK_S
Weight : 300g
${function(){
const variantData = data.variant || {"id":"9efd9aa0-2e6b-47ca-9631-16834ef2c5c7","product_id":"178531b2-bbda-4f1c-b0cf-66790849a8f8","title":"Black-S","weight_unit":"g","inventory_quantity":0,"sku":"EA23071147_BLK_S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1f9ec7e5889723a7a410bfcbe81c9529.jpeg","path":"1f9ec7e5889723a7a410bfcbe81c9529.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":62.99,"min_quantity":1}],"weight":"300","compare_at_price":"75.99","price":"62.99","retail_price":"75.99","available":true,"url":"\/products\/elastic-multi-pocket-outdoor-straight-cargo-pants-23071147-1-hpb1?variant=9efd9aa0-2e6b-47ca-9631-16834ef2c5c7","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":17,"flashsale_info":[],"sales":1};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}