Super Short Wig 2Inch Pixed Straight Hair
${function() {
const variantData = data.variant || {"id":"9ce37862-364d-4a85-a8ff-2e4837f2ef75","product_id":"dad2e8bf-fab2-47d1-a5af-e0aa25b6185e","title":"BLACK-100% Density","weight_unit":"kg","inventory_quantity":1000,"sku":"SW-S-B-BK","barcode":"","position":1,"option1":"BLACK","option2":"100% Density","option3":"","note":"","image":null,"wholesale_price":[{"price":9.99,"min_quantity":1}],"weight":"0","compare_at_price":"39.99","price":"9.99","retail_price":"39.99","available":true,"url":"\/products\/super-short-wig-2inch-pixed-straight-hair-c7l2?variant=9ce37862-364d-4a85-a8ff-2e4837f2ef75","available_quantity":999999999,"options":[{"name":"COLOR","value":"BLACK"},{"name":"DENSITY","value":"100% Density"}],"off_ratio":75,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${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":"9ce37862-364d-4a85-a8ff-2e4837f2ef75","product_id":"dad2e8bf-fab2-47d1-a5af-e0aa25b6185e","title":"BLACK-100% Density","weight_unit":"kg","inventory_quantity":1000,"sku":"SW-S-B-BK","barcode":"","position":1,"option1":"BLACK","option2":"100% Density","option3":"","note":"","image":null,"wholesale_price":[{"price":9.99,"min_quantity":1}],"weight":"0","compare_at_price":"39.99","price":"9.99","retail_price":"39.99","available":true,"url":"\/products\/super-short-wig-2inch-pixed-straight-hair-c7l2?variant=9ce37862-364d-4a85-a8ff-2e4837f2ef75","available_quantity":999999999,"options":[{"name":"COLOR","value":"BLACK"},{"name":"DENSITY","value":"100% Density"}],"off_ratio":75,"flashsale_info":[],"sales":0};
return `
`
}()}
${function() {
const minInventory = parseInt('10');
const maxInventory = parseInt('52');
const randomInventory = Math.round(Math.random() * (maxInventory - minInventory)) + minInventory;
const customText = "Only {stock} item(s) left in stock!".replace(/\{stock\}/g, '' + randomInventory + '');
const barWidth = (randomInventory / maxInventory) * 100 + '%';
return `
`;
}()}