Post by ArcherData » Wed Sep 18, 2024 7:53 pm

OC 3.0.3.9
PHP 8.1

My client's site experiences this issue 1-3 times a week, but understandably would like not have the problem as it takes time to reach the customer.

I noticed that JAY6390 has encountered this issue before, so I'm hoping he might have some insight into a possible solution.

Don Bledsoe


User avatar
New member

Posts

Joined
Mon Dec 24, 2012 4:30 am
Location - Cherryvale, KS

Post by by mona » Wed Sep 18, 2024 8:39 pm

What do you mean by "sometimes" ?
Which of Jay's posts are you referring to?
Theme?
Extensions?
Link to the site?

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by paulfeakins » Wed Sep 18, 2024 9:28 pm

Sounds like the sort of thing a developer would probably need to take a look at.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by JNeuhoff » Wed Sep 18, 2024 9:29 pm

It's not even possible in OC 3.0.3.9 to add products to the cart when required options haven't been selected.

Hence, in order to help you here, you need to provide some more details, see forum rules.

To narrow it down, you have to examine the server's raw access log, to see how exactly the customer managed to to do a checkout for products without chosen required options. Perhaps there where spambots rather than genuine human users.

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 ArcherData » Wed Sep 18, 2024 11:21 pm

OC 3.0.3.9
PHP: 8.1
THEME: Default

EXTENSIONS:
Account Loogin Captcha
Amin Login Logo
Antropy Session Extender
Auto Search 3
Category & Product Based Shipping
Cookiefy 3
Custom Codes
Fix Theme Editor
Gallery Images
OpenCart Admin Improvements
PayPal Checkout Integration
Show Admin Product ID

MODIFICATIONS:
Clean Category Page OC3
OCMOD Editor
OpenCart-Hub
PHP Mailer

SITE LINK: https://www.farmandsandtoys.com/store

when I say "sometimes" I mean that a common thread that caused this behavior seem inconsistent. Most orders with options (there are many) go through, they print as they should, and all is well.
A few times a week, it soesn't work and we can't figure out why.

A couple of months ago, we hired Jay to settle some issues after the migration from OC 2.0.3.1 to 3.0.3.9 and thought that he might have some insight into the issue.
Jay's old post where options disappear is here: viewtopic.php?p=564470#p564470
See his post of 5 Jun 2015 @ 6:02 pm.
I wonder if this is at the root of the issue we are seeing, but I don't know enough about OC's internals to tell.

I have determined that this is a rare issue. It hints of a scenario where the customer adds a product to the cart, but does not complete the order and often goes away for a day or two and then comes back to complete the order.

I am aware that products with options cannot be added to the cart. It's the first thing I tested for. I'll see what can be gleaned from the raw access logs.

Don Bledsoe


User avatar
New member

Posts

Joined
Mon Dec 24, 2012 4:30 am
Location - Cherryvale, KS

Post by by mona » Thu Sep 19, 2024 5:25 pm

I have never experienced this and I work a lot on many different OC versions.
I did not experience it in OC1, specifically 1.5.5.1, my personal preferred OC1 version but if Jay says it exists, it existed.

That said this issue was fixed. I can not reproduce the error as is described in Jay's post on OC3.0.3.8 php8
What I can do is remove the option / edit the option and what was in the cart is a problem - but that would be correct.
If that is the problem then you will have to get a modification to prevent coming back and completing the order.
I am not sure why you need to edit an option, it will fail if you add a new option or remove the quantity of the old option.

I am not sure if this is the issue, but you need to play around to check.

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by ADD Creative » Sat Sep 21, 2024 12:36 am

There is a fix for 1.5.5.1 to remove products from the cart if an option no longer exists.
https://github.com/opencart-ce/opencart ... 1277b21398

It would need to be adapted for 3.0.x.

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom
Who is online

Users browsing this forum: No registered users and 26 guests