Page 3 of 3
Re: OpenCart 3.0.3.8 Bugreports
Posted: Tue Dec 19, 2023 8:55 pm
by ADD Creative
answersun wrote: ↑Sun Dec 17, 2023 2:55 am
Customers able to place order without choosing mandatory product options.
How to reproduce:
1. add a product in admin side without any option.
2. add this product to cart in the customer side.
3. add some mandatory options to the product in admin side.
4. update the product quantity in the cart and checkout, you can see the customer can update the cart and checkout without choosing any of the mandatory options introduced in the step before, which shouldn't be allowed.
Here's a recording showcase this problem:
https://drive.google.com/file/d/1b42JH3 ... sp=sharing
Any suggestion on how to fix this?
Thanks in advance!
You would need to add extra validation to catalog/controller/checkout/confirm.php. You can see the sort validation code you would need to add in the add method in catalog/controller/checkout/cart.php. However, then the difficult bit, you would need to somehow let the customer know so they could add the options.
If the product is that different, you would maybe be better disabling or deleting the old version and add a new product with the options.
Re: OpenCart 3.0.3.8 Bugreports
Posted: Fri Apr 05, 2024 10:58 pm
by barnettgs
What could it be? I get this about every hour or two. I'm using newly installed Opencart 3.0.3.9 (downloaded from the Opencart site) and just upgraded to PHP 8.1 yesterday.
Code: Select all
2024-04-05 12:19:25 - PHP Unknown: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in domain.com/system/engine/action.php on line 65
Re: OpenCart 3.0.3.8 Bugreports
Posted: Fri Apr 05, 2024 11:09 pm
by JNeuhoff
Re: OpenCart 3.0.3.8 Bugreports
Posted: Fri Apr 05, 2024 11:14 pm
by barnettgs
Thank you

Re: OpenCart 3.0.3.8 Bugreports
Posted: Mon Jul 08, 2024 2:50 pm
by yuenchu
We are using Opencart v3.0.3.8.
In Extensions-> Modules -> Core Modules -> Featured, we have 10 Featureds in use.
One day, we removed 1 Featured(remain 9 Featureds), our Android app's homepage became completely blank(other pages were fine), and the Web version displayed fine but was missing the removed Featured part.
Later, I tried to add it back, but the app's Homepage was still blank(and the Web version did not display the newly added part).
Re: OpenCart 3.0.3.8 Bugreports
Posted: Mon Jul 08, 2024 11:22 pm
by JNeuhoff
There is no Android app of OpenCart. OpenCart is browser based. Without further details, nobody will be able to help you here, see
forum rules. Using a web browser on your Android device, e.g. Chrome or Firefox, works just fine for OpenCart-based websites.