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

#   Redirect the mini cart module to the cart page

##

- **[pulsarinformatique](/forum/user/4583-pulsarinformatique "View pulsarinformatique's Profile")**
- [![pulsarinformatique's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4583-pulsarinformatique "View pulsarinformatique's Profile") Topic Author
- [ Offline](/forum/user/4583-pulsarinformatique)

Less More

- Posts: 202
- Thank you received: 3
-
- [](https://www.pulsar-informatique.com/)
-

6 years 2 months ago [\#323620](#323620) by [pulsarinformatique](/forum/user/4583-pulsarinformatique "View pulsarinformatique's Profile")  *[Redirect the mini cart module to the cart page](/forum/27-checkout/900735-redirect-the-mini-cart-module-to-the-cart-page#323620 "-- HikaShop version -- : 4.3.0 buisiness -- Joomla version -- : 3.9.19 -- PHP version -- : 7.3 -- Browser(s) name and version -- : Chrome  Hi How can we have the cart module redirect on the cart page instead of the checkout page as it currently is ?  we set up the cart module as a mini cart module but when we click on it we go to the checkout page while we want to go to the full cart page  thanks for your help")* was created by *[pulsarinformatique](/forum/user/4583-pulsarinformatique "View pulsarinformatique's Profile")*

-- HikaShop version -- : 4.3.0 buisiness
-- Joomla version -- : 3.9.19
-- PHP version -- : 7.3
-- Browser(s) name and version -- : Chrome

Hi
How can we have the cart module redirect on the cart page instead of the checkout page as it currently is ?

we set up the cart module as a mini cart module but when we click on it we go to the checkout page while we want to go to the full cart page

thanks for your help

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

6 years 2 months ago [\#323623](#323623) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Redirect the mini cart module to the cart page](/forum/27-checkout/900735-redirect-the-mini-cart-module-to-the-cart-page#323623 "-- HikaShop version -- : 4.3.0 buisiness -- Joomla version -- : 3.9.19 -- PHP version -- : 7.3 -- Browser(s) name and version -- : Chrome  Hi How can we have the cart module redirect on the cart page instead of the checkout page as it currently is ?  we set up the cart module as a mini cart module but when we click on it we go to the checkout page while we want to go to the full cart page  thanks for your help")*

Hi,

So if I understand correctly, you want to change the "proceed to checkout" button of the checkout (or the link on the mini cart) to go to the cart details page instead of going to the checkout.

You'll need to edit the file product / cart.php via the menu Display&gt;Views.
There, you can replace the code: Code:

if($this-&gt;element-&gt;cart_type == 'cart') { $link = $this-&gt;url_checkout; } else { $link = hikashop_completeLink('cart&amp;task=showcart&amp;cart_id='.$this-&gt;element-&gt;cart_id.'&amp;cart_type='.$this-&gt;element-&gt;cart_type . $this-&gt;cart_itemid); }

by:
Code:

$link = hikashop_completeLink('cart&amp;task=showcart&amp;cart_id='.$this-&gt;element-&gt;cart_id.'&amp;cart_type='.$this-&gt;element-&gt;cart_type . $this-&gt;cart_itemid);

The following user(s) said Thank You: [pulsarinformatique](/forum/user/4583-pulsarinformatique "View pulsarinformatique's Profile")

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

- **[pulsarinformatique](/forum/user/4583-pulsarinformatique "View pulsarinformatique's Profile")**
- [![pulsarinformatique's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4583-pulsarinformatique "View pulsarinformatique's Profile") Topic Author
- [ Offline](/forum/user/4583-pulsarinformatique)

Less More

- Posts: 202
- Thank you received: 3
-
- [](https://www.pulsar-informatique.com/)
-

6 years 2 months ago [\#323693](#323693) by [pulsarinformatique](/forum/user/4583-pulsarinformatique "View pulsarinformatique's Profile")  Replied by *[pulsarinformatique](/forum/user/4583-pulsarinformatique "View pulsarinformatique's Profile")* on topic *[Redirect the mini cart module to the cart page](/forum/27-checkout/900735-redirect-the-mini-cart-module-to-the-cart-page#323693 "-- HikaShop version -- : 4.3.0 buisiness -- Joomla version -- : 3.9.19 -- PHP version -- : 7.3 -- Browser(s) name and version -- : Chrome  Hi How can we have the cart module redirect on the cart page instead of the checkout page as it currently is ?  we set up the cart module as a mini cart module but when we click on it we go to the checkout page while we want to go to the full cart page  thanks for your help")*

Hi

thanks but I'm not sure we are talking about the same thing here:

I want to change the behaviour of the CART MODULE (mod_hikashop_cart) not the view of the cart page view

[ ![cart&#95;module.PNG](/forum/attachment/50491) ](/forum/attachment/50491 "cart&#95;module.PNG")

Please re read what I wrote :

How can we have the cart module redirect on the cart page instead of the checkout page as it currently is ?

we set up the cart module as a mini cart module but when we click on it we go to the checkout page while we want to go to the full cart page

thanks for your help

- [ ![cart&#95;module.PNG](/forum/attachment/50491) ](/forum/attachment/50491 "cart&#95;module.PNG") [ ](/forum/attachment/50491?download=1 "cart&#95;module.PNG")

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

6 years 2 months ago [\#323701](#323701) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Redirect the mini cart module to the cart page](/forum/27-checkout/900735-redirect-the-mini-cart-module-to-the-cart-page#323701 "-- HikaShop version -- : 4.3.0 buisiness -- Joomla version -- : 3.9.19 -- PHP version -- : 7.3 -- Browser(s) name and version -- : Chrome  Hi How can we have the cart module redirect on the cart page instead of the checkout page as it currently is ?  we set up the cart module as a mini cart module but when we click on it we go to the checkout page while we want to go to the full cart page  thanks for your help")*

Hi,

Yes, that's what I understood already. You want to change the link of the cart module so that it goes to the cart details page instead of the checkout.
And the code modification I propose should do it.

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

- **[pulsarinformatique](/forum/user/4583-pulsarinformatique "View pulsarinformatique's Profile")**
- [![pulsarinformatique's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4583-pulsarinformatique "View pulsarinformatique's Profile") Topic Author
- [ Offline](/forum/user/4583-pulsarinformatique)

Less More

- Posts: 202
- Thank you received: 3
-
- [](https://www.pulsar-informatique.com/)
-

6 years 2 months ago [\#323729](#323729) by [pulsarinformatique](/forum/user/4583-pulsarinformatique "View pulsarinformatique's Profile")  Replied by *[pulsarinformatique](/forum/user/4583-pulsarinformatique "View pulsarinformatique's Profile")* on topic *[Redirect the mini cart module to the cart page](/forum/27-checkout/900735-redirect-the-mini-cart-module-to-the-cart-page#323729 "-- HikaShop version -- : 4.3.0 buisiness -- Joomla version -- : 3.9.19 -- PHP version -- : 7.3 -- Browser(s) name and version -- : Chrome  Hi How can we have the cart module redirect on the cart page instead of the checkout page as it currently is ?  we set up the cart module as a mini cart module but when we click on it we go to the checkout page while we want to go to the full cart page  thanks for your help")*

Thanks
Will this modification support further updates please ?

Cyril

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

- **[Philip](/forum/user/34318-philip "View Philip's Profile")**
- [![Philip's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 652
-
-

6 years 2 months ago -  6 years 2 months ago [\#323738](#323738) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Redirect the mini cart module to the cart page](/forum/27-checkout/900735-redirect-the-mini-cart-module-to-the-cart-page#323738 "-- HikaShop version -- : 4.3.0 buisiness -- Joomla version -- : 3.9.19 -- PHP version -- : 7.3 -- Browser(s) name and version -- : Chrome  Hi How can we have the cart module redirect on the cart page instead of the checkout page as it currently is ?  we set up the cart module as a mini cart module but when we click on it we go to the checkout page while we want to go to the full cart page  thanks for your help")*

Hello,

No, don't worry the **HikaShop override** system will keep your modifications even with an update.
Only you can remove your override view.

Regards

Last edit: 6 years 2 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

The following user(s) said Thank You: [pulsarinformatique](/forum/user/4583-pulsarinformatique "View pulsarinformatique's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwMDczNS1yZWRpcmVjdC10aGUtbWluaS1jYXJ0LW1vZHVsZS10by10aGUtY2FydC1wYWdlP3RtcGw9bWFya2Rvd24=) 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.070 seconds

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