Centiar Dining Table
With its distinctive X-shaped base, the Centiar round dining table serves up a fresh twist on mid-century inspired style. Its mixed material and two-tone aesthetic are beautifully in balance. Sporting a dramatic charcoal gray hue, the top is crafted of durable melamine allowing it to weather years of family thrills and
{
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);
'
>