Post by lu8ino » Mon Feb 17, 2025 6:30 pm

opencart 4.0.2.3
php8.1
if user is not registered or sending order as guest for of custom field stored in DB is different and then these custom field are not visible (example ICO, DIC, text fields)

registered used format of custom field in Database:
{"29":"12345678","30":"9874562","31":"SK451278"}

guest :
{"address":{"29":"123456787","30":"12345678","31":"SK000101101"}}

Attachments

customFields.png

customFields.png (20.9 KiB) Viewed 2168 times


Newbie

Posts

Joined
Mon Feb 17, 2025 6:24 pm

Post by knowband.plugins » Tue Feb 25, 2025 9:14 pm

Hi,

We have checked the behaviour on the default Opencart Store (Version 4.0.2.3) and the feature is not working on the default checkout with the default Shipping Method and Payment Method as well.

We are not sure why the process of saving the data in the Custom Field is different when we are doing the Guest Checkout or Checkout with the Registered User.

The only possible reason we find is that for the Registered User, the Address is already saved in the database table and mapped with the user, whereas, in the case of the Guest User, the address is saved in the session.

Please review the above information and let us know if it helps in any way.

Regards,
Knowband team

User avatar
Active Member

Posts

Joined
Thu Aug 04, 2016 2:56 pm

Post by JNeuhoff » Tue Feb 25, 2025 10:21 pm

Don't use OC 4.0.2.3 on a live website, it simply has too many bugs and known issues. Use OC 3.0.4.0, or wait until the release of the upcoming 4.1.0.1.

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 lu8ino » Thu Mar 06, 2025 12:52 am

is downgrade possible without loosing data , and need to setup all from beginning ?
we have 5 different stores using now 4.0.2.3 ... too much time

Newbie

Posts

Joined
Mon Feb 17, 2025 6:24 pm

Post by JNeuhoff » Thu Mar 06, 2025 3:38 am

Unfortunately there is no downgrade function in OpenCart. It's either a fresh install of OC 3.0.4.0, or wait until the upcoming 4.1.0.1 release.

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

Who is online

Users browsing this forum: No registered users and 6 guests