I'm working on a website for a restaurant, where users can buy their food. By looking at some generic food ordering websites they are all pretty common about showing the shopping cart:
- Mobile: Via main navigation bar;
- Desktop: Fixed on the right side of the page;
But most of the e-commerce websites (amazon, walmart, ebay, etc..) uses the shopping cart on the main navigation, doesn't matter if it's a desktop or mobile view. Actually, I didn't found any using the fixed column. By moving the shopping cart to the navigation there will be more space to show the products, however this is not a common use in this segment.
What should I consider before choosing one or the other? Is there any specific reason why I would keep the shopping cart visible or hidden in the navigation bar?
As requested in the comment, here is a basic layout to show the examples: