${function() {
const variantData = data.variant || {"id":"27d455a3-e0bd-4724-bd90-8a6be9663e23","product_id":"ca706801-ee01-4eff-821d-13f107690d20","title":"yellow-s","weight_unit":"kg","inventory_quantity":999,"sku":"4854957","barcode":"4854957","position":1,"option1":"yellow","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fcf35bd26ba441c47c2727dc9374c345.webp","path":"fcf35bd26ba441c47c2727dc9374c345.webp","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":27.95,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"27.95","retail_price":"0","available":true,"url":"\/products\/fashionable-cotton-line-casual-v-neck-yellow-dress-xg5c?variant=27d455a3-e0bd-4724-bd90-8a6be9663e23","available_quantity":999999999,"options":[{"name":"Color","value":"yellow"},{"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.
Sku : 4854957
Barcode : 4854957
${function(){
const variantData = data.variant || {"id":"27d455a3-e0bd-4724-bd90-8a6be9663e23","product_id":"ca706801-ee01-4eff-821d-13f107690d20","title":"yellow-s","weight_unit":"kg","inventory_quantity":999,"sku":"4854957","barcode":"4854957","position":1,"option1":"yellow","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fcf35bd26ba441c47c2727dc9374c345.webp","path":"fcf35bd26ba441c47c2727dc9374c345.webp","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":27.95,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"27.95","retail_price":"0","available":true,"url":"\/products\/fashionable-cotton-line-casual-v-neck-yellow-dress-xg5c?variant=27d455a3-e0bd-4724-bd90-8a6be9663e23","available_quantity":999999999,"options":[{"name":"Color","value":"yellow"},{"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}
`
}()}