${function() {
const variantData = data.variant || {"id":"5755fdc1-376f-4329-ba28-d605afc8ffb1","product_id":"a0de3ca7-924d-4500-a56d-df5e8fd333f3","title":"Same as photo-XS","weight_unit":"g","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"Same as photo","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0102864c61a6d6b196fe5b4ee03302db.webp","path":"0102864c61a6d6b196fe5b4ee03302db.webp","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":32.5,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"32.5","retail_price":"0","available":true,"url":"\/products\/round-neck-inverted-pleat-color-block-striped-skater-dress?variant=5755fdc1-376f-4329-ba28-d605afc8ffb1","available_quantity":999999999,"options":[{"name":"Color","value":"Same as photo"},{"name":"Size","value":"XS"}],"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":"5755fdc1-376f-4329-ba28-d605afc8ffb1","product_id":"a0de3ca7-924d-4500-a56d-df5e8fd333f3","title":"Same as photo-XS","weight_unit":"g","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"Same as photo","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0102864c61a6d6b196fe5b4ee03302db.webp","path":"0102864c61a6d6b196fe5b4ee03302db.webp","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":32.5,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"32.5","retail_price":"0","available":true,"url":"\/products\/round-neck-inverted-pleat-color-block-striped-skater-dress?variant=5755fdc1-376f-4329-ba28-d605afc8ffb1","available_quantity":999999999,"options":[{"name":"Color","value":"Same as photo"},{"name":"Size","value":"XS"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}