<? if (is_module('shoppingcart')): ?> <?= $this->load->module_view('shoppingcart', 'cart_index_view'); ?> <? endif; ?>