Page 1 of 1

Losing Options when multiple items added to Cart

Posted: Mon Nov 21, 2016 4:45 am
by ChrisEvans
Hi all,

Opencart 2.2.0.0

I have recentely been having issues where Options are lost when another item is added to cart. If i enter my product options and add the item to cart its fine, but If i add a second item that has options, some of the options on the first item are lost, and so on if I add a third item with options, the second item loses info. You can try this yourself here.

http://www.vickievans.co.uk/embroidered ... text-image

Specifically it is information held in a textarea as other options are not affected. The error log is clear.

I look forward to your responses. Thanks

Re: Losing Options when multiple items added to Cart

Posted: Mon Nov 21, 2016 5:55 am
by artcore
Sounds to me like a php_max_input_vars issue. Do a search on the forum/google on how to raise it from the default 1000 via php.ini or htaccess. (on phone right now ;) )

Re: Losing Options when multiple items added to Cart

Posted: Mon Nov 21, 2016 5:12 pm
by thekrotek
artcore wrote:Sounds to me like a php_max_input_vars issue. Do a search on the forum/google on how to raise it from the default 1000 via php.ini or htaccess. (on phone right now ;) )
It's definitely not php_max_input_vars issue, because not much info is posted here.
ChrisEvans wrote:Specifically it is information held in a textarea as other options are not affected. The error log is clear.
I've added a couple products to cart on your site and indeed only textarea is missing. Might be an OpenCart or your template's bug. I'd suggest you to install a clean instance of OpenCart and try to reproduce the issue. It you succeed, then it's OpenCart bug, if you fail - template's. Then just contact template developer and ask him to look into this.

Re: Losing Options when multiple items added to Cart

Posted: Mon Nov 21, 2016 5:51 pm
by artcore
You're right. I confused it with saving options from admin.

Re: Losing Options when multiple items added to Cart

Posted: Tue Nov 22, 2016 5:28 am
by ChrisEvans
Thanks thekrotek and artcore for your responses.

With it being the run up to christmas i'm reluctant to start re installing opencart, so I'l have to persevere until a later date.