${function() {
const variantData = data.variant || {"id":"9e98d48a-e5fd-4a2e-9086-0c651a9bbad4","product_id":"5ea915a4-dab3-48da-beeb-5f19c5b2a625","title":"black-M","weight_unit":"kg","inventory_quantity":1000,"sku":"1531876734214332418","barcode":"","position":1,"option1":"black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e3bda71df1e250dd8276f6bc5d16a647.jpeg","path":"e3bda71df1e250dd8276f6bc5d16a647.jpeg","width":1080,"height":1080,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.71,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"25.71","retail_price":"0","available":true,"url":"\/products\/mens-solid-color-v-neck-casual-breathable-t-shirt-s7q6?variant=9e98d48a-e5fd-4a2e-9086-0c651a9bbad4","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"M"}],"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":"9e98d48a-e5fd-4a2e-9086-0c651a9bbad4","product_id":"5ea915a4-dab3-48da-beeb-5f19c5b2a625","title":"black-M","weight_unit":"kg","inventory_quantity":1000,"sku":"1531876734214332418","barcode":"","position":1,"option1":"black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e3bda71df1e250dd8276f6bc5d16a647.jpeg","path":"e3bda71df1e250dd8276f6bc5d16a647.jpeg","width":1080,"height":1080,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.71,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"25.71","retail_price":"0","available":true,"url":"\/products\/mens-solid-color-v-neck-casual-breathable-t-shirt-s7q6?variant=9e98d48a-e5fd-4a2e-9086-0c651a9bbad4","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}