${function() {
const variantData = data.variant || {"id":"0c977812-b88c-4649-9bb6-6bc0a5dfb4b7","product_id":"a40e0f5f-9401-4e81-bc65-ce52fc5d27b7","title":"Red-S","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693017370975","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":null,"wholesale_price":[{"price":22.95,"min_quantity":1}],"weight":"0","compare_at_price":"22.95","price":"22.95","retail_price":"22.95","available":true,"url":"\/products\/bohemian-casual-loose-short-sleeve-dress-elegant-plus-size-patchwork-casual-dresses-6071?variant=0c977812-b88c-4649-9bb6-6bc0a5dfb4b7","available_quantity":1000,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":0,"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.
${function(){
const variantData = data.variant || {"id":"0c977812-b88c-4649-9bb6-6bc0a5dfb4b7","product_id":"a40e0f5f-9401-4e81-bc65-ce52fc5d27b7","title":"Red-S","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693017370975","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":null,"wholesale_price":[{"price":22.95,"min_quantity":1}],"weight":"0","compare_at_price":"22.95","price":"22.95","retail_price":"22.95","available":true,"url":"\/products\/bohemian-casual-loose-short-sleeve-dress-elegant-plus-size-patchwork-casual-dresses-6071?variant=0c977812-b88c-4649-9bb6-6bc0a5dfb4b7","available_quantity":1000,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}