Altari Queen Sofa Bed
If style is the question, then the Altari sofa sleeper is the answer. Sporting clean lines and sleek track arms, the decidedly contemporary profile is enhanced with plump cushioning and a chenille-feel upholstery that's so pleasing to the touch. Sure to play well with so many color schemes, this sofa sleeper in slate g
{
st_add_to_cart(event)
}, false);
// Special code to handle real-time price updates
stSTyleFinderWidget.addEventListener("st_dc_on_initial_load", (event) => {
// detect the sku's that need updates (initial load returns array of 4 items that need price updates)
var items = event.detail.alternateItems;
// make API calls to get the latest zone prices
const promise1 = update_pricing(items[0].id);
const promise2 = update_pricing(items[1].id);
const promise3 = update_pricing(items[2].id);
const promise4 = update_pricing(items[3].id);
Promise.all([promise1, promise2, promise3, promise4]).then(send_pricing);
}, false);
stSTyleFinderWidget.addEventListener("st_dc_replace_item", (event) => {
// remove the old item pricing
var previous_item = event.detail.replacedItemId;
remove_pricing(previous_item);
// add the new item pricing
var sku = event.detail.itemId;
prices_updating = 1;
const promise1 = update_pricing(sku);
promise1.then(send_pricing);
}, false);
}
function waitForSTWidget(callback) {
if (document.getElementsByTagName("shoptelligence-dc-widget").length>0) {
callback();
} else {
setTimeout(() => waitForSTWidget(callback), 50);
}
}
waitForSTWidget(setup_listeners);
'
>