${function() {
const variantData = data.variant || {"id":"accb13de-9516-4e51-87d4-85b5ec2461b6","product_id":"7496c5f8-832d-4e5b-b3e0-76802ac3da1f","title":"Black-S","weight_unit":"g","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8183251497e2fa8b547fc63a4caca1c7.webp","path":"8183251497e2fa8b547fc63a4caca1c7.webp","width":540,"height":720,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":16.95,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"16.95","retail_price":"0","available":true,"url":"\/products\/round-neck-color-block-skater-dress?variant=accb13de-9516-4e51-87d4-85b5ec2461b6","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":1};
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":"accb13de-9516-4e51-87d4-85b5ec2461b6","product_id":"7496c5f8-832d-4e5b-b3e0-76802ac3da1f","title":"Black-S","weight_unit":"g","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8183251497e2fa8b547fc63a4caca1c7.webp","path":"8183251497e2fa8b547fc63a4caca1c7.webp","width":540,"height":720,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":16.95,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"16.95","retail_price":"0","available":true,"url":"\/products\/round-neck-color-block-skater-dress?variant=accb13de-9516-4e51-87d4-85b5ec2461b6","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":1};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}