Cart empty after adding many positions

02.05.2016 22:30
#1
jerry2014
Joomshopping forum user no avatar
Name: jerry2014
13.09.2014
Posts: 102
Quote
Cart empty after adding many positions (Cart save and persistent cart problem)

The cart is empty after adding many positions with cart save or persistent cart.

Problem 1 persistent cart:

Adding many positions to cart: cart is empty


Problem 2 cart save:

We tried cart save addon instead (persistent cart disabled).
Same here: The cart is saved and listed in backend with few products.
But with many products: Cart is empty in backend and in frontend after logout/login from customer.


Last change: 03.05.2016 04:33
 
03.05.2016 04:10
#2
jerry2014
Joomshopping forum user no avatar
Name: jerry2014
13.09.2014
Posts: 102
Quote
Aw: Cart empty after adding many positions

Solution for empty cart with many products:

Change field type in database with phpmyadmin. A mysql text-type has max length 64kb (containing utf8 21kb). Full cart with lots of products (50-150) is to big to save and cart goes empty. Changing the fields to mediumtext does the job. It can contain 16mb max (utf8 5mb).

Change in table #__jshopping_cart_temp the column "cart" from text to mediumtext

Persistent cart:
Change in table #__jshopping_persistent_carts the column "cart" from text to mediumtext

Cart save:
Change in table #__jshopping_cart_for_user the column "products" from text to mediumtext



Feature for cart save:
It would be nice if attributes and freeattributes are shown in backend too in the cart.

Webdesigner, can you help me? What do I have to add after line 65 in cart_content.php?


Last change: 03.05.2016 05:20
 
03.05.2016 09:11
#3
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25857
Quote
Aw: Cart empty after adding many positions

Attributes / fre attributes added in
Cart save 1.5.1

 
04.05.2016 00:07
#4
jerry2014
Joomshopping forum user no avatar
Name: jerry2014
13.09.2014
Posts: 102
Quote
Aw: Cart empty after adding many positions

Thank you for changes! Remember that it would be better whem you change the type fields above.

 
11.05.2016 14:26
#5
sulpheraas
Joomshopping forum user no avatar
Name: Eugene
11.07.2008
Posts: 56
Quote
Aw: Cart empty after adding many positions

Hello,
I have the same issue. Items disappearing from the cart during the session.

Ill try this solution: https://www.webdesigner-profi.de/joomla-webdesign/joomla-shop/forum/posts/11/10889.html?lang=en#2

But can I ask will you officially update required tables in further minor version of JoomShopping?

Thanks.

addon_jshopping_persistent_carts_1.0.4
addon_jshopping_save_cart_1.5.0


Joomla: 3.5.0
JoomShopping: 4.12.3
PHP: 7.0.6
MySQL: 5.5.37-MariaDB-wsrep

Last change: 11.05.2016 14:26
 
11.05.2016 15:05
#6
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25857
Quote
Aw: Cart empty after adding many positions

No.

 
11.05.2016 15:23
#7
sulpheraas
Joomshopping forum user no avatar
Name: Eugene
11.07.2008
Posts: 56
Quote
Aw: Cart empty after adding many positions

Why not? Commercial add-on must work correctly by default without manual patches of the tables.

 
11.05.2016 15:41
#8
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25857
Quote
Aw: Cart empty after adding many positions

Addon yes.
Joomshopping no.

 
11.05.2016 15:43
#9
sulpheraas
Joomshopping forum user no avatar
Name: Eugene
11.07.2008
Posts: 56
Quote
Aw: Cart empty after adding many positions

I see a new update of this add-on. Should I update JoomShopping tables as it is written above or it's enough just to install the latest version of the add-on and the problem will be solved?

 
11.05.2016 15:45
#10
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25857
Quote
Aw: Cart empty after adding many positions

Will be latter new version addons.

 
05.06.2016 12:39
#11
jerry2014
Joomshopping forum user no avatar
Name: jerry2014
13.09.2014
Posts: 102
Quote
Aw: Cart empty after adding many positions

It is fixed with cart save 1.5.2 and persiatent cart 1.0.5 (the tables above are changed with this updates)


Last change: 05.06.2016 12:41
 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.