Sold 1999 only
999999999
item(s) left
${function() {
let availableQuantity = data && data.available_quantity;
if (availableQuantity == undefined) {
return ("This product variant does not exist");
}
availableQuantity = Math.max(availableQuantity, 0);
const availableQuantityDom = `${availableQuantity}`
return ("Sold 1999 only {stock} item(s) left").replace(/\{*stock*\}/, availableQuantityDom);
}()}