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

#   Problems related to shopping cart

##

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

Less More

- Posts: 12
- Thank you received: 0
-
-

12 years 4 months ago -  12 years 4 months ago [\#160015](#160015) by [ylont](/forum/user/32687-ylont "View ylont's Profile")  *[Problems related to shopping cart](/forum/3-bug-report/868967-problems-related-to-shopping-cart#160015 "-- url of the page with the problem -- : still in localhost -- HikaShop version -- : HikaShop Essential 2.3.1 -- Joomla version -- : 2.5.20 -- PHP version -- : 5.3.13 -- Browser(s) name and version -- : Any browsers -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Not logged-in user cannot update the item quantities in the cart. Notice: Trying to get property of non-object in D:&#92;wamp&#92;www&#92;hikashop&#92;components&#92;com&#95;hikashop&#92;controllers&#92;cart.php on line 191  At first I thought it was caused from my mistakes during template overriding. But then I did a fresh install of Joomla and Hikashop in another folder just to test around using the default Joomla 2.5.20 theme. The same problem still exists.")* was created by *[ylont](/forum/user/32687-ylont "View ylont's Profile")*

-- url of the page with the problem -- : still in localhost
-- HikaShop version -- : HikaShop Essential 2.3.1
-- Joomla version -- : 2.5.20
-- PHP version -- : 5.3.13
-- Browser(s) name and version -- : Any browsers
-- Error-message(debug-mod must be tuned on) -- : Error_message

Not logged-in user cannot update the item quantities in the cart.
Notice: Trying to get property of non-object in ![D:](/angry.gif "D:")\wamp\www\hikashop\components\com_hikashop\controllers\cart.php on line 191

At first I thought it was caused from my mistakes during template overriding. But then I did a fresh install of Joomla and Hikashop in another folder just to test around using the default Joomla 2.5.20 theme. The same problem still exists.

Last edit: 12 years 4 months ago by [ylont](/forum/user/32687-ylont "View ylont's Profile").

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

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

Less More

- Posts: 12
- Thank you received: 0
-
-

12 years 4 months ago -  12 years 4 months ago [\#160016](#160016) by [ylont](/forum/user/32687-ylont "View ylont's Profile")  Replied by *[ylont](/forum/user/32687-ylont "View ylont's Profile")* on topic *[Problems related to shopping cart](/forum/3-bug-report/868967-problems-related-to-shopping-cart#160016 "-- url of the page with the problem -- : still in localhost -- HikaShop version -- : HikaShop Essential 2.3.1 -- Joomla version -- : 2.5.20 -- PHP version -- : 5.3.13 -- Browser(s) name and version -- : Any browsers -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Not logged-in user cannot update the item quantities in the cart. Notice: Trying to get property of non-object in D:&#92;wamp&#92;www&#92;hikashop&#92;components&#92;com&#95;hikashop&#92;controllers&#92;cart.php on line 191  At first I thought it was caused from my mistakes during template overriding. But then I did a fresh install of Joomla and Hikashop in another folder just to test around using the default Joomla 2.5.20 theme. The same problem still exists.")*

Another bug.

When a logged in user populated his cart and then logs out without checking out and then try to visit the cart page as a guest, the page says "Please login first" instead of loading the cart template and showing "The cart is empty".

To test this, I have the Shopping Cart direct link menu item created. The menu item type is Cart Display.

Last edit: 12 years 4 months ago by [ylont](/forum/user/32687-ylont "View ylont's Profile"). Reason: changed title

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

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

Less More

- Posts: 12
- Thank you received: 0
-
-

12 years 4 months ago -  12 years 4 months ago [\#160017](#160017) by [ylont](/forum/user/32687-ylont "View ylont's Profile")  Replied by *[ylont](/forum/user/32687-ylont "View ylont's Profile")* on topic *[Problems related to shopping cart](/forum/3-bug-report/868967-problems-related-to-shopping-cart#160017 "-- url of the page with the problem -- : still in localhost -- HikaShop version -- : HikaShop Essential 2.3.1 -- Joomla version -- : 2.5.20 -- PHP version -- : 5.3.13 -- Browser(s) name and version -- : Any browsers -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Not logged-in user cannot update the item quantities in the cart. Notice: Trying to get property of non-object in D:&#92;wamp&#92;www&#92;hikashop&#92;components&#92;com&#95;hikashop&#92;controllers&#92;cart.php on line 191  At first I thought it was caused from my mistakes during template overriding. But then I did a fresh install of Joomla and Hikashop in another folder just to test around using the default Joomla 2.5.20 theme. The same problem still exists.")*

And one more odd bug.

When a user fills in products to his cart as a guest, then logs in using the Joomla standard Login menu item, and then go to visit his cart using a "cart display" menu item, the page shows "You are not authorized to see this resource" instead of the cart content that he sees as a guest.

This problem fixes itself when the user adds another item into the cart after logging in.

This problem can also happen when we remove the Cart box from the checkout workflow in the configuration. However when the Cart box is not omitted and the user logs in as part of the checkout flow, the problem doesn't occur.

It seems like the cart has to be loaded once after logging in to be properly initialized and carried over from the guest session.

Last edit: 12 years 4 months ago by [ylont](/forum/user/32687-ylont "View ylont's Profile"). Reason: changed title

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84Njg5NjctcHJvYmxlbXMtcmVsYXRlZC10by1zaG9wcGluZy1jYXJ0P3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

12 years 4 months ago [\#160119](#160119) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Problems related to shopping cart](/forum/3-bug-report/868967-problems-related-to-shopping-cart#160119 "-- url of the page with the problem -- : still in localhost -- HikaShop version -- : HikaShop Essential 2.3.1 -- Joomla version -- : 2.5.20 -- PHP version -- : 5.3.13 -- Browser(s) name and version -- : Any browsers -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Not logged-in user cannot update the item quantities in the cart. Notice: Trying to get property of non-object in D:&#92;wamp&#92;www&#92;hikashop&#92;components&#92;com&#95;hikashop&#92;controllers&#92;cart.php on line 191  At first I thought it was caused from my mistakes during template overriding. But then I did a fresh install of Joomla and Hikashop in another folder just to test around using the default Joomla 2.5.20 theme. The same problem still exists.")*

Hi,

1. This looks like a caching issue. Can you make sure that all the cache is disabled on your website ?

2. This is the normal behavior. The carts management interface of the frontend where you can see all your carts is only available for logged in users. Note that this is different from the checkout where you can see your current cart, even when not logged in, and which will display that "the cart is empty" error if you try to access it without a cart.

3. It would seem more like a problem with the user not been synchronized between Joomla and HikaShop. That would happen if the user synchronization plugin is turned off. Could you check on that in the Joomla plugins manager of your website ?

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

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

Less More

- Posts: 12
- Thank you received: 0
-
-

12 years 4 months ago [\#160133](#160133) by [ylont](/forum/user/32687-ylont "View ylont's Profile")  Replied by *[ylont](/forum/user/32687-ylont "View ylont's Profile")* on topic *[Problems related to shopping cart](/forum/3-bug-report/868967-problems-related-to-shopping-cart#160133 "-- url of the page with the problem -- : still in localhost -- HikaShop version -- : HikaShop Essential 2.3.1 -- Joomla version -- : 2.5.20 -- PHP version -- : 5.3.13 -- Browser(s) name and version -- : Any browsers -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Not logged-in user cannot update the item quantities in the cart. Notice: Trying to get property of non-object in D:&#92;wamp&#92;www&#92;hikashop&#92;components&#92;com&#95;hikashop&#92;controllers&#92;cart.php on line 191  At first I thought it was caused from my mistakes during template overriding. But then I did a fresh install of Joomla and Hikashop in another folder just to test around using the default Joomla 2.5.20 theme. The same problem still exists.")*

Hi there,

1) I did not enable any kinds of Joomla caching because the website is still under development.

2) Ok understood, I was just trying to figure out the logic based on my experience using Virtuemart. I will work around this.

3) The hikashop user sync plugin was enabled.

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

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

Less More

- Posts: 12
- Thank you received: 0
-
-

12 years 4 months ago [\#161272](#161272) by [ylont](/forum/user/32687-ylont "View ylont's Profile")  Replied by *[ylont](/forum/user/32687-ylont "View ylont's Profile")* on topic *[Problems related to shopping cart](/forum/3-bug-report/868967-problems-related-to-shopping-cart#161272 "-- url of the page with the problem -- : still in localhost -- HikaShop version -- : HikaShop Essential 2.3.1 -- Joomla version -- : 2.5.20 -- PHP version -- : 5.3.13 -- Browser(s) name and version -- : Any browsers -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Not logged-in user cannot update the item quantities in the cart. Notice: Trying to get property of non-object in D:&#92;wamp&#92;www&#92;hikashop&#92;components&#92;com&#95;hikashop&#92;controllers&#92;cart.php on line 191  At first I thought it was caused from my mistakes during template overriding. But then I did a fresh install of Joomla and Hikashop in another folder just to test around using the default Joomla 2.5.20 theme. The same problem still exists.")*

Hi,

Need some updates here. We are launching our website in approx 10 days.

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84Njg5NjctcHJvYmxlbXMtcmVsYXRlZC10by1zaG9wcGluZy1jYXJ0P3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

12 years 4 months ago [\#161350](#161350) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Problems related to shopping cart](/forum/3-bug-report/868967-problems-related-to-shopping-cart#161350 "-- url of the page with the problem -- : still in localhost -- HikaShop version -- : HikaShop Essential 2.3.1 -- Joomla version -- : 2.5.20 -- PHP version -- : 5.3.13 -- Browser(s) name and version -- : Any browsers -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Not logged-in user cannot update the item quantities in the cart. Notice: Trying to get property of non-object in D:&#92;wamp&#92;www&#92;hikashop&#92;components&#92;com&#95;hikashop&#92;controllers&#92;cart.php on line 191  At first I thought it was caused from my mistakes during template overriding. But then I did a fresh install of Joomla and Hikashop in another folder just to test around using the default Joomla 2.5.20 theme. The same problem still exists.")*

Hi,

We would need an access to the backend and to the frontend of the website to be able to look at these because we cannot reproduce the problems on our end.
Could you put the website online and provide such access?

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

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

Less More

- Posts: 12
- Thank you received: 0
-
-

12 years 4 months ago [\#161456](#161456) by [ylont](/forum/user/32687-ylont "View ylont's Profile")  Replied by *[ylont](/forum/user/32687-ylont "View ylont's Profile")* on topic *[Problems related to shopping cart](/forum/3-bug-report/868967-problems-related-to-shopping-cart#161456 "-- url of the page with the problem -- : still in localhost -- HikaShop version -- : HikaShop Essential 2.3.1 -- Joomla version -- : 2.5.20 -- PHP version -- : 5.3.13 -- Browser(s) name and version -- : Any browsers -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Not logged-in user cannot update the item quantities in the cart. Notice: Trying to get property of non-object in D:&#92;wamp&#92;www&#92;hikashop&#92;components&#92;com&#95;hikashop&#92;controllers&#92;cart.php on line 191  At first I thought it was caused from my mistakes during template overriding. But then I did a fresh install of Joomla and Hikashop in another folder just to test around using the default Joomla 2.5.20 theme. The same problem still exists.")*

Sure, how can I send these info to you?

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

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

Less More

- Posts: 2697
- Thank you received: 74
-
-

12 years 4 months ago -  12 years 4 months ago [\#161464](#161464) by [erickb](/forum/user/4069-erickb "View erickb's Profile")  Replied by *[erickb](/forum/user/4069-erickb "View erickb's Profile")* on topic *[Problems related to shopping cart](/forum/3-bug-report/868967-problems-related-to-shopping-cart#161464 "-- url of the page with the problem -- : still in localhost -- HikaShop version -- : HikaShop Essential 2.3.1 -- Joomla version -- : 2.5.20 -- PHP version -- : 5.3.13 -- Browser(s) name and version -- : Any browsers -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Not logged-in user cannot update the item quantities in the cart. Notice: Trying to get property of non-object in D:&#92;wamp&#92;www&#92;hikashop&#92;components&#92;com&#95;hikashop&#92;controllers&#92;cart.php on line 191  At first I thought it was caused from my mistakes during template overriding. But then I did a fresh install of Joomla and Hikashop in another folder just to test around using the default Joomla 2.5.20 theme. The same problem still exists.")*

> ylont wrote: And one more odd bug.
>
> When a user fills in products to his cart as a guest, then logs in using the Joomla standard Login menu item, and then go to visit his cart using a "cart display" menu item, the page shows "You are not authorized to see this resource" instead of the cart content that he sees as a guest.
> .

Same problem time to time for me with J 331and hk 231

Last edit: 12 years 4 months ago by [erickb](/forum/user/4069-erickb "View erickb's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84Njg5NjctcHJvYmxlbXMtcmVsYXRlZC10by1zaG9wcGluZy1jYXJ0P3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

12 years 4 months ago [\#161473](#161473) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Problems related to shopping cart](/forum/3-bug-report/868967-problems-related-to-shopping-cart#161473 "-- url of the page with the problem -- : still in localhost -- HikaShop version -- : HikaShop Essential 2.3.1 -- Joomla version -- : 2.5.20 -- PHP version -- : 5.3.13 -- Browser(s) name and version -- : Any browsers -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Not logged-in user cannot update the item quantities in the cart. Notice: Trying to get property of non-object in D:&#92;wamp&#92;www&#92;hikashop&#92;components&#92;com&#95;hikashop&#92;controllers&#92;cart.php on line 191  At first I thought it was caused from my mistakes during template overriding. But then I did a fresh install of Joomla and Hikashop in another folder just to test around using the default Joomla 2.5.20 theme. The same problem still exists.")*

Hi,

You can use our contact form:
[ www.hikashop.com/contact-us.html](https://www.hikashop.com/contact-us.html)

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

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

Less More

- Posts: 12
- Thank you received: 0
-
-

12 years 4 months ago [\#161527](#161527) by [ylont](/forum/user/32687-ylont "View ylont's Profile")  Replied by *[ylont](/forum/user/32687-ylont "View ylont's Profile")* on topic *[Problems related to shopping cart](/forum/3-bug-report/868967-problems-related-to-shopping-cart#161527 "-- url of the page with the problem -- : still in localhost -- HikaShop version -- : HikaShop Essential 2.3.1 -- Joomla version -- : 2.5.20 -- PHP version -- : 5.3.13 -- Browser(s) name and version -- : Any browsers -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Not logged-in user cannot update the item quantities in the cart. Notice: Trying to get property of non-object in D:&#92;wamp&#92;www&#92;hikashop&#92;components&#92;com&#95;hikashop&#92;controllers&#92;cart.php on line 191  At first I thought it was caused from my mistakes during template overriding. But then I did a fresh install of Joomla and Hikashop in another folder just to test around using the default Joomla 2.5.20 theme. The same problem still exists.")*

Sent!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84Njg5NjctcHJvYmxlbXMtcmVsYXRlZC10by1zaG9wcGluZy1jYXJ0P3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

12 years 4 months ago [\#161843](#161843) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Problems related to shopping cart](/forum/3-bug-report/868967-problems-related-to-shopping-cart#161843 "-- url of the page with the problem -- : still in localhost -- HikaShop version -- : HikaShop Essential 2.3.1 -- Joomla version -- : 2.5.20 -- PHP version -- : 5.3.13 -- Browser(s) name and version -- : Any browsers -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Not logged-in user cannot update the item quantities in the cart. Notice: Trying to get property of non-object in D:&#92;wamp&#92;www&#92;hikashop&#92;components&#92;com&#95;hikashop&#92;controllers&#92;cart.php on line 191  At first I thought it was caused from my mistakes during template overriding. But then I did a fresh install of Joomla and Hikashop in another folder just to test around using the default Joomla 2.5.20 theme. The same problem still exists.")*

Hi,

So regarding the problem with the edition of the quantity of the products in the cart and also regarding the "You are not authorized to see this resource" error when access the cart after logging in, I found the problem.
You need to replace the files components/com_hikashop/controllers/cart.php and components/com_hikashop/views/cart/tmpl/showcart.php with the ones in the archive enclosed and that will fix the problem (note that if you had customized the showcart view file, you'll have to remove the customization and apply it to this new file).

*This attachment is hidden for guests.
Please log in or register to see it.*

The modifications will also be included in the next version of HikaShop.

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

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

Less More

- Posts: 12
- Thank you received: 0
-
-

12 years 3 months ago [\#162487](#162487) by [ylont](/forum/user/32687-ylont "View ylont's Profile")  Replied by *[ylont](/forum/user/32687-ylont "View ylont's Profile")* on topic *[Problems related to shopping cart](/forum/3-bug-report/868967-problems-related-to-shopping-cart#162487 "-- url of the page with the problem -- : still in localhost -- HikaShop version -- : HikaShop Essential 2.3.1 -- Joomla version -- : 2.5.20 -- PHP version -- : 5.3.13 -- Browser(s) name and version -- : Any browsers -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Not logged-in user cannot update the item quantities in the cart. Notice: Trying to get property of non-object in D:&#92;wamp&#92;www&#92;hikashop&#92;components&#92;com&#95;hikashop&#92;controllers&#92;cart.php on line 191  At first I thought it was caused from my mistakes during template overriding. But then I did a fresh install of Joomla and Hikashop in another folder just to test around using the default Joomla 2.5.20 theme. The same problem still exists.")*

Hi,

Thanks for the update unfortunately it didn't fix any of the issues you mentioned ![:(](/media/kunena/emoticons/5.png ":(")

We still can't edit the items quantity in the cart and "You are not authorized to see this resource" error when access the cart after logging in still exists.

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

12 years 3 months ago [\#162501](#162501) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Problems related to shopping cart](/forum/3-bug-report/868967-problems-related-to-shopping-cart#162501 "-- url of the page with the problem -- : still in localhost -- HikaShop version -- : HikaShop Essential 2.3.1 -- Joomla version -- : 2.5.20 -- PHP version -- : 5.3.13 -- Browser(s) name and version -- : Any browsers -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Not logged-in user cannot update the item quantities in the cart. Notice: Trying to get property of non-object in D:&#92;wamp&#92;www&#92;hikashop&#92;components&#92;com&#95;hikashop&#92;controllers&#92;cart.php on line 191  At first I thought it was caused from my mistakes during template overriding. But then I did a fresh install of Joomla and Hikashop in another folder just to test around using the default Joomla 2.5.20 theme. The same problem still exists.")*

Hi,

We made some fixes which should solve this issue, this will be available in the next package.

Thanks to contact us via the contact form and give us your order number, this way we will send you a preview package of the next release.

[ hikashop.com/support/contact-us.html](https://hikashop.com/support/contact-us.html)

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

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

Less More

- Posts: 12
- Thank you received: 0
-
-

12 years 3 months ago [\#163751](#163751) by [ylont](/forum/user/32687-ylont "View ylont's Profile")  Replied by *[ylont](/forum/user/32687-ylont "View ylont's Profile")* on topic *[Problems related to shopping cart](/forum/3-bug-report/868967-problems-related-to-shopping-cart#163751 "-- url of the page with the problem -- : still in localhost -- HikaShop version -- : HikaShop Essential 2.3.1 -- Joomla version -- : 2.5.20 -- PHP version -- : 5.3.13 -- Browser(s) name and version -- : Any browsers -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Not logged-in user cannot update the item quantities in the cart. Notice: Trying to get property of non-object in D:&#92;wamp&#92;www&#92;hikashop&#92;components&#92;com&#95;hikashop&#92;controllers&#92;cart.php on line 191  At first I thought it was caused from my mistakes during template overriding. But then I did a fresh install of Joomla and Hikashop in another folder just to test around using the default Joomla 2.5.20 theme. The same problem still exists.")*

Hi there,

I have just downloaded v2.3.2. The "update item quantity in cart bug" still exist no matter logged in or not. Funny thing that when you're not logged in there's a Save button, but not when you're logged in so you need to press Enter instead.

[ d.pr/i/iq9Z](http://d.pr/i/iq9Z)

I didn't test the other bugs mentioned above but this one is really the most annoying one. I tested this on a clean joomla install.

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

12 years 3 months ago [\#163774](#163774) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Problems related to shopping cart](/forum/3-bug-report/868967-problems-related-to-shopping-cart#163774 "-- url of the page with the problem -- : still in localhost -- HikaShop version -- : HikaShop Essential 2.3.1 -- Joomla version -- : 2.5.20 -- PHP version -- : 5.3.13 -- Browser(s) name and version -- : Any browsers -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Not logged-in user cannot update the item quantities in the cart. Notice: Trying to get property of non-object in D:&#92;wamp&#92;www&#92;hikashop&#92;components&#92;com&#95;hikashop&#92;controllers&#92;cart.php on line 191  At first I thought it was caused from my mistakes during template overriding. But then I did a fresh install of Joomla and Hikashop in another folder just to test around using the default Joomla 2.5.20 theme. The same problem still exists.")*

Hi,

Thanks to replace your "cart / showcart" view content by: Code:

&lt;?php $cart_type = JRequest::getString('cart_type','cart'); $cart_id = JRequest::getInt('cart_id',''); $tmpl = JRequest::getString('tmpl','view'); $config = hikashop_config(); global $Itemid; $url_itemid = '&amp;Itemid='.$Itemid; if($cart_type == 'wishlist'){ $addText = JText::_('ADD_TO_CART'); } else{ $addText = JText::_('ADD_TO_WISHLIST'); } $app = JFactory::getApplication(); $session = JFactory::getSession(); $userCurrent = hikashop_loadUser(true); if(isset($userCurrent)) $userCurrent = $userCurrent-&gt;id; else $userCurrent = 0; $hasAccess = $this-&gt;cartVal-&gt;user_id == $userCurrent &#124;&#124; $this-&gt;cartVal-&gt;session_id == $session-&gt;getId(); ?&gt; &lt;form method="POST" id="hikashop_show_cart_form" name="hikashop_show_cart_form" action="&lt;?php echo hikashop_completeLink('cart'.$url_itemid);?&gt;"&gt; &lt;div onload="document.getElementById('task').value='savecart'" id="hikashop_cart_listing"&gt; &lt;?php if($tmpl != 'component'){ ?&gt; &lt;fieldset&gt; &lt;div class="header hikashop_header_title"&gt;&lt;h1&gt;&lt;?php if($cart_type == 'cart')echo JText::_('CARTS');else echo JText::_('WISHLISTS'); ?&gt;&lt;/h1&gt;&lt;/div&gt; &lt;div class="toolbar hikashop_header_buttons" id="toolbar" style="float: right;"&gt; &lt;table class="hikashop_no_border"&gt; &lt;tr&gt; &lt;td&gt; &lt;?php if($cart_type == 'cart' &amp;&amp; $config-&gt;get('enable_multicart')){ ?&gt; &lt;a href="&lt;?php echo hikashop_completeLink('cart&amp;task=showcarts&amp;cart_type='.$cart_type.$url_itemid); ?&gt;"&gt; &lt;span class="icon-32-show_cart" title="&lt;?php echo JText::_('DISPLAY_THE_CARTS'); ?&gt;"&gt; &lt;/span&gt; &lt;?php echo JText::_('DISPLAY_THE_CARTS'); ?&gt; &lt;/a&gt; &lt;?php }elseif($userCurrent == $this-&gt;cartVal-&gt;user_id &amp;&amp; $cart_type == 'wishlist' &amp;&amp; $config-&gt;get('enable_multicart')){ ?&gt; &lt;a href="&lt;?php echo hikashop_completeLink('cart&amp;task=showcarts&amp;cart_type='.$cart_type.$url_itemid); ?&gt;"&gt; &lt;span class="icon-32-show_wishlist" title="&lt;?php echo JText::_('DISPLAY_THE_WISHLISTS'); ?&gt;"&gt; &lt;/span&gt; &lt;?php echo JText::_('DISPLAY_THE_WISHLISTS'); ?&gt; &lt;/a&gt; &lt;?php } ?&gt; &lt;/td&gt; &lt;!-- Wishlist V2 &lt;td&gt; &lt;a title="&lt;?php echo JText::_('HIKA_EMAIL');?&gt;" class="modal" rel="{handler: 'iframe', size: {x: 760, y: 480}}" href="&lt;?php echo hikashop_completeLink('product&amp;task=sendcart',true); ?&gt;"&gt; &lt;img src="&lt;?php echo HIKASHOP_IMAGES; ?&gt;go.png" alt="&lt;?php echo JText::_('HIKA_EMAIL');?&gt;"/&gt; &lt;/a&gt; &lt;/td&gt; --&gt; &lt;td&gt; &lt;?php echo $this-&gt;popup-&gt;display( '&lt;span class="icon-32-print" title="'. JText::_('HIKA_PRINT').'"&gt;&lt;/span&gt;'. JText::_('HIKA_PRINT'), 'HIKA_PRINT', hikashop_completeLink('cart&amp;task=showcart&amp;cart_type='.$cart_type.'&amp;cart_id='.$cart_id,true), 'hikashop_print_cart', 760, 480, '', '', 'link' ); ?&gt; &lt;/td&gt; &lt;?php $session = JFactory::getSession(); if($this-&gt;cartVal-&gt;display &amp;&amp; ($userCurrent == $this-&gt;cartVal-&gt;user_id &#124;&#124; $session-&gt;getId() == $this-&gt;cartVal-&gt;session_id)){ ?&gt; &lt;td&gt; &lt;a href="#" onclick="javascript:document.forms['hikashop_show_cart_form'].submit();"&gt; &lt;span class="icon-32-save" title="&lt;?php echo JText::_('HIKA_SAVE'); ?&gt;"&gt; &lt;/span&gt; &lt;?php echo JText::_('HIKA_SAVE'); ?&gt; &lt;/a&gt; &lt;/td&gt; &lt;?php } ?&gt; &lt;td&gt; &lt;?php if(!$config-&gt;get('enable_multicart')){ ?&gt; &lt;a href="#" onclick="history.back()"&gt; &lt;?php }else{ ?&gt; &lt;a href="&lt;?php echo JRoute::_('index.php?option='.HIKASHOP_COMPONENT.'&amp;ctrl=cart&amp;task=showcarts&amp;cart_type='.$cart_type.$url_itemid); ?&gt;" &gt; &lt;?php } ?&gt; &lt;span class="icon-32-back" title="&lt;?php echo JText::_('HIKA_BACK'); ?&gt;"&gt; &lt;/span&gt; &lt;?php echo JText::_('HIKA_BACK'); ?&gt; &lt;/a&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;/div&gt; &lt;/fieldset&gt; &lt;?php }else{ $js = "window.hikashop.ready( function() {setTimeout(function(){window.focus();window.print();setTimeout(function(){hikashop.closeBox();}, 1000);},1000);});"; $doc = JFactory::getDocument(); $doc-&gt;addScriptDeclaration("\n&lt;!--\n".$js."\n//--&gt;\n"); } if(($this-&gt;cartVal-&gt;display == 'registered' &amp;&amp; $userCurrent == 0) &#124;&#124; ($this-&gt;cartVal-&gt;display == 'link' &amp;&amp; JRequest::getString('link',0) == 0)){ $this-&gt;cartVal-&gt;display = 0; } if(($this-&gt;cartVal-&gt;display &amp;&amp; $cart_type == 'wishlist') &#124;&#124; ($this-&gt;cartVal-&gt;display == 'main' &amp;&amp; $cart_type == 'cart' &amp;&amp; $hasAccess)){ ?&gt; &lt;div class="iframedoc" id="iframedoc"&gt;&lt;/div&gt; &lt;table class="hikashop_showcart_infos table table-striped table-hover" width="100%"&gt; &lt;?php if($userCurrent == $this-&gt;cartVal-&gt;user_id &#124;&#124; $session-&gt;getId() == $this-&gt;cartVal-&gt;session_id){ ?&gt; &lt;tr&gt; &lt;td class="key"&gt; &lt;?php echo JText::_('HIKASHOP_CART_NAME'); ?&gt;: &lt;/td&gt; &lt;td width="60%"&gt; &lt;?php if($tmpl != 'component'){ ?&gt; &lt;input type="text" id="cart_name" name="cart_name" value="&lt;?php echo $this-&gt;cartVal-&gt;cart_name; ?&gt;" class="inputbox"/&gt; &lt;?php }else{ ?&gt; &lt;span id="hikashop_wishlist_name" class="hikashop_wishlist_name"&gt;&lt;?php echo $this-&gt;cartVal-&gt;cart_name; ?&gt;&lt;/span&gt; &lt;?php } ?&gt; &lt;/td&gt; &lt;/tr&gt; &lt;?php } if($cart_type != 'cart' &amp;&amp; ($userCurrent == $this-&gt;cartVal-&gt;user_id &#124;&#124; $session-&gt;getId() == $this-&gt;cartVal-&gt;session_id)){ ?&gt; &lt;tr&gt; &lt;td class="key"&gt; &lt;?php $baseUrl = JURI::base(); $baseUrl .= 'index.php?option=com_hikashop&amp;ctrl='; $token = ""; if($this-&gt;cartVal-&gt;display == 'public'){ $displayLink = JText::_('HIKASHOP_EVERYBODY'); }elseif($this-&gt;cartVal-&gt;display == 'registered'){ $displayLink = JText::_('HIKASHOP_REGISTERED_USERS'); }elseif(!$this-&gt;cartVal-&gt;display &#124;&#124; $this-&gt;cartVal-&gt;display == 'main' &#124;&#124; $this-&gt;cartVal-&gt;display == 'nobody'){ $this-&gt;cartVal-&gt;display = 'nobody'; $displayLink = JText::_('HIKASHOP_NOBODY'); }else{// email $displayLink = JText::_('HIKA_EMAIL'); $token = $this-&gt;cartVal-&gt;display; $this-&gt;cartVal-&gt;display = 'email'; } echo JText::_('SHARE'); ?&gt;: &lt;/td&gt; &lt;td&gt; &lt;span id="hikashop_wishlist_share" class="hikashop_wishlist_share"&gt; &lt;select style="width:145px;" id="hikashop_wishlist_share_select" name="cart_share" onChange="showLink(cart_share.value);"&gt; &lt;option value="&lt;?php echo $this-&gt;cartVal-&gt;display;?&gt;"&gt;&lt;?php echo $displayLink; ?&gt;&lt;/option&gt; &lt;?php if($this-&gt;cartVal-&gt;display != "nobody") echo "&lt;option value='nobody'&gt;".JText::_('HIKASHOP_NOBODY')."&lt;/option&gt;"; if($this-&gt;cartVal-&gt;display != "public") echo "&lt;option value='public'&gt;".JText::_('HIKASHOP_EVERYBODY')."&lt;/option&gt;"; if($this-&gt;cartVal-&gt;display != "registered") echo "&lt;option value='registered'&gt;".JText::_('HIKASHOP_REGISTERED_USERS')."&lt;/option&gt;"; if($this-&gt;cartVal-&gt;display != "email") echo "&lt;option value='email'&gt;".JText::_('HIKA_EMAIL')."&lt;/option&gt;"; ?&gt; &lt;/select&gt; &lt;/span&gt; &lt;span class="hikashop_wishlist_share_text" id="hikashop_wishlist_share_text"&gt;&lt;/span&gt; &lt;/td&gt; &lt;/tr&gt; &lt;script type="text/javascript"&gt; window.onload=function(){ var link = document.getElementById('hikashop_wishlist_link'); var linkDisplay = document.getElementById('hikashop_wishlist_link_display'); var linkDisplayText = document.getElementById('hikashop_wishlist_link_display_text'); var linkShare = document.getElementById('hikashop_wishlist_share'); var linkShareSelect = document.getElementById('hikashop_wishlist_share_select').value; var linkShareText = document.getElementById('hikashop_wishlist_share_text'); if(linkShareSelect == 'public') linkShareText.innerHTML = 'Anybody'; else if(linkShareSelect == 'registered') linkShareText.innerHTML = 'Registered users'; else if(linkShareSelect == 'email') linkShareText.innerHTML = 'E-mail'; else linkShareText.innerHTML = 'Nobody'; if(linkShareSelect == 'email'){ link.style.display="table-row"; if(linkDisplay){ linkDisplay.value = "&lt;?php echo $baseUrl.'cart&amp;task=showcart&amp;cart_id='.$cart_id.'&amp;cart_type='.$cart_type.'&amp;Itemid='.$Itemid.'&amp;link='.$token ?&gt;"; linkShareText.style.display="none"; } if(linkDisplayText){ linkDisplayText.innerHTML = "&lt;?php echo $baseUrl.'cart&amp;task=showcart&amp;cart_id='.$cart_id.'&amp;cart_type='.$cart_type.'&amp;Itemid='.$Itemid.'&amp;link='.$token ?&gt;"; linkShare.style.display="none"; } }else if(linkShareSelect == 'nobody'){ link.style.display="none"; if(linkDisplay){ linkShareText.style.display="none"; }else{ linkShare.style.display="none"; } }else{ link.style.display="table-row"; if(linkDisplay){ linkDisplay.value = "&lt;?php echo $baseUrl.'cart&amp;task=showcart&amp;cart_id='.$cart_id.'&amp;cart_type='.$cart_type.'&amp;Itemid='.$Itemid ?&gt;"; linkShareText.style.display="none"; } if(linkDisplayText){ linkDisplayText.innerHTML = "&lt;?php echo $baseUrl.'cart&amp;task=showcart&amp;cart_id='.$cart_id.'&amp;cart_type='.$cart_type.'&amp;Itemid='.$Itemid ?&gt;"; linkShare.style.display="none"; } } } function showLink(share){ var link = document.getElementById('hikashop_wishlist_link'); var linkShareText = document.getElementById('hikashop_wishlist_share_text'); link.style.display="none"; var linkDisplay = document.getElementById('hikashop_wishlist_link_display'); var linkDisplayText = document.getElementById('hikashop_wishlist_link_display_text'); if(share == 'public') linkShareText.innerHTML = 'Anybody'; else if(share == 'registered') linkShareText.innerHTML = 'Registered users'; else if(share == 'email') linkShareText.innerHTML = 'E-mail'; else linkShareText.innerHTML = 'Nobody'; if(share == 'public' &#124;&#124; share == 'registered'){ if(linkDisplay) linkDisplay.value = "&lt;?php echo $baseUrl.'cart&amp;task=showcart&amp;cart_id='.$cart_id.'&amp;cart_type='.$cart_type.'&amp;Itemid='.$Itemid ?&gt;"; if(linkDisplayText) linkDisplayText.innerHTML = "&lt;?php echo $baseUrl.'cart&amp;task=showcart&amp;cart_id='.$cart_id.'&amp;cart_type='.$cart_type.'&amp;Itemid='.$Itemid ?&gt;"; link.style.display="table-row"; } else if(share == 'email'){ &lt;?php $chaine = "abcdefghijklmnpqrstuvwxy0123456789"; srand((double)microtime()*1000000); for($i=0; $i&lt;20; $i++) { $token .= $chaine[rand()%strlen($chaine)]; } $tokenLink = '&amp;link='.$token; ?&gt; if(linkDisplay) linkDisplay.value = "&lt;?php echo $baseUrl.'cart&amp;task=showcart&amp;cart_id='.$cart_id.'&amp;cart_type='.$cart_type.'&amp;Itemid='.$Itemid.$tokenLink ?&gt;"; if(linkDisplayText) linkDisplayText.innerHTML = "&lt;?php echo $baseUrl.'cart&amp;task=showcart&amp;cart_id='.$cart_id.'&amp;cart_type='.$cart_type.'&amp;Itemid='.$Itemid.$tokenLink ?&gt;"; link.style.display="table-row"; } else{ link.style.display="none"; } link.focus(); } &lt;/script&gt; &lt;input type="hidden" name="hikashop_wishlist_token" value="&lt;?php echo $token; ?&gt;"/&gt; &lt;tr width="100%" id='hikashop_wishlist_link' style="display:none;"&gt; &lt;td class="key"&gt; &lt;span class="hikashop_wishlist_link_text"&gt;&lt;?php echo JText::_('HIKASHOP_WISHLIST_LINK'); ?&gt;:&lt;/span&gt; &lt;/td&gt; &lt;?php if($tmpl != 'component'){ ?&gt; &lt;td width="60%"&gt; &lt;input onClick="javascript:this.focus();this.select();" style="width:100%;" readonly="readonly" type="text" id="hikashop_wishlist_link_display" name="hikashop_wishlist_link_display" value=""/&gt; &lt;/td&gt; &lt;/tr&gt; &lt;?php }else{ ?&gt; &lt;tr&gt;&lt;td colspan="2"&gt;&lt;span class="hikashop_wishlist_link_display_text" id="hikashop_wishlist_link_display_text"&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt; &lt;?php } ?&gt; &lt;?php } ?&gt; &lt;/table&gt; &lt;table id="hikashop_cart_product_listing" class="hikashop_cart_products adminlist table table-striped table-hover" cellpadding="1"&gt; &lt;thead&gt; &lt;tr&gt; &lt;th class="hikashop_cart_num_title title titlenum" align="center"&gt; &lt;?php echo JText::_( 'HIKA_NUM' );?&gt; &lt;/th&gt; &lt;th class="hikashop_cart_image_title title" align="center"&gt; &lt;?php echo JText::_( 'HIKA_IMAGE' );?&gt; &lt;/th&gt; &lt;th class="hikashop_cart_name_title title" align="center"&gt; &lt;?php echo JText::_('CART_PRODUCT_NAME'); ?&gt; &lt;/th&gt; &lt;th class="hikashop_cart_quantity_title title" align="center"&gt; &lt;?php echo JText::_('PRODUCT_QUANTITY'); ?&gt; &lt;/th&gt; &lt;th class="hikashop_cart_price_title title" align="center"&gt; &lt;?php echo JText::_('PRODUCT_PRICE'); ?&gt; &lt;/th&gt; &lt;th class="hikashop_cart_status_title title" align="center"&gt; &lt;?php echo JText::_('HIKASHOP_CHECKOUT_STATUS'); ?&gt; &lt;/th&gt; &lt;?php if($tmpl != 'component' &amp;&amp; hikashop_level(1) &amp;&amp; (($this-&gt;config-&gt;get('enable_wishlist') &amp;&amp; $cart_type == 'cart')&#124;&#124;$cart_type == 'wishlist')){ ?&gt; &lt;th class="hikashop_cart_action_title title" align="center"&gt; &lt;a style="cursor: pointer;" onClick="checkAll();"&gt;&lt;?php echo JText::_('HIKASHOP_ADD_TO'); ?&gt;&lt;/a&gt; &lt;/th&gt; &lt;th class="hikashop_cart_delete_title title" align="center"&gt; &lt;?php echo JText::_('HIKA_DELETE'); ?&gt; &lt;/th&gt; &lt;?php } ?&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody&gt; &lt;?php $app = JFactory::getApplication(); $config =&amp; hikashop_config(); $i = 1; $k = 1; $total_quantity = 0; if(!empty($this-&gt;rows)){ $productClass = hikashop_get('class.product'); $group = $this-&gt;config-&gt;get('group_options',0); foreach($this-&gt;rows as $cart){ if($group &amp;&amp; $cart-&gt;cart_product_option_parent_id) continue; if(!@$cart-&gt;hide){ $total_quantity += $cart-&gt;cart_product_quantity; $productClass-&gt;addAlias($cart); $quantityLeft = $cart-&gt;product_quantity - $cart-&gt;cart_product_quantity; $inStock = 1; if(($cart-&gt;product_quantity - $cart-&gt;cart_product_quantity) &gt;= 0 &#124;&#124; $cart-&gt;product_quantity == -1){ if($cart-&gt;product_quantity == -1) $stockText = "&lt;span class='hikashop_green_color'&gt;".JText::sprintf('X_ITEMS_IN_STOCK',JText::_('HIKA_UNLIMITED'))."&lt;/span&gt;"; else $stockText = "&lt;span class='hikashop_green_color'&gt;".JText::sprintf('X_ITEMS_IN_STOCK',$cart-&gt;product_quantity)."&lt;/span&gt;"; }else{ if($cart-&gt;product_code != @$cart-&gt;cart_product_code){ $stockText = "&lt;span class='hikashop_red_color'&gt;".JText::_('HIKA_NOT_SALE_ANYMORE'). "&lt;/span&gt;"; }else{ $stockText = "&lt;span class='hikashop_red_color'&gt;".JText::_('NOT_ENOUGH_STOCK')."&lt;/span&gt;"; } $inStock = 0; } if($k ==1)$k = 0;else $k =1; ?&gt; &lt;tr class="hikashop_show_cart row&lt;?php echo $k; if((int)$cart-&gt;cart_product_quantity == 0) echo " hika_wishlist_green";?&gt;"&gt; &lt;td data-title="&lt;?php echo JText::_('HIKA_NUM'); ?&gt;" align="center"&gt;&lt;?php echo $i; ?&gt;&lt;/td&gt; &lt;td data-title="&lt;?php echo JText::_('HIKA_IMAGE'); ?&gt;" align="center"&gt; &lt;?php $width = (int)$this-&gt;config-&gt;get('thumbnail_x'); $height = (int)$this-&gt;config-&gt;get('thumbnail_y'); if(isset($cart-&gt;images[0])){ $image_options = array('default' =&gt; true,'forcesize'=&gt;$this-&gt;config-&gt;get('image_force_size',true),'scale'=&gt;$this-&gt;config-&gt;get('image_scale_mode','inside')); $img = $this-&gt;image-&gt;getThumbnail(@$cart-&gt;images[0]-&gt;file_path, array('width' =&gt; $width, 'height' =&gt; $height), $image_options); if($img-&gt;success) { echo '&lt;img class="hikashop_product_cart_image" title="'.$this-&gt;escape(@$cart-&gt;images[0]-&gt;file_description).'" alt="'.$this-&gt;escape(@$cart-&gt;images[0]-&gt;file_name).'" src="'.$img-&gt;url.'"/&gt;'; } } //echo '&lt;img src="' . $this-&gt;image-&gt;uploadFolder_url.'thumbnail_'.$width.'x'.$height.'/'.$cart-&gt;images[0]-&gt;file_path . '" alt="' . $cart-&gt;images[0]-&gt;file_name . '" id="hikashop_main_image" style="margin-top:10px;margin-bottom:10px;display:inline-block;vertical-align:middle" /&gt;'; ?&gt; &lt;/td&gt; &lt;td data-title="&lt;?php echo JText::_('CART_PRODUCT_NAME'); ?&gt;" align="center"&gt; &lt;a class="hikashop_no_print" href="&lt;?php echo hikashop_contentLink('product&amp;task=show&amp;cid='.$cart-&gt;product_id.'&amp;name='.$cart-&gt;alias.'&amp;Itemid='.$Itemid,$cart); ?&gt;"&gt; &lt;?php if(!isset($cart-&gt;bought) &#124;&#124; !$cart-&gt;bought){ echo $cart-&gt;product_name; }else{ echo JHTML::tooltip(implode('&lt;br /&gt;',$cart-&gt;bought), JText::_('HIKA_BOUGHT_BY'), '',$cart-&gt;product_name); } if($this-&gt;params-&gt;get('show_code')){ echo ' ('.$cart-&gt;product_code.')'; } ?&gt; &lt;/a&gt; &lt;?php $input=''; if($group){ foreach($this-&gt;rows as $j =&gt; $optionElement){ if($optionElement-&gt;cart_product_option_parent_id != $cart-&gt;cart_product_id) continue; ?&gt; &lt;p class="hikashop_cart_option_name"&gt; &lt;?php echo $optionElement-&gt;product_name; ?&gt; &lt;/p&gt; &lt;?php $input .='document.getElementById(\'cart_product_option_'.$optionElement-&gt;cart_product_id.'\').value=qty_field.value;'; echo '&lt;input type="hidden" id="cart_product_option_'.$optionElement-&gt;cart_product_id.'" name="item['.$optionElement-&gt;cart_product_id.'][cart_product_quantity]" value="'.$cart-&gt;cart_product_quantity.'"/&gt;'; } foreach($this-&gt;rows as $j =&gt; $optionElement){ if($optionElement-&gt;cart_product_option_parent_id != $cart-&gt;cart_product_id) continue; if(!empty($optionElement-&gt;prices[0])){ if(!isset($cart-&gt;prices[0])){ $cart-&gt;prices[0]-&gt;price_value=0; $cart-&gt;prices[0]-&gt;price_value_with_tax=0; $cart-&gt;prices[0]-&gt;price_currency_id = hikashop_getCurrency(); } foreach(get_object_vars($cart-&gt;prices[0]) as $key =&gt; $value){ if(is_object($value)){ foreach(get_object_vars($value) as $key2 =&gt; $var2){ if(strpos($key2,'price_value')!==false) $cart-&gt;prices[0]-&gt;$key-&gt;$key2 +=@$optionElement-&gt;prices[0]-&gt;$key-&gt;$key2; } }else{ if(strpos($key,'price_value')!==false) $cart-&gt;prices[0]-&gt;$key+=@$optionElement-&gt;prices[0]-&gt;$key; } } } } } ?&gt; &lt;/td&gt; &lt;td data-title="&lt;?php echo JText::_('PRODUCT_QUANTITY'); ?&gt;" align="center"&gt; &lt;?php if($cart-&gt;product_quantity_layout == 'show_select' &#124;&#124; (empty($cart-&gt;product_quantity_layout) &amp;&amp; $this-&gt;config-&gt;get('product_quantity_display', '') == 'show_select')){ $min_quantity = $cart-&gt;product_min_per_order; $max_quantity = $cart-&gt;product_max_per_order; if($min_quantity == 0) $min_quantity = 1; if($max_quantity == 0) $max_quantity = (int)$min_quantity * 15; ?&gt; &lt;select id="hikashop_showcart_quantity_select_&lt;?php echo $cart-&gt;cart_product_id;?&gt;" class="tochosen" onchange="var qty_field = document.getElementById('hikashop_product_quantity_field_&lt;?php echo $cart-&gt;product_id;?&gt;'); qty_field.value = this.value; if (qty_field){&lt;?php echo $input; ?&gt; } return false;"&gt; &lt;?php for($j = $min_quantity; $j &lt;= $max_quantity; $j += $min_quantity){ $selected = ''; if($j == $cart-&gt;cart_product_quantity) $selected = 'selected="selected"'; echo '&lt;option value="'.$j.'" '.$selected.'&gt;'.$j.'&lt;/option&gt;'; } ?&gt; &lt;/select&gt; &lt;input id="hikashop_product_quantity_field_&lt;?php echo $cart-&gt;product_id;?&gt;" type="hidden" name="item[&lt;?php echo $cart-&gt;cart_product_id;?&gt;]" class="hikashop_show_cart_quantity" value="&lt;?php echo $cart-&gt;cart_product_quantity; ?&gt;" /&gt; &lt;?php }else{ ?&gt; &lt;input id="hikashop_product_quantity_field_&lt;?php echo $cart-&gt;product_id;?&gt;" type="text" name="item[&lt;?php echo $cart-&gt;cart_product_id;?&gt;]" class="hikashop_show_cart_quantity" value="&lt;?php echo $cart-&gt;cart_product_quantity; ?&gt;" /&gt; &lt;?php } ?&gt; &lt;/td&gt; &lt;td data-title="&lt;?php echo JText::_('PRODUCT_PRICE'); ?&gt;" align="center"&gt; &lt;?php if(!isset($cart-&gt;prices[0])){ $cart-&gt;prices[0] = new stdClass(); $cart-&gt;prices[0]-&gt;price_value=0; $cart-&gt;prices[0]-&gt;price_value_with_tax=0; $cart-&gt;prices[0]-&gt;price_currency_id = hikashop_getCurrency(); } if($this-&gt;params-&gt;get('show_cart_price','-1')=='-1'){ $this-&gt;params-&gt;set('show_cart_price',$config-&gt;get('show_cart_price')); } if ($this-&gt;params-&gt;get('show_cart_price',1)) { if(empty($cart-&gt;prices[0]-&gt;price_value)){ echo JText::_('FREE_PRICE'); }else{ if($config-&gt;get('price_with_tax')){ echo $this-&gt;currencyHelper-&gt;format($cart-&gt;prices[0]-&gt;price_value_with_tax,$cart-&gt;prices[0]-&gt;price_currency_id); } if($config-&gt;get('price_with_tax')==2){ echo JText::_('PRICE_BEFORE_TAX'); } if($config-&gt;get('price_with_tax')==2&#124;&#124;!$config-&gt;get('price_with_tax')){ echo $this-&gt;currencyHelper-&gt;format($cart-&gt;prices[0]-&gt;price_value,$cart-&gt;prices[0]-&gt;price_currency_id); } if($config-&gt;get('price_with_tax')==2){ echo JText::_('PRICE_AFTER_TAX'); } } } ?&gt; &lt;/td&gt; &lt;td data-title="&lt;?php echo JText::_('HIKASHOP_CHECKOUT_STATUS'); ?&gt;" align="center"&gt;&lt;?php echo $stockText;?&gt;&lt;/td&gt; &lt;?php if($tmpl != 'component'){ if(hikashop_level(1) &amp;&amp; (($this-&gt;config-&gt;get('enable_wishlist') &amp;&amp; $cart_type == 'cart')&#124;&#124;$cart_type == 'wishlist')){ ?&gt; &lt;td data-title="&lt;?php echo JText::_('HIKASHOP_ADD_TO'); ?&gt;" align="center" class="hikashop_show_cart_add"&gt; &lt;?php // $cartAjax = 'if(hikashopCheckChangeForm(\'item\',\'hikashop_show_cart_form\')){ return hikashopModifyQuantity(\'' . $cart-&gt;product_id . '\',document.getElementById(\'hikashop_product_quantity_field_'.$cart-&gt;product_id.'\'),1,\'hikashop_show_cart_form\',\'wishlist\'); } else { return false; }'; // $wishlistAjax = 'if(hikashopCheckChangeForm(\'item\',\'hikashop_show_cart_form\')){ return hikashopModifyQuantity(\'' . $cart-&gt;product_id . '\',document.getElementById(\'hikashop_product_quantity_field_'.$cart-&gt;product_id.'\'),1,\'hikashop_show_cart_form\',\'cart\'); } else { return false; }'; // if($inStock ==1){ // $url = ''; // $this-&gt;params-&gt;set('show_quantity_field',2); // if($cart_type == 'wishlist'){ // $this-&gt;ajax = $wishlistAjax; // echo $this-&gt;cart-&gt;displayButton(JText::_('ADD_TO_CART'),'add',$this-&gt;params,$url,$this-&gt;ajax,'',$cart-&gt;product_max_per_order,$cart-&gt;product_min_per_order); // }else{ // $this-&gt;ajax = $cartAjax; // echo $this-&gt;cart-&gt;displayButton(JText::_('ADD_TO_WISHLIST'),'add',$this-&gt;params,$url,$this-&gt;ajax,'',$cart-&gt;product_max_per_order,$cart-&gt;product_min_per_order); // } // } ?&gt; &lt;input type="checkbox" name="data[products][&lt;?php echo $cart-&gt;product_id;?&gt;][checked]" value="1"/&gt; &lt;/td&gt; &lt;?php } if($userCurrent == $this-&gt;cartVal-&gt;user_id &#124;&#124; $session-&gt;getId() == $this-&gt;cartVal-&gt;session_id){ ?&gt; &lt;td data-title="&lt;?php echo JText::_('HIKA_DELETE'); ?&gt;" align="center" class="hikashop_show_cart_delete"&gt; &lt;a class="hikashop_no_print" href="&lt;?php echo hikashop_completeLink('product&amp;task=updatecart&amp;stay=1&amp;delete=1&amp;quantity=0&amp;cart_type='.$cart_type.'&amp;cart_id='.$cart-&gt;cart_id.'&amp;cart_product_id='.$cart-&gt;cart_product_id.'&amp;Itemid='.$Itemid); ?&gt;" title="&lt;?php echo JText::_('HIKA_DELETE'); ?&gt;"&gt; &lt;img src="&lt;?php echo HIKASHOP_IMAGES . 'delete2.png';?&gt;" border="0" alt="&lt;?php echo JText::_('HIKA_DELETE'); ?&gt;" /&gt; &lt;/a&gt; &lt;/td&gt; &lt;?php } } ?&gt; &lt;/tr&gt; &lt;?php $i++; } } if($cart_type == 'wishlist') echo '&lt;input type="hidden" name="add_to" value="cart"/&gt;'; else echo '&lt;input type="hidden" name="add_to" value="wishlist"/&gt;'; } ?&gt; &lt;/tbody&gt; &lt;tfoot&gt; &lt;tr class="hika_show_cart_total"&gt; &lt;td class="hika_show_cart_total_text"&gt; &lt;?php echo JText::_('HIKASHOP_TOTAL'); ?&gt; &lt;/td&gt; &lt;td&gt;&lt;/td&gt; &lt;td align="center" class="hika_show_cart_total_quantity"&gt; &lt;?php echo $total_quantity; ?&gt; &lt;/td&gt; &lt;td align="center" class="hika_show_cart_total_price"&gt; &lt;?php if(empty($this-&gt;total-&gt;prices)) { $this-&gt;total-&gt;prices[0] = new stdClass(); $this-&gt;total-&gt;prices[0]-&gt;price_value = 0; $this-&gt;total-&gt;prices[0]-&gt;price_value_with_tax = 0; $this-&gt;total-&gt;prices[0]-&gt;price_currency_id = hikashop_getCurrency(); } if($config-&gt;get('price_with_tax')){ echo $this-&gt;currencyHelper-&gt;format($this-&gt;total-&gt;prices[0]-&gt;price_value_with_tax,$this-&gt;total-&gt;prices[0]-&gt;price_currency_id); } if($config-&gt;get('price_with_tax')==2){ echo JText::_('PRICE_BEFORE_TAX'); } if($config-&gt;get('price_with_tax')==2&#124;&#124;!$config-&gt;get('price_with_tax')){ echo $this-&gt;currencyHelper-&gt;format($this-&gt;total-&gt;prices[0]-&gt;price_value,$this-&gt;total-&gt;prices[0]-&gt;price_currency_id); } if($config-&gt;get('price_with_tax')==2){ echo JText::_('PRICE_AFTER_TAX'); } ?&gt; &lt;/td&gt; &lt;?php if($tmpl != 'component'){ ?&gt; &lt;td&gt;&lt;/td&gt; &lt;?php if(hikashop_level(1) &amp;&amp; (($this-&gt;config-&gt;get('enable_wishlist') &amp;&amp; $cart_type == 'cart')&#124;&#124;$cart_type == 'wishlist')){ ?&gt; &lt;td align="center"&gt; &lt;?php echo $this-&gt;cart-&gt;displayButton($addText,'wishlist',$this-&gt;params,hikashop_completeLink('cart&amp;task=convert&amp;cart_type=cart&amp;cart_id='.$cart_id.'&amp;Itemid='.$Itemid),'document.getElementById(\'task\').value = \'addtocart\'; document.forms[\'hikashop_show_cart_form\'].submit(); return false;'); if($cart_type == 'wishlist' &amp;&amp; $config-&gt;get('show_compare',0) != 0 &amp;&amp; $config-&gt;get('wishlist_to_compare',0) != 0) echo $this-&gt;cart-&gt;displayButton(JText::_('HIKASHOP_COMPARE_LIST'),'wishlist',$this-&gt;params,'','document.getElementById(\'task\').value = \'addtocart\'; document.getElementById(\'action\').value = \'compare\'; document.forms[\'hikashop_show_cart_form\'].submit(); return false;'); ?&gt; &lt;/td&gt; &lt;?php } ?&gt; &lt;td&gt;&lt;/td&gt; &lt;?php } ?&gt; &lt;/tr&gt; &lt;/tfoot&gt; &lt;/table&gt; &lt;?php if($cart_type == 'cart' &amp;&amp; $total_quantity &gt; 0 &amp;&amp; hikashop_level(1) &amp;&amp; $this-&gt;config-&gt;get('enable_wishlist')&amp;&amp;$tmpl != 'component'){ //$baseUrl = JURI::base(); //echo '&lt;a class="hikashop_cart_button" href="'.$baseUrl.'/index.php?option=com_hikashop&amp;ctrl=cart&amp;task=convert&amp;cart_type=cart&amp;Itemid=64"&gt;Convert cart in wishlist&lt;/a&gt;'; $this-&gt;params-&gt;set('cart_type','wishlist'); echo $this-&gt;cart-&gt;displayButton(JText::_('CART_TO_WISHLIST'),'wishlist',$this-&gt;params,hikashop_completeLink('cart&amp;task=convert&amp;cart_type=cart&amp;cart_id='.$cart_id.'&amp;Itemid='.$Itemid),'window.location.href = \''.hikashop_completeLink('cart&amp;task=convert&amp;cart_type=cart&amp;cart_id='.$cart_id.'&amp;Itemid='.$Itemid).'\';return false;'); } }else{ echo "&lt;div class='hikashop_not_authorized'&gt;".JText::_('HIKASHOP_NOT_AUTHORIZED')."&lt;/div&gt;"; } ?&gt; &lt;/div&gt; &lt;div class="clear_both"&gt;&lt;/div&gt; &lt;input type="hidden" id="task" name="task" value="savecart"/&gt; &lt;input type="hidden" name="cid" value=""/&gt; &lt;input type="hidden" name="cart_id" value="&lt;?php echo $cart_id; ?&gt;"/&gt; &lt;input type="hidden" name="from_id" value="&lt;?php echo $cart_id; ?&gt;"/&gt; &lt;input type="hidden" name="cart_type" value="&lt;?php echo $cart_type; ?&gt;"/&gt; &lt;input type="hidden" id="action" name="action" value=""/&gt; &lt;/form&gt;

Replace: Code:

if($cartInfo != null &amp;&amp; $currUser-&gt;user_cms_id == $cartInfo-&gt;user_id){

By: Code:

if($cartInfo != null &amp;&amp; ((isset($currUser-&gt;user_cms_id) &amp;&amp; $currUser-&gt;user_cms_id == $cartInfo-&gt;user_id) &#124;&#124; $session-&gt;getId() == $cartInfo-&gt;session_id)){

In "components/com_hikashop/controllers/cart" function "savecart()".

That should solve your issues.

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

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

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

Less More

- Posts: 12
- Thank you received: 0
-
-

12 years 3 months ago [\#163898](#163898) by [ylont](/forum/user/32687-ylont "View ylont's Profile")  Replied by *[ylont](/forum/user/32687-ylont "View ylont's Profile")* on topic *[Problems related to shopping cart](/forum/3-bug-report/868967-problems-related-to-shopping-cart#163898 "-- url of the page with the problem -- : still in localhost -- HikaShop version -- : HikaShop Essential 2.3.1 -- Joomla version -- : 2.5.20 -- PHP version -- : 5.3.13 -- Browser(s) name and version -- : Any browsers -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Not logged-in user cannot update the item quantities in the cart. Notice: Trying to get property of non-object in D:&#92;wamp&#92;www&#92;hikashop&#92;components&#92;com&#95;hikashop&#92;controllers&#92;cart.php on line 191  At first I thought it was caused from my mistakes during template overriding. But then I did a fresh install of Joomla and Hikashop in another folder just to test around using the default Joomla 2.5.20 theme. The same problem still exists.")*

Thank you very much. This fix works.

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

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

Less More

- Posts: 2697
- Thank you received: 74
-
-

12 years 3 months ago [\#163908](#163908) by [erickb](/forum/user/4069-erickb "View erickb's Profile")  Replied by *[erickb](/forum/user/4069-erickb "View erickb's Profile")* on topic *[Problems related to shopping cart](/forum/3-bug-report/868967-problems-related-to-shopping-cart#163908 "-- url of the page with the problem -- : still in localhost -- HikaShop version -- : HikaShop Essential 2.3.1 -- Joomla version -- : 2.5.20 -- PHP version -- : 5.3.13 -- Browser(s) name and version -- : Any browsers -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Not logged-in user cannot update the item quantities in the cart. Notice: Trying to get property of non-object in D:&#92;wamp&#92;www&#92;hikashop&#92;components&#92;com&#95;hikashop&#92;controllers&#92;cart.php on line 191  At first I thought it was caused from my mistakes during template overriding. But then I did a fresh install of Joomla and Hikashop in another folder just to test around using the default Joomla 2.5.20 theme. The same problem still exists.")*

another bug

when adding a product in the cart I get the message the cart is empty, after a few try it works

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

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

[](#top)
