${function() {
const variantData = data.variant || {"id":"c5d058f9-d03f-49df-b488-98b29d1a7571","product_id":"aa957bdf-f770-47fd-bb88-fbc35b7de27c","title":"2INHC-BLACK-100%","weight_unit":"kg","inventory_quantity":984,"sku":"YH-115-BK1440","barcode":"","position":1,"option1":"2INHC","option2":"BLACK","option3":"100%","note":"","image":null,"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"66.99","price":"29.99","retail_price":"66.99","available":true,"url":"\/products\/2021women-classic-short-curly-afro-hair-lace-wig?variant=c5d058f9-d03f-49df-b488-98b29d1a7571","available_quantity":984,"options":[{"name":"SIZE","value":"2INHC"},{"name":"CLR","value":"BLACK"},{"name":"DENSITY","value":"100%"}],"off_ratio":55,"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}
`
}()}
${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":"c5d058f9-d03f-49df-b488-98b29d1a7571","product_id":"aa957bdf-f770-47fd-bb88-fbc35b7de27c","title":"2INHC-BLACK-100%","weight_unit":"kg","inventory_quantity":984,"sku":"YH-115-BK1440","barcode":"","position":1,"option1":"2INHC","option2":"BLACK","option3":"100%","note":"","image":null,"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"66.99","price":"29.99","retail_price":"66.99","available":true,"url":"\/products\/2021women-classic-short-curly-afro-hair-lace-wig?variant=c5d058f9-d03f-49df-b488-98b29d1a7571","available_quantity":984,"options":[{"name":"SIZE","value":"2INHC"},{"name":"CLR","value":"BLACK"},{"name":"DENSITY","value":"100%"}],"off_ratio":55,"flashsale_info":[],"sales":0};
return `
`
}()}