Hello everybody!
I need help with the implementation of the function, so that by clicking on the link in the featured menu on the main page, go to the menu page of the location from which this item is. I have a multi-restaurant system configuration.
Now I can use a link like the <?= page_url('local/menus'); ?>
on item <img> tag (featureditems/default.php) and it`s links to the menu of the main/current location.
Using the code like $featuredItem->menu_id
I can get the menu item id/name/price/etc.
But is there any way to get the item location slug for using at this link?
I would be grateful for any help in solving this problem.
Thanks.