${function() {
const variantData = data.variant || {"id":"34aefbee-e9f1-48d1-9481-6f9c11fdbee8","product_id":"718f9e81-9af0-4f6a-9528-ff5135371074","title":"Black-S","weight_unit":"g","inventory_quantity":1,"sku":"","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9fc8508f7cd44ba24b378ab27aa7923c.webp","path":"9fc8508f7cd44ba24b378ab27aa7923c.webp","width":380,"height":530,"alt":"","aspect_ratio":0.7169811320754716},"wholesale_price":[{"price":21.95,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"21.95","retail_price":"0","available":true,"url":"\/products\/black-split-neck-printed-pocket-dress?variant=34aefbee-e9f1-48d1-9481-6f9c11fdbee8","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"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":"34aefbee-e9f1-48d1-9481-6f9c11fdbee8","product_id":"718f9e81-9af0-4f6a-9528-ff5135371074","title":"Black-S","weight_unit":"g","inventory_quantity":1,"sku":"","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9fc8508f7cd44ba24b378ab27aa7923c.webp","path":"9fc8508f7cd44ba24b378ab27aa7923c.webp","width":380,"height":530,"alt":"","aspect_ratio":0.7169811320754716},"wholesale_price":[{"price":21.95,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"21.95","retail_price":"0","available":true,"url":"\/products\/black-split-neck-printed-pocket-dress?variant=34aefbee-e9f1-48d1-9481-6f9c11fdbee8","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"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}
`
}()}