Mountly Wall hook
${function() {
const variantData = data.variant || {"id":"5f312a73-b2dc-4848-8711-195e3ffb49c8","product_id":"2dac8eb5-ac99-4fad-8850-76470748c0bd","title":"Silver","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"Silver","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0b0182c3f47cb602b288a8cde16b2700.jpeg","path":"0b0182c3f47cb602b288a8cde16b2700.jpeg","width":1600,"height":1600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":17.49,"min_quantity":1}],"weight":"0","compare_at_price":"20","price":"17.49","retail_price":"20","available":true,"url":"\/products\/wall-hook?variant=5f312a73-b2dc-4848-8711-195e3ffb49c8","available_quantity":999999999,"options":[{"name":"Color","value":"Silver"}],"off_ratio":13,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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 minInventory = parseInt('10');
const maxInventory = parseInt('100');
const randomInventory = Math.round(Math.random() * (maxInventory - minInventory)) + minInventory;
const customText = "\ud83d\udca5Hurry\uff01Only {stock} item(s) left in stock!".replace(/\{stock\}/g, '' + randomInventory + '');
const barWidth = (randomInventory / maxInventory) * 100 + '%';
return `
`;
}()}
visitors currently looking at this product!❤
Product was out of stock.
Product is unavailable.