Re: So I asked ChatGPT to write me a VQMOD....
ChatGPT is decent but still misses a lot of logic.
I did almost the same for an extension that was written for < 7.3 and asked it to do 8.2. It crashed an burned. The coding is ok but you'll most likely spend more time debugging versus just re-writing it.
Mike
- Thu Feb 13, 2025 2:43 am
- Replies 2
- Views 173
Re: Bootstrapping opencart to a custom file for a cron job
I'm trying to setup a file to be executed by cron...not going so well. The primary function of this file is to do database stuff. In the past the only way I got cron to work is to make it completely independent of opencart....so it just contained raw php coding, no includes, functions, etc. But wit...
Jump to post- Tue Feb 11, 2025 11:43 pm
- Replies 8
- Views 421
Re: facing this error when upgrade "Patch 2 has been applied (2 of 9)"
facing this error when upgrade "Patch 2 has been applied (2 of 9)" Wow too much info... Stop overloading us before we drown.... Now with that out of the way.... #1 Upgrade attempted from what version to what version? #2 Most recommend not to try to use the upgrade function #3 Are you seei...
Jump to post- Installation, Upgrade, & Config Support
- facing this error when upgrade "Patch 2 has been applied (2 of 9)"
- Mon Feb 10, 2025 2:18 am
- Replies 1
- Views 441
Re: Problem extension Smartbill > Constant FILTER_SANITIZE_STRING is deprecated
Before posting here endless, read this here and change the code es mentioned: https://www.php.net/manual/it/filter.constants.php#constant.filter-sanitize-string On the other hand, the developer of that extension should support php8.x asap as this is nowadays standard! And if you or this develper ar...
Jump to post- Extensions Support
- [SOLVED] Problem extension Smartbill > Constant FILTER_SANITIZE_STRING is deprecated
- Sat Feb 08, 2025 12:35 am
- Replies 17
- Views 1409
Re: Problem extension Smartbill
I'd look up and see if strip_tags() would work in place of the lines that have FILTER_SANITIZE_STRING i.e. $product_code = filter_var($product_code, FILTER_SANITIZE_STRING); $product_code = strip_tags($product_code); I'd update those and see what other errors show. Does this still occur? Error! Syn...
Jump to post- Extensions Support
- [SOLVED] Problem extension Smartbill > Constant FILTER_SANITIZE_STRING is deprecated
- Fri Feb 07, 2025 9:03 am
- Replies 17
- Views 1409
Re: [SOLVED] Submitting sitemap feed to Google Search Console issue
So let me clarify : Can this line : RewriteRule ^sitemap.xml$ index.php?route=extension/feed/google_sitemap [L] be replaced with this line : curl https://domain.com.au/index.php?route=extension/feed/google_sitemap > /home/user/public_html/sitemap.xml in the .htaccess file ? No it can't. That curl c...
Jump to post- Fri Feb 07, 2025 8:54 am
- Replies 23
- Views 5319
Re: Customers not getting Order Confirmation on website
The success page is what they should see if the order is successful.
Mike
- Fri Feb 07, 2025 5:17 am
- Replies 2
- Views 192
Re: Problem extension Smartbill
What is the code on those two lines?
Depending on how complex you might be able to make a simple change.
Mike
- Extensions Support
- [SOLVED] Problem extension Smartbill > Constant FILTER_SANITIZE_STRING is deprecated
- Thu Feb 06, 2025 12:04 pm
- Replies 17
- Views 1409
Re: Error when register new user
Something with extension/captcha/google.php is going sideways.
turn it off and see if the problem goes away. This should get you going then you need to further troubleshoot your error.
I'd say also you have an OpenSSL invalid SSL Cert.
Mike
- Mon Jan 27, 2025 4:49 am
- Replies 2
- Views 303
Re: Admin page login issue after upgrade
Not all your extensions will be compatible with php8 It is almost always better to do a new install rather than an upgrade. What do you exactly mean by new install? When i did the upgrade, basically i renamed all my previous folders (catalog, admin, system) to a different name and uploaded fresh co...
Jump to post- Wed Jan 22, 2025 9:56 pm
- Replies 20
- Views 1003
Re: searching by product id on admin side
Yes its on the front page of the website under every product. see pic attached. Product ID has always been there, i just renamed it to 'AerobatX Product ID' If it was me ... I'd remove that AerobatX Product ID and have them use the "Product Code" versus trying to add another thing that is...
Jump to post- Wed Jan 22, 2025 3:40 am
- Replies 9
- Views 5456
Re: Detailed product reports and more related tasks
Is there a report to know the cost of the product from the reports in OpenCart? In other words, I want to calculate the cost of purchasing the product I sold to know the capital cycle. Does this already exist or do I need an external module through which I can know this ? (and is there a module for...
Jump to post- Wed Jan 22, 2025 1:37 am
- Replies 3
- Views 609
Re: searching by product id on admin side
thanks JohnP, useful tools but not quite what i need. My issue is we have a lot of customers who call us and over the phone quote the Product ID for example 3755 ( number automatically assigned by opencart) but there is nowhere for us to search for this number, either on the front end or the back e...
Jump to post- Wed Jan 22, 2025 1:31 am
- Replies 9
- Views 5456
Re: OC 1.5.6.4 Modify Weight Based Shipping Module
Sorry but that was from memory... which is getting bad for the older versions... In /catalog/model/shipping/weight.php Put somewhere, maybe after: $this->language->load('shipping/weight'); $os = array("MODEL1", "MODEL2"); That needs to be the model of the product(s) you wish to h...
Jump to post- Sun Jan 19, 2025 2:44 am
- Replies 8
- Views 5541
Re: OC 1.5.6.4 Modify Weight Based Shipping Module
I run Opencart 1.5.6.4. I would like to modify the weight based shipping module. The modification should check the cart content for product ID and if let's say if product ID 0001 is in the cart I would like it to not show any of the weight based shipping options. Thank you in advance for your help!...
Jump to post- Sat Jan 18, 2025 10:22 pm
- Replies 8
- Views 5541
Re: [SOLVED] USPS - Need new Service "USPS Ground Advantage" before July 9, 2023.
I KNOW this is old but I had to assist someone else who asked me about this post... I forgot:
in admin/controller/extension/shipping/
Also needed
Code: Select all
$data['text_domestic_1058'] = $this->language->get('text_domestic_1058');
- Thu Jan 16, 2025 7:45 am
- Replies 27
- Views 7084
Re: opencart images are all in landscape position
I made some photos with my samsung phone. And when I open that on my PC are all portrait but imediatelly when I upload it to opencart are all landscape. I use opencart 3.0.4.0. How to solve that so pictures are in position as they are made - portrait? When you took them were they in landscape or po...
Jump to post- Thu Jan 16, 2025 4:07 am
- Replies 25
- Views 932
Re: x-shipping pro help
First question... did you ask the creator of the extension?
Mike
- Mon Jan 13, 2025 10:55 pm
- Replies 4
- Views 412
Re: Account Page Menu
Please open a new topic and include things in this post viewtopic.php?t=200480
Mike Jump to post
- Thu Jan 09, 2025 11:19 pm
- Replies 5
- Views 4390
Re: Anyone use a mobile app for 2.3.0.2 (Condor version) and php 8?
Maybe this might be of some help since it has been built to support OC2 and OC4, so theoretically it does support OC2 and php8 is required for OC4. https://www.opencart.com/index.php?route=marketplace/extension/info&extension_id=38459 Whether the 2.3.0.2 supports php8 or hitinfotech is able to ...
Jump to post- Tue Jan 07, 2025 5:41 am
- Replies 2
- Views 822