${function() {
const variantData = data.variant || {"id":"9ffc5fc5-1ed6-480f-9892-a186138a1bd1","product_id":"32437b68-e22b-42ed-857f-3d0576879701","title":"Grey-One Size","weight_unit":"g","inventory_quantity":1,"sku":"","barcode":"","position":1,"option1":"Grey","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/82ec0c7981d42a25697916fb0d5ce0ff.webp","path":"82ec0c7981d42a25697916fb0d5ce0ff.webp","width":480,"height":640,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":33,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"33","retail_price":"0","available":true,"url":"\/products\/shirt-collar-women-as-picture-shift-daily-casual-long-sleeve-striped-dress?variant=9ffc5fc5-1ed6-480f-9892-a186138a1bd1","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"One Size"}],"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.
${function(){
const variantData = data.variant || {"id":"9ffc5fc5-1ed6-480f-9892-a186138a1bd1","product_id":"32437b68-e22b-42ed-857f-3d0576879701","title":"Grey-One Size","weight_unit":"g","inventory_quantity":1,"sku":"","barcode":"","position":1,"option1":"Grey","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/82ec0c7981d42a25697916fb0d5ce0ff.webp","path":"82ec0c7981d42a25697916fb0d5ce0ff.webp","width":480,"height":640,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":33,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"33","retail_price":"0","available":true,"url":"\/products\/shirt-collar-women-as-picture-shift-daily-casual-long-sleeve-striped-dress?variant=9ffc5fc5-1ed6-480f-9892-a186138a1bd1","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"One Size"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}