${function() {
const variantData = data.variant || {"id":"a898366b-65a1-4415-96fc-be4a3b73d2e6","product_id":"279918a6-210e-4a3d-ab0f-99afdef23b92","title":"white-2xl","weight_unit":"kg","inventory_quantity":999,"sku":"4200303","barcode":"4200303","position":1,"option1":"white","option2":"2xl","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9871cdf801be31db7a1903f93b7bc42e.jpeg","path":"9871cdf801be31db7a1903f93b7bc42e.jpeg","width":600,"height":900,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0.24","compare_at_price":"0","price":"19.99","retail_price":"0","available":true,"url":"\/products\/deep-v-neck-patchwork-lace-plain-t-shirts?variant=a898366b-65a1-4415-96fc-be4a3b73d2e6","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"name":"Size","value":"2xl"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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 : 4200303
Weight : 0.24kg
Barcode : 4200303
${function(){
const variantData = data.variant || {"id":"a898366b-65a1-4415-96fc-be4a3b73d2e6","product_id":"279918a6-210e-4a3d-ab0f-99afdef23b92","title":"white-2xl","weight_unit":"kg","inventory_quantity":999,"sku":"4200303","barcode":"4200303","position":1,"option1":"white","option2":"2xl","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9871cdf801be31db7a1903f93b7bc42e.jpeg","path":"9871cdf801be31db7a1903f93b7bc42e.jpeg","width":600,"height":900,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0.24","compare_at_price":"0","price":"19.99","retail_price":"0","available":true,"url":"\/products\/deep-v-neck-patchwork-lace-plain-t-shirts?variant=a898366b-65a1-4415-96fc-be4a3b73d2e6","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"name":"Size","value":"2xl"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}