Kayden 84" Wide Reversible Sleeper Sofa & Chaise
${function() {
const variantData = data.variant || {"id":"4da90cd4-0510-43ef-aa0b-98664723f27f","product_id":"7b54c227-a81e-49aa-9ead-7e6a486cf5a6","title":"","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1683530918239","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":36.99,"min_quantity":1}],"weight":"0","compare_at_price":"99.98","price":"36.99","retail_price":"99.98","available":true,"url":"\/products\/stsf22_0132_fba5c351_904869dd?variant=4da90cd4-0510-43ef-aa0b-98664723f27f","available_quantity":999999999,"options":[],"off_ratio":63,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"4da90cd4-0510-43ef-aa0b-98664723f27f","product_id":"7b54c227-a81e-49aa-9ead-7e6a486cf5a6","title":"","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1683530918239","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":36.99,"min_quantity":1}],"weight":"0","compare_at_price":"99.98","price":"36.99","retail_price":"99.98","available":true,"url":"\/products\/stsf22_0132_fba5c351_904869dd?variant=4da90cd4-0510-43ef-aa0b-98664723f27f","available_quantity":999999999,"options":[],"off_ratio":63,"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 `
`;
}()}