${function() {
const variantData = data.variant || {"id":"788f8484-ec38-4f43-9a6f-dee8f4872e2e","product_id":"25cf0a9e-20c2-4f3b-982c-e9d463123614","title":"2small hooks-Black","weight_unit":"kg","inventory_quantity":1000,"sku":"CJJT133235202BY","barcode":"","position":1,"option1":"2small hooks","option2":"Black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/867e4398ee84a307600a5988c9d8bde9.jpeg","path":"867e4398ee84a307600a5988c9d8bde9.jpeg","width":1436,"height":1468,"alt":"","aspect_ratio":0.9782016348773842},"wholesale_price":[{"price":12,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"12","retail_price":"0","available":true,"url":"\/products\/heavy-metal-hook-for-bicycle-garden-tools?variant=788f8484-ec38-4f43-9a6f-dee8f4872e2e","available_quantity":999999999,"options":[{"name":"style","value":"2small hooks"},{"name":"Color","value":"Black"}],"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}
`
}()}
${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":"788f8484-ec38-4f43-9a6f-dee8f4872e2e","product_id":"25cf0a9e-20c2-4f3b-982c-e9d463123614","title":"2small hooks-Black","weight_unit":"kg","inventory_quantity":1000,"sku":"CJJT133235202BY","barcode":"","position":1,"option1":"2small hooks","option2":"Black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/867e4398ee84a307600a5988c9d8bde9.jpeg","path":"867e4398ee84a307600a5988c9d8bde9.jpeg","width":1436,"height":1468,"alt":"","aspect_ratio":0.9782016348773842},"wholesale_price":[{"price":12,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"12","retail_price":"0","available":true,"url":"\/products\/heavy-metal-hook-for-bicycle-garden-tools?variant=788f8484-ec38-4f43-9a6f-dee8f4872e2e","available_quantity":999999999,"options":[{"name":"style","value":"2small hooks"},{"name":"Color","value":"Black"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}