SHM Mechanical Godzilla articulated movable figure
${function() {
const variantData = data.variant || {"id":"7e5adb15-94c7-48cb-a0da-4e1952df4696","product_id":"5d0e53a9-db81-4f2c-b347-76d3e558ff82","title":"","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":69.99,"min_quantity":1}],"weight":"0","compare_at_price":"129.99","price":"69.99","retail_price":"129.99","available":true,"url":"\/products\/shm-mechanical-godzilla-articulated-movable-figure?variant=7e5adb15-94c7-48cb-a0da-4e1952df4696","available_quantity":999999999,"options":[],"off_ratio":46,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function() {
const minInventory = parseInt('10');
const maxInventory = parseInt('50');
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 `
`;
}()}
Product was out of stock.
Product is unavailable.