Outdoor Rattan Bed Sofa Garden Courtyard Balcony Lounge Chair Leisure Swimming Pool Lazy Furniture
${function() {
const variantData = data.variant || {"id":"cb63a117-b331-4eb3-a012-56caf2cfa459","product_id":"5228c395-f6ca-41cb-85fa-dfe562361d2c","title":"Black","weight_unit":"kg","inventory_quantity":996,"sku":"TH042003007","barcode":"","position":1,"option1":"Black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3bc2c3aec3eea23e50f148fec0e1ea97.jpeg","path":"3bc2c3aec3eea23e50f148fec0e1ea97.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.7,"min_quantity":1}],"weight":"0","compare_at_price":"260.81","price":"19.7","retail_price":"260.81","available":true,"url":"\/products\/outdoor-rattan-bed-sofa-garden-courtyard-balcony-lounge-chair-leisure-swimming-pool-lazy-furniture?variant=cb63a117-b331-4eb3-a012-56caf2cfa459","available_quantity":999999999,"options":[{"name":"Color","value":"Black"}],"off_ratio":92,"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}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"cb63a117-b331-4eb3-a012-56caf2cfa459","product_id":"5228c395-f6ca-41cb-85fa-dfe562361d2c","title":"Black","weight_unit":"kg","inventory_quantity":996,"sku":"TH042003007","barcode":"","position":1,"option1":"Black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3bc2c3aec3eea23e50f148fec0e1ea97.jpeg","path":"3bc2c3aec3eea23e50f148fec0e1ea97.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.7,"min_quantity":1}],"weight":"0","compare_at_price":"260.81","price":"19.7","retail_price":"260.81","available":true,"url":"\/products\/outdoor-rattan-bed-sofa-garden-courtyard-balcony-lounge-chair-leisure-swimming-pool-lazy-furniture?variant=cb63a117-b331-4eb3-a012-56caf2cfa459","available_quantity":999999999,"options":[{"name":"Color","value":"Black"}],"off_ratio":92,"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 `
`;
}()}