${function() {
const variantData = data.variant || {"id":"cd7126dd-8aba-493c-8c9d-67f1c5dae2a5","product_id":"9857a00b-39d6-4170-91d1-dc122dfeb02e","title":"Dark gray-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WY04F-U1012-Dark gray-S","barcode":"","position":1,"option1":"Dark gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9db9dc5f1335991220f166ded6e2cc95.jpeg","path":"9db9dc5f1335991220f166ded6e2cc95.jpeg","width":640,"height":800,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":20.88,"min_quantity":1}],"weight":"0","compare_at_price":"40.88","price":"20.88","retail_price":"40.88","available":true,"url":"\/products\/canyon-letter-print-all-match-casual-loose-sweatshirt2b7f4cd5-3bce-443e-a29c-368648235094?variant=cd7126dd-8aba-493c-8c9d-67f1c5dae2a5","available_quantity":999999999,"options":[{"name":"Color","value":"Dark gray"},{"name":"Size","value":"S"}],"off_ratio":49,"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":"cd7126dd-8aba-493c-8c9d-67f1c5dae2a5","product_id":"9857a00b-39d6-4170-91d1-dc122dfeb02e","title":"Dark gray-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WY04F-U1012-Dark gray-S","barcode":"","position":1,"option1":"Dark gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9db9dc5f1335991220f166ded6e2cc95.jpeg","path":"9db9dc5f1335991220f166ded6e2cc95.jpeg","width":640,"height":800,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":20.88,"min_quantity":1}],"weight":"0","compare_at_price":"40.88","price":"20.88","retail_price":"40.88","available":true,"url":"\/products\/canyon-letter-print-all-match-casual-loose-sweatshirt2b7f4cd5-3bce-443e-a29c-368648235094?variant=cd7126dd-8aba-493c-8c9d-67f1c5dae2a5","available_quantity":999999999,"options":[{"name":"Color","value":"Dark gray"},{"name":"Size","value":"S"}],"off_ratio":49,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}