Post by caffreys79 » Sun Jul 09, 2023 3:59 pm

latest version 4.0.2.2 has an annoying bug. (it doesn't happen on 4.0.2.1) so im stickin with 4.0.2.1 for live store.
default theme, clean install version 4.0.2.2
add some items to your basket then go to SHOPPING CART PAGE where you can REMOVE or change quantity and update...
if you PRESS REMOVE OR UPDATE on any product (whether changing quantity or not) then the COMPLETE CART is ERASED and you have to ADD ALL AGAIN
i rechecked on 4.0.2.1 and it doesnt do this, maybe we could replace the file controlling this with the file from 4.0.2.1 ???
i tried some things but couldnt get it to work.
Note it only affects the actual PAGE index.php?route=checkout/cart&language=en-gb
It doesent affect the REMOVE button on the little popup box when you click on the mini cart button (top right black button)

Newbie

Posts

Joined
Mon May 02, 2022 8:17 am

Post by Johnathan » Sun Jul 09, 2023 10:51 pm

I can confirm this bug. It's already reported on github, so hopefully Daniel will release a 4.0.2.3 with some fixes soon.

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by MaxD » Thu Jul 13, 2023 4:29 pm

In catalog/controller/startup/language.php line 7 change

Code: Select all

if (isset($this->request->get['language'])) {
to

Code: Select all

if (!empty($this->request->get['language'])) {

User avatar
Active Member

Posts

Joined
Fri Jul 06, 2012 6:37 pm


Post by JNeuhoff » Thu Jul 13, 2023 4:43 pm

caffreys79 wrote:
Sun Jul 09, 2023 3:59 pm
latest version 4.0.2.2 has an annoying bug. (it doesn't happen on 4.0.2.1) so im stickin with 4.0.2.1 for live store.
default theme, clean install version 4.0.2.2
add some items to your basket then go to SHOPPING CART PAGE where you can REMOVE or change quantity and update...
if you PRESS REMOVE OR UPDATE on any product (whether changing quantity or not) then the COMPLETE CART is ERASED and you have to ADD ALL AGAIN
i rechecked on 4.0.2.1 and it doesnt do this, maybe we could replace the file controlling this with the file from 4.0.2.1 ???
i tried some things but couldnt get it to work.
Note it only affects the actual PAGE index.php?route=checkout/cart&language=en-gb
It doesent affect the REMOVE button on the little popup box when you click on the mini cart button (top right black button)
This is already fixed in the master branch.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by siteadvice » Tue Jan 16, 2024 2:11 am

MaxD wrote:
Thu Jul 13, 2023 4:29 pm
In catalog/controller/startup/language.php line 7 change

Code: Select all

if (isset($this->request->get['language'])) {
to

Code: Select all

if (!empty($this->request->get['language'])) {
Very helpful - thanks!

inframes.com Website Design with Opencart, Wordpress, Lucee and bespoke application design and development


User avatar
New member

Posts

Joined
Mon Oct 24, 2011 8:12 pm
Who is online

Users browsing this forum: No registered users and 1 guest