${function() {
const variantData = data.variant || {"id":"e66b70df-d65f-4738-b098-4ae78bdf1937","product_id":"c95c6dce-06df-41d9-b7fc-ff01953e2059","title":"1-GH0019-Gray-Asian S","weight_unit":"kg","inventory_quantity":999,"sku":"dlz1693025222142","barcode":"","position":17,"option1":"1-GH0019-Gray","option2":"Asian S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a8908ace8596f5356c922866524b3445.jpeg","path":"a8908ace8596f5356c922866524b3445.jpeg","width":750,"height":750,"alt":"New Fashion V-Neck Long Sleeve Sweatshirts","aspect_ratio":1},"wholesale_price":[{"price":21.81,"min_quantity":1}],"weight":"0","compare_at_price":"21.81","price":"21.81","retail_price":"21.81","available":true,"url":"\/products\/new-fashion-v-neck-long-sleeve-sweatshirts-4771?variant=e66b70df-d65f-4738-b098-4ae78bdf1937","available_quantity":999,"options":[{"name":"Color","value":"1-GH0019-Gray"},{"name":"Size","value":"Asian S"}],"off_ratio":0,"flashsale_info":[],"sales":1};
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":"e66b70df-d65f-4738-b098-4ae78bdf1937","product_id":"c95c6dce-06df-41d9-b7fc-ff01953e2059","title":"1-GH0019-Gray-Asian S","weight_unit":"kg","inventory_quantity":999,"sku":"dlz1693025222142","barcode":"","position":17,"option1":"1-GH0019-Gray","option2":"Asian S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a8908ace8596f5356c922866524b3445.jpeg","path":"a8908ace8596f5356c922866524b3445.jpeg","width":750,"height":750,"alt":"New Fashion V-Neck Long Sleeve Sweatshirts","aspect_ratio":1},"wholesale_price":[{"price":21.81,"min_quantity":1}],"weight":"0","compare_at_price":"21.81","price":"21.81","retail_price":"21.81","available":true,"url":"\/products\/new-fashion-v-neck-long-sleeve-sweatshirts-4771?variant=e66b70df-d65f-4738-b098-4ae78bdf1937","available_quantity":999,"options":[{"name":"Color","value":"1-GH0019-Gray"},{"name":"Size","value":"Asian S"}],"off_ratio":0,"flashsale_info":[],"sales":1};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}