${function() {
const variantData = data.variant || {"id":"be6b12b3-4528-41d4-bfd6-8e230c7c9912","product_id":"d5e43348-dc26-41ba-a556-a658fd785a2a","title":"Beige-S","weight_unit":"g","inventory_quantity":99,"sku":"","barcode":"","position":1,"option1":"Beige","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/96220ad87a52fbe51ab21efcd99adf57.webp","path":"96220ad87a52fbe51ab21efcd99adf57.webp","width":580,"height":786,"alt":"","aspect_ratio":0.7379134860050891},"wholesale_price":[{"price":24.58,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"24.58","retail_price":"0","available":true,"url":"\/products\/vintage-v-neck-tie-bohemian-mini-dress?variant=be6b12b3-4528-41d4-bfd6-8e230c7c9912","available_quantity":99,"options":[{"name":"Color","value":"Beige"},{"name":"Size","value":"S"}],"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":"be6b12b3-4528-41d4-bfd6-8e230c7c9912","product_id":"d5e43348-dc26-41ba-a556-a658fd785a2a","title":"Beige-S","weight_unit":"g","inventory_quantity":99,"sku":"","barcode":"","position":1,"option1":"Beige","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/96220ad87a52fbe51ab21efcd99adf57.webp","path":"96220ad87a52fbe51ab21efcd99adf57.webp","width":580,"height":786,"alt":"","aspect_ratio":0.7379134860050891},"wholesale_price":[{"price":24.58,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"24.58","retail_price":"0","available":true,"url":"\/products\/vintage-v-neck-tie-bohemian-mini-dress?variant=be6b12b3-4528-41d4-bfd6-8e230c7c9912","available_quantity":99,"options":[{"name":"Color","value":"Beige"},{"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}
`
}()}