Search found 15 matches

Page 1 of 1

Search found 15 matches

Re: Opencart 4.1.0.3 product discounts! Special?

To set a Special price in OpenCart 4.1, set the following values under the Discount tab:

  • Quantity: 1
  • Type: Fixed Amount
  • Special: ON
See the attached screenshot for an example.

Jump to post
  • Mon Apr 07, 2025 6:33 pm
  • Replies 6
  • Views 1888
Re: Warning: Your account has exceeded allowed number of login attempts. Please try again in 1 hour or reset password.

We now have a permanent fix on the OpenCart Marketplace: Admin Panel Login Attempts Fix This will prevent login attempts from other IP addresses locking you out of your admin panel, while still keeping those IPs blocked. We'd also recommend switching to a more secure server to prevent mass login att...

Jump to post
  • Tue Aug 13, 2024 10:24 pm
  • Replies 5
  • Views 1285
Re: Can you upgrade OC 3.0.3.8 to work with PHP 8.1?

Use the 3.0.x.x_Maintenance branch . It's already done: https://www.github.com/opencart/opencart-3 . So what's the difference between opencart-3 and 3.0.x.x_Maintenance ? I recall this post from JNeuhoff mentioning that opencart-3 is actually going to be backwards-incompatible with 3.0.3.8, being m...

Jump to post
  • Wed Nov 09, 2022 8:15 pm
  • Replies 34
  • Views 11783
Re: Edit Sub-Total wording in checkout

It's also worth noting that OpenCart 3 has its own event-hook-based Language Editor in the admin panel specifically for this exact purpose (something I'm surprised event hook evangelist Straightlight is apparently unaware of): https://i.imgur.com/nkO3fav.png It is recommended to use the Language Edi...

Jump to post
  • Mon May 23, 2022 8:04 pm
  • Replies 9
  • Views 873
Re: "Subquery returns more than 1 row" error after migration

It looks like the error is happening in the getProduct function of catalog/model/catalog/product.php. The query as reported in the error log is cut off (this is due to a character limit in either OpenCart's or PHP's method of error reporting). The entire query also makes similar sub-queries on the f...

Jump to post
  • Mon May 23, 2022 7:34 pm
  • Replies 1
  • Views 2176
Re: Warning: DDoS against OpenCart based websites

Update to the above - further analysis shows that this is a brute-force attack rather than a DDoS attack. We were noticing the number of login attempts for admin panel users named 'admin' were constantly getting maxed out, while all other admin users remained unaffected. Checking the POST data, the ...

Jump to post
  • Tue Jan 25, 2022 8:28 pm
  • Replies 92
  • Views 100142
Re: Warning: DDoS against OpenCart based websites

Hi all, We're seeing a resurgence of this attack on a number of OpenCart websites this morning. If this is happening to you, the attached vQmod file should stop the attackers in their tracks. Tested on OpenCart versions from 2.0.1.1 to 3.0.3.8, but should work on earlier versions as well. You will n...

Jump to post
  • Mon Jan 24, 2022 7:00 pm
  • Replies 92
  • Views 100142
Re: [RELEASED] CSRF Protection Form

This extension doesn't do anything to protect against CSRF! In the csrf_check() function in the system/library/csrf_helper.php file, where the actual CSRF check happens is wrapped in this conditional: if (isset($this->request->post['__csrf'])) { You can bypass the CSRF check entirely by simply omitt...

Jump to post
  • Wed Dec 15, 2021 12:24 am
  • Replies 376
  • Views 8457202
Re: Slow Admin Panel OC 3.0.3.8

The admin is so slow. Like going from order dashboard (set to only 10 orders in the list) is slow. Going BACK to dashboard, even slower. Our other 2.3.0.2 store is much quicker admin wise. Try enabling the SASS cache (gear icon in the top-right of the dashboard): https://i.imgur.com/JRDtEBw.png

Jump to post
  • Fri Sep 10, 2021 6:19 pm
  • Replies 11
  • Views 1781
Orders with coupons being cancelled as 'fraud' due to prematurely emptying cart

Hi all, Trying to diagnose an issue on an OpenCart 2.1.0.2 where the customer's cart appears to empty between the points that $this->model_checkout_order->addOrder() and $this->model_checkout_order->addOrderHistory() are called, causing coupon errors and setting the order status to 'Cancelled' (frau...

Jump to post
  • Wed Sep 08, 2021 9:41 pm
  • Replies 1
  • Views 505
Re: [SOLVED] Order Status Emails all on one line with no spaces - hard to read.

We've come across this issue recently on an OpenCart site - it was found to be caused by some weirdness in certain versions of the Twig template engine when running on newer versions of PHP (7.3 and up) - it seems to be removing whitespace between elements when it shouldn't be (another common sympto...

Jump to post
  • Thu Aug 19, 2021 10:46 pm
  • Replies 21
  • Views 5152
Re: How to Ignore case sensitivity when fetching Product images on the Frontend

After uploading the image folder to the server ... ... Image Path/Name is same but image name ' Itka-table-lamp.jpg ' *I* capital letter in the database and *i* small letter in folder What I'm interested to know is... what were you using to upload the files that's converting all the filenames to lo...

Jump to post
  • Mon May 17, 2021 6:58 pm
  • Replies 18
  • Views 3698
Re: Opencart 3.0.3.6 problem with all the ocmod and vqmod extensions

Hi giovannir,

We've found this extension fixes the issues with twig file modification in OpenCart 3.0.3.6:
FIX OCMod Vqmod modifications for twig files OC 3.0.3.6

Jump to post
  • Tue Sep 29, 2020 5:33 pm
  • Replies 10
  • Views 6463
Re: Missing Orders caused by OC session expiry during checkout payment process?

Many thanks for your reply - we've applied those fixes to a couple of OpenCart 2.x websites and haven't seen any missing order issues since, so it looks like this was it! This has been a real head-scratcher recently, so thanks again! We've packaged this fix as an extension for OpenCart 2.x in case a...

Jump to post
  • Fri Sep 25, 2020 11:44 pm
  • Replies 4
  • Views 4601
Missing Orders caused by OC session expiry during checkout payment process?

Hi all, I'm looking into a puzzling bug we've had on a number of client websites recently and was wondering if anyone had any insight. It's a classic case of orders not being properly taken out of Missing Orders upon payment callback, and looks to be something to do with the user's session expiring ...

Jump to post
  • Tue Sep 22, 2020 6:40 pm
  • Replies 4
  • Views 4601

Page 1 of 1

Search found 15 matches