${function() {
const variantData = data.variant || {"id":"637b0be0-87b5-4457-bf8e-078b50e0f2b7","product_id":"3728e891-2e0d-49c5-9f85-51a22240afae","title":"One Size-apricot sweater","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693053118186","barcode":"","position":1,"option1":"One Size","option2":"apricot sweater","option3":"","note":"","image":null,"wholesale_price":[{"price":31.93,"min_quantity":1}],"weight":"0","compare_at_price":"31.93","price":"31.93","retail_price":"31.93","available":true,"url":"\/products\/women-elegant-button-single-breasted-cardigan-2190?variant=637b0be0-87b5-4457-bf8e-078b50e0f2b7","available_quantity":1000,"options":[{"name":"Size","value":"One Size"},{"name":"Color","value":"apricot sweater"}],"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":"637b0be0-87b5-4457-bf8e-078b50e0f2b7","product_id":"3728e891-2e0d-49c5-9f85-51a22240afae","title":"One Size-apricot sweater","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693053118186","barcode":"","position":1,"option1":"One Size","option2":"apricot sweater","option3":"","note":"","image":null,"wholesale_price":[{"price":31.93,"min_quantity":1}],"weight":"0","compare_at_price":"31.93","price":"31.93","retail_price":"31.93","available":true,"url":"\/products\/women-elegant-button-single-breasted-cardigan-2190?variant=637b0be0-87b5-4457-bf8e-078b50e0f2b7","available_quantity":1000,"options":[{"name":"Size","value":"One Size"},{"name":"Color","value":"apricot sweater"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}