Maderla 2 Piece Sectional with Chaise
If you love the idea of a luxe look that won't break the bank, make yourself comfortable with the alluring walnut brown Maderla sectional. Designed to look like the real thing, it's wrapped in a practical faux leather loaded with natural tonal variation and a soft hand feel. Appealing to a contemporary taste, its jumbo
{
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);
'
>