there code be issues with code, since the changestate method of the Multistate box element is not being called correctly. You need to pass the state name as a string, enclosed in quotes, here is the code fixed which might be edited by you and work, but in case it still won’t go for good, please contact our Velo Customer Care for more personalized investigation, since they are more capable of resolving code related queries: https://support.wix.com/en/article/contacting-wix-customer-care-for-support
$w.onReady(function () {
initmegamenu();
});
function initmegamenu() {
$w('#furniturebutton').onClick(() => {
openrelevantmenu('Furniturestate');
});
$w('#outdoorsbutton').onClick(() => {
openrelevantmenu('Outdoorstate');
});
}
function openrelevantmenu(stateName) {
$w('megamenumultistatebox').changeState(stateName);
}