${function() {
const variantData = data.variant || {"id":"d1c55e69-1f57-4448-91e5-a88bcf177cc5","product_id":"34888cdc-6169-4beb-b461-4367cddfde7b","title":"Model Wear Color Faith-8 ''","weight_unit":"kg","inventory_quantity":958,"sku":"TP003-c-a","barcode":"","position":1,"option1":"Model Wear Color Faith","option2":"8 ''","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b96866126e84452f862cd9e3a6621da6.png","path":"b96866126e84452f862cd9e3a6621da6.png","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":28.99,"min_quantity":1}],"weight":"0","compare_at_price":"59.99","price":"28.99","retail_price":"59.99","available":true,"url":"\/products\/layered-hair-natural-hair-topper-can-be-hot-roll-and-dyed?variant=d1c55e69-1f57-4448-91e5-a88bcf177cc5","available_quantity":999999999,"options":[{"name":"Color","value":"Model Wear Color Faith"},{"name":"SIZE","value":"8 ''"}],"off_ratio":52,"flashsale_info":[],"sales":45};
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":"d1c55e69-1f57-4448-91e5-a88bcf177cc5","product_id":"34888cdc-6169-4beb-b461-4367cddfde7b","title":"Model Wear Color Faith-8 ''","weight_unit":"kg","inventory_quantity":958,"sku":"TP003-c-a","barcode":"","position":1,"option1":"Model Wear Color Faith","option2":"8 ''","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b96866126e84452f862cd9e3a6621da6.png","path":"b96866126e84452f862cd9e3a6621da6.png","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":28.99,"min_quantity":1}],"weight":"0","compare_at_price":"59.99","price":"28.99","retail_price":"59.99","available":true,"url":"\/products\/layered-hair-natural-hair-topper-can-be-hot-roll-and-dyed?variant=d1c55e69-1f57-4448-91e5-a88bcf177cc5","available_quantity":999999999,"options":[{"name":"Color","value":"Model Wear Color Faith"},{"name":"SIZE","value":"8 ''"}],"off_ratio":52,"flashsale_info":[],"sales":45};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}