${function() {
const variantData = data.variant || {"id":"180685cf-05f1-4462-bdb4-05b974fdde03","product_id":"8d88f188-efb9-440b-9167-f22ddadb923d","title":"A21-917-150x130cm-China","weight_unit":"kg","inventory_quantity":986,"sku":"","barcode":"","position":1,"option1":"A21-917","option2":"150x130cm","option3":"China","note":"","image":{"src":"\/\/img.staticdj.com\/43b79c905334561be1674d412c235b0b.jpeg","path":"43b79c905334561be1674d412c235b0b.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"24.99","retail_price":"0","available":true,"url":"\/products\/nigikala-color-cloud-home-decoration-art-tapestry-bohemian-decoration-yoga-mat-hippie-travel-mattress-large-size-background-wall?variant=180685cf-05f1-4462-bdb4-05b974fdde03","available_quantity":999999999,"options":[{"name":"Color","value":"A21-917"},{"name":"Size","value":"150x130cm"},{"name":"Ships From","value":"China"}],"off_ratio":0,"flashsale_info":[],"sales":18};
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}
`
}()}
${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":"180685cf-05f1-4462-bdb4-05b974fdde03","product_id":"8d88f188-efb9-440b-9167-f22ddadb923d","title":"A21-917-150x130cm-China","weight_unit":"kg","inventory_quantity":986,"sku":"","barcode":"","position":1,"option1":"A21-917","option2":"150x130cm","option3":"China","note":"","image":{"src":"\/\/img.staticdj.com\/43b79c905334561be1674d412c235b0b.jpeg","path":"43b79c905334561be1674d412c235b0b.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"24.99","retail_price":"0","available":true,"url":"\/products\/nigikala-color-cloud-home-decoration-art-tapestry-bohemian-decoration-yoga-mat-hippie-travel-mattress-large-size-background-wall?variant=180685cf-05f1-4462-bdb4-05b974fdde03","available_quantity":999999999,"options":[{"name":"Color","value":"A21-917"},{"name":"Size","value":"150x130cm"},{"name":"Ships From","value":"China"}],"off_ratio":0,"flashsale_info":[],"sales":18};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}