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

#   Remove "Carts" from User control panel

##

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

Less More

- Posts: 220
- Thank you received: 12
-
-

9 years 6 months ago [\#268744](#268744) by [joshualdouglas](/forum/user/49377-joshualdouglas "View joshualdouglas's Profile")  *[Remove "Carts" from User control panel](/forum/33-customers/890077-remove-carts-from-user-control-panel#268744 "Hello,  How do I remove the &quot;Carts&quot; button and page from the user control panel? Please see attached.  Kind Regards, Josh.")* was created by *[joshualdouglas](/forum/user/49377-joshualdouglas "View joshualdouglas's Profile")*

Hello,

How do I remove the "Carts" button and page from the user control panel? Please see attached.

Kind Regards,
Josh.

- [ ![ScreenShot2017-05-04at12.19.39.png](/forum/attachment/37946) ](/forum/attachment/37946 "...at12.19.39.png") [ ](/forum/attachment/37946?download=1 "...at12.19.39.png")

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

9 years 6 months ago [\#268750](#268750) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Remove "Carts" from User control panel](/forum/33-customers/890077-remove-carts-from-user-control-panel#268750 "Hello,  How do I remove the &quot;Carts&quot; button and page from the user control panel? Please see attached.  Kind Regards, Josh.")*

Hello Josh,

The solution will be to directly customize the code of the file "Cpanel" of the "User" view of your front-end template via "Hikashop-&gt;Display-&gt;Views".
You'll just have to add these lines : Code:

if($btn['image'] == 'cart') continue;

After : Code:

foreach($this-&gt;buttons as $btn) {

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

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

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

Less More

- Posts: 220
- Thank you received: 12
-
-

9 years 6 months ago [\#269025](#269025) by [joshualdouglas](/forum/user/49377-joshualdouglas "View joshualdouglas's Profile")  Replied by *[joshualdouglas](/forum/user/49377-joshualdouglas "View joshualdouglas's Profile")* on topic *[Remove "Carts" from User control panel](/forum/33-customers/890077-remove-carts-from-user-control-panel#269025 "Hello,  How do I remove the &quot;Carts&quot; button and page from the user control panel? Please see attached.  Kind Regards, Josh.")*

This worked great.

Thank you!

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

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

Less More

- Posts: 143
- Thank you received: 9
-
-

4 years 6 months ago [\#340839](#340839) by [ButterflyPixel](/forum/user/31098-butterflypixel "View ButterflyPixel's Profile")  Replied by *[ButterflyPixel](/forum/user/31098-butterflypixel "View ButterflyPixel's Profile")* on topic *[Remove "Carts" from User control panel](/forum/33-customers/890077-remove-carts-from-user-control-panel#340839 "Hello,  How do I remove the &quot;Carts&quot; button and page from the user control panel? Please see attached.  Kind Regards, Josh.")*

Hi,
could you update the process here for Hikashop 4.5 ? Cause the explanation seems to not working on this version.
Thanks !
Olivier

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84OTAwNzctcmVtb3ZlLWNhcnRzLWZyb20tdXNlci1jb250cm9sLXBhbmVsP3RtcGw9bWFya2Rvd24=) 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: 86358
- Thank you received: 14293
-
-

4 years 6 months ago [\#340846](#340846) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Remove "Carts" from User control panel](/forum/33-customers/890077-remove-carts-from-user-control-panel#340846 "Hello,  How do I remove the &quot;Carts&quot; button and page from the user control panel? Please see attached.  Kind Regards, Josh.")*

Hi,

You can edit the file cpanel via the menu Display&gt;Views and at the beginning of the file, you can add that code: Code:

&lt;?php unset($this-&gt;buttons['cart']); ?&gt;

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

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

Less More

- Posts: 143
- Thank you received: 9
-
-

4 years 6 months ago [\#340890](#340890) by [ButterflyPixel](/forum/user/31098-butterflypixel "View ButterflyPixel's Profile")  Replied by *[ButterflyPixel](/forum/user/31098-butterflypixel "View ButterflyPixel's Profile")* on topic *[Remove "Carts" from User control panel](/forum/33-customers/890077-remove-carts-from-user-control-panel#340890 "Hello,  How do I remove the &quot;Carts&quot; button and page from the user control panel? Please see attached.  Kind Regards, Josh.")*

> nicolas wrote: Hi,
>
> You can edit the file cpanel via the menu Display&gt;Views and at the beginning of the file, you can add that code:
>
> Code:
>
> &lt;?php unset($this-&gt;buttons['cart']); ?&gt;

Thanks Nicolas, i hided it via CSS but it's better with your solution ![:)](/media/kunena/emoticons/3.png ":)")
Thanks !

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

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