${function() {
const variantData = data.variant || {"id":"9f8dec23-9509-4fc5-bb97-9eb2cb277e1a","product_id":"3f14f3b7-53ef-412b-8fb6-a5b21b2a5d2d","title":"Orange-S","weight_unit":"g","inventory_quantity":989,"sku":"NC0508-Orange-S","barcode":"","position":1,"option1":"Orange","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1c3715beb0c78b3960d1512f63952f6d.jpeg","path":"1c3715beb0c78b3960d1512f63952f6d.jpeg","width":667,"height":890,"alt":"","aspect_ratio":0.749438202247191},"wholesale_price":[{"price":25.98,"min_quantity":1}],"weight":"50","compare_at_price":"37.98","price":"25.98","retail_price":"37.98","available":true,"url":"\/products\/printed-v-neck-cap-sleeve-shirt-1?variant=9f8dec23-9509-4fc5-bb97-9eb2cb277e1a","available_quantity":999999999,"options":[{"name":"Color","value":"Orange"},{"name":"Size","value":"S"}],"off_ratio":32,"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 : NC0508-Orange-S
Weight : 50g
${function(){
const variantData = data.variant || {"id":"9f8dec23-9509-4fc5-bb97-9eb2cb277e1a","product_id":"3f14f3b7-53ef-412b-8fb6-a5b21b2a5d2d","title":"Orange-S","weight_unit":"g","inventory_quantity":989,"sku":"NC0508-Orange-S","barcode":"","position":1,"option1":"Orange","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1c3715beb0c78b3960d1512f63952f6d.jpeg","path":"1c3715beb0c78b3960d1512f63952f6d.jpeg","width":667,"height":890,"alt":"","aspect_ratio":0.749438202247191},"wholesale_price":[{"price":25.98,"min_quantity":1}],"weight":"50","compare_at_price":"37.98","price":"25.98","retail_price":"37.98","available":true,"url":"\/products\/printed-v-neck-cap-sleeve-shirt-1?variant=9f8dec23-9509-4fc5-bb97-9eb2cb277e1a","available_quantity":999999999,"options":[{"name":"Color","value":"Orange"},{"name":"Size","value":"S"}],"off_ratio":32,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}