${function() {
const variantData = data.variant || {"id":"b8acedd0-2687-4d10-a466-411a12d18ad1","product_id":"ba128feb-8131-498c-a5c7-e9f353b75f3f","title":"Red-S","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5f685da48db2121c151fbc3dc426bb82.webp","path":"5f685da48db2121c151fbc3dc426bb82.webp","width":600,"height":900,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":31.69,"min_quantity":1}],"weight":"0","compare_at_price":"38.69","price":"31.69","retail_price":"38.69","available":true,"url":"\/products\/fashion-elegant-print-solid-patchwork-frenulum-v-neck-a-line-dresses10-colors?variant=b8acedd0-2687-4d10-a466-411a12d18ad1","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":18,"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":"b8acedd0-2687-4d10-a466-411a12d18ad1","product_id":"ba128feb-8131-498c-a5c7-e9f353b75f3f","title":"Red-S","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5f685da48db2121c151fbc3dc426bb82.webp","path":"5f685da48db2121c151fbc3dc426bb82.webp","width":600,"height":900,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":31.69,"min_quantity":1}],"weight":"0","compare_at_price":"38.69","price":"31.69","retail_price":"38.69","available":true,"url":"\/products\/fashion-elegant-print-solid-patchwork-frenulum-v-neck-a-line-dresses10-colors?variant=b8acedd0-2687-4d10-a466-411a12d18ad1","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":18,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}