${function() {
const variantData = data.variant || {"id":"f180285b-4912-4440-bc2b-a377c28e3ee8","product_id":"5e6e8ec8-987c-48a9-bc8f-ad4dcfbc17a4","title":"Multicolor-M","weight_unit":"kg","inventory_quantity":1000,"sku":"PDYS-22111004-Multicolor-M","barcode":"","position":1,"option1":"Multicolor","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0e6ed33f5a84dac571b0676634c6c139.jpeg","path":"0e6ed33f5a84dac571b0676634c6c139.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":37.99,"min_quantity":1}],"weight":"0","compare_at_price":"75.99","price":"37.99","retail_price":"75.99","available":true,"url":"\/products\/mens-personalized-top-and-pants-two-piece-set-y4wm?variant=f180285b-4912-4440-bc2b-a377c28e3ee8","available_quantity":999999999,"options":[{"name":"Color","value":"Multicolor"},{"name":"Size","value":"M"}],"off_ratio":50,"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 : PDYS-22111004-Multicolor-M
${function(){
const variantData = data.variant || {"id":"f180285b-4912-4440-bc2b-a377c28e3ee8","product_id":"5e6e8ec8-987c-48a9-bc8f-ad4dcfbc17a4","title":"Multicolor-M","weight_unit":"kg","inventory_quantity":1000,"sku":"PDYS-22111004-Multicolor-M","barcode":"","position":1,"option1":"Multicolor","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0e6ed33f5a84dac571b0676634c6c139.jpeg","path":"0e6ed33f5a84dac571b0676634c6c139.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":37.99,"min_quantity":1}],"weight":"0","compare_at_price":"75.99","price":"37.99","retail_price":"75.99","available":true,"url":"\/products\/mens-personalized-top-and-pants-two-piece-set-y4wm?variant=f180285b-4912-4440-bc2b-a377c28e3ee8","available_quantity":999999999,"options":[{"name":"Color","value":"Multicolor"},{"name":"Size","value":"M"}],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}