[Skip to main content](#vessel-content)

#   Cart Module Questions

##

- **[condorazul](/forum/user/4911-condorazul "View condorazul's Profile")**
- [![condorazul's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4911.jpg)](/forum/user/4911-condorazul "View condorazul's Profile") Topic Author
- [ Offline](/forum/user/4911-condorazul)

Less More

- Posts: 441
- Thank you received: 24
-
- [](http://www.visual5.es)
-

13 years 7 months ago -  13 years 7 months ago [\#96951](#96951) by [condorazul](/forum/user/4911-condorazul "View condorazul's Profile")  Replied by *[condorazul](/forum/user/4911-condorazul "View condorazul's Profile")* on topic *[Cart Module Questions](/forum/4-how-to/79510-cart-module-questions?start=20#96951 "1.-Is it possible to include images of the product ordered in the cart module? 2.- Is it possible to display the cart in a pop up window? just have an icon your cart an when they click on it displays the cart in a pop up.")*

All right i managed to do several things, first thanks to widgetkit i managed to display the cart ina modal window without problems, but the url in php you gave me leads to a kind of customer cart or multicart, you can put name to the cart an add to wishlist or convert cart to wishlist, but you cant continue to chekout.
What i really would like is to be able to display hikashop cart module in a modal window but i cant get the correct url to do that.

Last edit: 13 years 7 months ago by [condorazul](/forum/user/4911-condorazul "View condorazul's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc5NTEwLWNhcnQtbW9kdWxlLXF1ZXN0aW9ucz9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 7 months ago [\#97269](#97269) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Cart Module Questions](/forum/4-how-to/79510-cart-module-questions?start=20#97269 "1.-Is it possible to include images of the product ordered in the cart module? 2.- Is it possible to display the cart in a pop up window? just have an icon your cart an when they click on it displays the cart in a pop up.")*

The cart module view is in "product / cart".
To call this view, the code: Code:

&lt;?php if(!defined('DS')) define('DS', DIRECTORY_SEPARATOR); if(!include_once(rtrim(JPATH_ADMINISTRATOR,DS).DS.'components'.DS.'com_hikashop'.DS.'helpers'.DS.'helper.php')){ echo 'This module can not work without the Hikashop Component'; return; }; $js =''; hikashop_initModule(); $config =&amp; hikashop_config(); $module_options = $config-&gt;get('params_'.$module-&gt;id); if(empty($module_options)){ $module_options = $config-&gt;get('default_params'); } foreach($module_options as $key =&gt; $option){ if($key !='moduleclass_sfx'){ $params-&gt;set($key,$option); } } foreach(get_object_vars($module) as $k =&gt; $v){ if(!is_object($v)){ $params-&gt;set($k,$v); } } $params-&gt;set('cart_type','cart'); $params-&gt;set('from','module'); $html = trim(hikashop_getLayout('product','cart',$params,$js)); if(!empty($html)){ ?&gt; &lt;div class="hikashop_cart_module" id="hikashop_cart_module"&gt; &lt;?php echo $html; ?&gt; &lt;/div&gt; &lt;?php }

is used. So you can maybe create a view, use this code inside and call the created page in your link.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc5NTEwLWNhcnQtbW9kdWxlLXF1ZXN0aW9ucz9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[condorazul](/forum/user/4911-condorazul "View condorazul's Profile")**
- [![condorazul's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4911.jpg)](/forum/user/4911-condorazul "View condorazul's Profile") Topic Author
- [ Offline](/forum/user/4911-condorazul)

Less More

- Posts: 441
- Thank you received: 24
-
- [](http://www.visual5.es)
-

13 years 7 months ago [\#97794](#97794) by [condorazul](/forum/user/4911-condorazul "View condorazul's Profile")  Replied by *[condorazul](/forum/user/4911-condorazul "View condorazul's Profile")* on topic *[Cart Module Questions](/forum/4-how-to/79510-cart-module-questions?start=20#97794 "1.-Is it possible to include images of the product ordered in the cart module? 2.- Is it possible to display the cart in a pop up window? just have an icon your cart an when they click on it displays the cart in a pop up.")*

Ok finally i managed to do it and it was much simplier than that.
the only thing we have to do is add in the href="#hikashop_cart"
so the cart is displayed!!!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc5NTEwLWNhcnQtbW9kdWxlLXF1ZXN0aW9ucz9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.076 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
