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

#   Empty cart and forced login

##

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

Less More

- Posts: 43
- Thank you received: 0
-
-

11 years 1 month ago [\#217497](#217497) by [elbertbos](/forum/user/37560-elbertbos "View elbertbos's Profile")  *[Empty cart and forced login](/forum/35-orders-management/879890-empty-cart-and-forced-login#217497 "-- url of the page with the problem -- :   www.elbertbos.nl  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.4.41-1 -- Browser(s) name and version -- : all  Hi,  I have a menu item, &quot;Cart&quot;, which displays the current cart when clicked. When the cart is empty, it displays a login. Is there a way to avoid that and simply show a message like &quot;Cart is empty&quot;?")* was created by *[elbertbos](/forum/user/37560-elbertbos "View elbertbos's Profile")*

-- url of the page with the problem -- : [ www.elbertbos.nl](http://www.elbertbos.nl)
-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.4
-- PHP version -- : 5.4.41-1
-- Browser(s) name and version -- : all

Hi,

I have a menu item, "Cart", which displays the current cart when clicked.
When the cart is empty, it displays a login.
Is there a way to avoid that and simply show a message like "Cart is empty"?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg3OTg5MC1lbXB0eS1jYXJ0LWFuZC1mb3JjZWQtbG9naW4/dG1wbD1tYXJrZG93bg==) 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)
-

11 years 1 month ago [\#217500](#217500) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Empty cart and forced login](/forum/35-orders-management/879890-empty-cart-and-forced-login#217500 "-- url of the page with the problem -- :   www.elbertbos.nl  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.4.41-1 -- Browser(s) name and version -- : all  Hi,  I have a menu item, &quot;Cart&quot;, which displays the current cart when clicked. When the cart is empty, it displays a login. Is there a way to avoid that and simply show a message like &quot;Cart is empty&quot;?")*

Hi,

It seems that you have an oldest version of the view "cart / showcart", please do a backup of that view and then remove the override.
[ www.hikashop.com/support/documentation/1...ize-the-display.html](http://www.hikashop.com/support/documentation/153-customize-the-display.html)

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

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

Less More

- Posts: 43
- Thank you received: 0
-
-

11 years 1 month ago [\#217575](#217575) by [elbertbos](/forum/user/37560-elbertbos "View elbertbos's Profile")  Replied by *[elbertbos](/forum/user/37560-elbertbos "View elbertbos's Profile")* on topic *[Empty cart and forced login](/forum/35-orders-management/879890-empty-cart-and-forced-login#217575 "-- url of the page with the problem -- :   www.elbertbos.nl  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.4.41-1 -- Browser(s) name and version -- : all  Hi,  I have a menu item, &quot;Cart&quot;, which displays the current cart when clicked. When the cart is empty, it displays a login. Is there a way to avoid that and simply show a message like &quot;Cart is empty&quot;?")*

Hi,

That implies I will loose all of the editing I made in that file?

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

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

Less More

- Posts: 43
- Thank you received: 0
-
-

11 years 1 month ago [\#217576](#217576) by [elbertbos](/forum/user/37560-elbertbos "View elbertbos's Profile")  Replied by *[elbertbos](/forum/user/37560-elbertbos "View elbertbos's Profile")* on topic *[Empty cart and forced login](/forum/35-orders-management/879890-empty-cart-and-forced-login#217576 "-- url of the page with the problem -- :   www.elbertbos.nl  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.4.41-1 -- Browser(s) name and version -- : all  Hi,  I have a menu item, &quot;Cart&quot;, which displays the current cart when clicked. When the cart is empty, it displays a login. Is there a way to avoid that and simply show a message like &quot;Cart is empty&quot;?")*

Hi
Well I did it anyway and it seems to work fine.
The only thing is that I have lost the word "Delete" in the cart view.
I placed Code:

$this-&gt;params-&gt;set('show_delete',1);

in the view again and I have the delete button but not the text.
If you need backend access, I already send that (#217400).

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

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

Less More

- Posts: 43
- Thank you received: 0
-
-

11 years 1 month ago -  11 years 1 month ago [\#217581](#217581) by [elbertbos](/forum/user/37560-elbertbos "View elbertbos's Profile")  Replied by *[elbertbos](/forum/user/37560-elbertbos "View elbertbos's Profile")* on topic *[Empty cart and forced login](/forum/35-orders-management/879890-empty-cart-and-forced-login#217581 "-- url of the page with the problem -- :   www.elbertbos.nl  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.4.41-1 -- Browser(s) name and version -- : all  Hi,  I have a menu item, &quot;Cart&quot;, which displays the current cart when clicked. When the cart is empty, it displays a login. Is there a way to avoid that and simply show a message like &quot;Cart is empty&quot;?")*

It **used** to work for a short period. I did nothing but I have the login back again.
How is this possible?

Last edit: 11 years 1 month ago by [elbertbos](/forum/user/37560-elbertbos "View elbertbos's Profile"). Reason: wrong formatting

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

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

Less More

- Posts: 43
- Thank you received: 0
-
-

11 years 1 month ago [\#217955](#217955) by [elbertbos](/forum/user/37560-elbertbos "View elbertbos's Profile")  Replied by *[elbertbos](/forum/user/37560-elbertbos "View elbertbos's Profile")* on topic *[Empty cart and forced login](/forum/35-orders-management/879890-empty-cart-and-forced-login#217955 "-- url of the page with the problem -- :   www.elbertbos.nl  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.4.41-1 -- Browser(s) name and version -- : all  Hi,  I have a menu item, &quot;Cart&quot;, which displays the current cart when clicked. When the cart is empty, it displays a login. Is there a way to avoid that and simply show a message like &quot;Cart is empty&quot;?")*

????

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg3OTg5MC1lbXB0eS1jYXJ0LWFuZC1mb3JjZWQtbG9naW4/dG1wbD1tYXJrZG93bg==) 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)
-

11 years 1 month ago [\#217986](#217986) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Empty cart and forced login](/forum/35-orders-management/879890-empty-cart-and-forced-login#217986 "-- url of the page with the problem -- :   www.elbertbos.nl  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.4.41-1 -- Browser(s) name and version -- : all  Hi,  I have a menu item, &quot;Cart&quot;, which displays the current cart when clicked. When the cart is empty, it displays a login. Is there a way to avoid that and simply show a message like &quot;Cart is empty&quot;?")*

Hi,

Are you sure that the edited view has not been put back ?
Regading the delete text, it was certainly an override, so you have to replace the line: Code:

&lt;img src="&lt;?php echo HIKASHOP_IMAGES . 'delete2.png';?&gt;" border="0" alt="&lt;?php echo JText::_('HIKA_DELETE'); ?&gt;" /&gt;

By: Code:

&lt;?php echo JText::_('HIKA_DELETE'); ?&gt;

in that view.

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

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

Less More

- Posts: 43
- Thank you received: 0
-
-

11 years 1 month ago [\#218032](#218032) by [elbertbos](/forum/user/37560-elbertbos "View elbertbos's Profile")  Replied by *[elbertbos](/forum/user/37560-elbertbos "View elbertbos's Profile")* on topic *[Empty cart and forced login](/forum/35-orders-management/879890-empty-cart-and-forced-login#218032 "-- url of the page with the problem -- :   www.elbertbos.nl  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.4.41-1 -- Browser(s) name and version -- : all  Hi,  I have a menu item, &quot;Cart&quot;, which displays the current cart when clicked. When the cart is empty, it displays a login. Is there a way to avoid that and simply show a message like &quot;Cart is empty&quot;?")*

Hi,

I replaced the code with the result that the delete button is replaced by the text "Delete" and that the text in the table header is still not visible.
As for removing the override, I clicked the bin button right to the showcart view in the overview of the views.
Did I do anything wrong here?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg3OTg5MC1lbXB0eS1jYXJ0LWFuZC1mb3JjZWQtbG9naW4/dG1wbD1tYXJrZG93bg==) 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)
-

11 years 1 month ago [\#218042](#218042) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Empty cart and forced login](/forum/35-orders-management/879890-empty-cart-and-forced-login#218042 "-- url of the page with the problem -- :   www.elbertbos.nl  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.4.41-1 -- Browser(s) name and version -- : all  Hi,  I have a menu item, &quot;Cart&quot;, which displays the current cart when clicked. When the cart is empty, it displays a login. Is there a way to avoid that and simply show a message like &quot;Cart is empty&quot;?")*

Hi,

My bad, I think I misunderstood, I was thinking that you wanted to replace the delete icon by a simple delete text.
So if you don't have the delete column that's because the registered user is not the owner of the cart.

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

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

Less More

- Posts: 43
- Thank you received: 0
-
-

11 years 1 month ago [\#218186](#218186) by [elbertbos](/forum/user/37560-elbertbos "View elbertbos's Profile")  Replied by *[elbertbos](/forum/user/37560-elbertbos "View elbertbos's Profile")* on topic *[Empty cart and forced login](/forum/35-orders-management/879890-empty-cart-and-forced-login#218186 "-- url of the page with the problem -- :   www.elbertbos.nl  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.4.41-1 -- Browser(s) name and version -- : all  Hi,  I have a menu item, &quot;Cart&quot;, which displays the current cart when clicked. When the cart is empty, it displays a login. Is there a way to avoid that and simply show a message like &quot;Cart is empty&quot;?")*

Hi,

I solved the problem of the unwanted login and got the delete button back again.
What I'm still missing is the delete title. Is there a way to make that visible?
Since I do have the button (working) I doubt it has anything to do with ownership of the cart.

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

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

Less More

- Posts: 43
- Thank you received: 0
-
-

11 years 1 month ago [\#218314](#218314) by [elbertbos](/forum/user/37560-elbertbos "View elbertbos's Profile")  Replied by *[elbertbos](/forum/user/37560-elbertbos "View elbertbos's Profile")* on topic *[Empty cart and forced login](/forum/35-orders-management/879890-empty-cart-and-forced-login#218314 "-- url of the page with the problem -- :   www.elbertbos.nl  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.4.41-1 -- Browser(s) name and version -- : all  Hi,  I have a menu item, &quot;Cart&quot;, which displays the current cart when clicked. When the cart is empty, it displays a login. Is there a way to avoid that and simply show a message like &quot;Cart is empty&quot;?")*

All problems solved. Thanks for the help.

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

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