I have to put a shopping cart on several pages on my ecommerce website (CodeIgniter, MVC Paradigm).
I don't really want to call the model behind this widget in all my controllers.
I know that a solution may be calling the model in the autoloader, but, sometimes, i don't want to display the shopping cart.
So, the solution may be calling the model in the related view. But, since it respect (i think) the MVC paradigm, i'm afraid that CodeIgniter is not really designed like that.
What is the best solution, for keeping a clear, simple and maintenable architecture ?
Thanks !