Re: Shipping cost for each product
I recommend ClearThinking's Ultimate Shipping.
Jump to post- Thu Feb 13, 2025 3:20 am
- Replies 3
- Views 248
Re: Bootstrapping opencart to a custom file for a cron job
Why are you re-initialising all the core OpenCart classes? Perhaps as a starter, try creating a new file: "catalog/controller/tool/cron.php". And inside this file: <?php class ControllerToolCron extends Controller { public function index() { echo "Hello World!"; } public function...
Jump to post- Wed Feb 12, 2025 3:27 pm
- Replies 8
- Views 377
Re: Add an extra Voided status after Confirm an order on admin
Seems like an ongoing issue that still hasn't been resolved yet: https://github.com/opencart/opencart/issues/14361
Is it happening only to a specific payment? Have you tried another payment method to check if the same happens?
- Wed Feb 12, 2025 3:20 pm
- Replies 2
- Views 737
Re: Registering Events
The status displayed follows the status of the setting name: "module_extension_name_status", assuming that your extension is under "Modules" (for instance, if your extension is a shipping extension, then the status setting name should be "shipping_extension_name_status"...
Jump to post- Tue Jan 28, 2025 4:09 pm
- Replies 8
- Views 1495
Re: Information input onto general tab disappearing after saving
Might also want to check/increase on your PHP post_max_size and max_input_vars.
Jump to post- Tue Jan 28, 2025 3:59 pm
- Replies 2
- Views 427
Re: How to edit email message?
I believe you should edit the language file at:
Code: Select all
catalog/language/en-gb/information/contact.php
- Fri Jan 24, 2025 10:04 am
- Replies 2
- Views 353
Re: Session data partialy deleting
Since you're using a third-party checkout extension, this issue is likely related to the extension. You should try contacting the developers of the extension for support instead.
Jump to post- Fri Jan 24, 2025 1:28 am
- Replies 1
- Views 275
Re: Registering Events
Eh, there's no need to use snake case. I generally follow the OpenCart default modules/extensions, so I use pascal case for my class name and namespace. Just stick to pascal case since that seems to be used across the OpenCart codebase. Anyway, it seems like your file paths and namespace/class name ...
Jump to post- Wed Jan 22, 2025 4:17 pm
- Replies 8
- Views 1495
Re: Reduce the Product Title to One Line On Home Page
Hi, How can we reduce the displayed product title to one line on the home page? This is to align all of our 'Add To Cart' buttons. Thanks in advance ;) You can try adding the following CSS style to the <h4> tag (assuming you are using the default OpenCart theme) of your product title: white-space: ...
Jump to post- Mon Jan 20, 2025 10:44 am
- Replies 2
- Views 217
Re: To many redirects or to many request
From the error logs, seems like mod_qos is blocking your IP address for too many requests.
Jump to post- Sat Jan 18, 2025 5:59 am
- Replies 5
- Views 529
Re: redirect question
Off-topic but genuinely curious what's the purpose of bots making such posts? What do they even achieve man. Jump to postpaulfeakins wrote: ↑Fri Jan 17, 2025 8:08 pmLol, you're a bot, you're banned, goodbye.Erika383Rivera wrote: ↑Fri Jan 17, 2025 2:21 pmHello!
Thanks for the solution, It worked just fine for me as well!
- Sat Jan 18, 2025 5:58 am
- Replies 7
- Views 622
Re: redirect question
Chrome caches 301/302 redirects - which is probably why (as you mentioned) the redirects keep persisting until you clear your browser cache.
Jump to post- Fri Jan 17, 2025 4:34 am
- Replies 7
- Views 622
Re: USPS Not Working on Version 3.0.3.8
Same thing, encountered this issue and adding "https://" to the API URL solved the issue. Another issue is that USPS renamed their First-Class Package service to USPS Ground Advantage, so the First-Class Package services won't show up as a shipping option at checkout. If you take a log th...
Jump to post- Wed Jan 15, 2025 2:11 pm
- Replies 3
- Views 533
Re: USPS Not Working on Version 3.0.3.8
Same thing, encountered this issue and adding "https://" to the API URL solved the issue. Another issue is that USPS renamed their First-Class Package service to USPS Ground Advantage, so the First-Class Package services won't show up as a shipping option at checkout. If you take a log the...
Jump to post- Wed Jan 15, 2025 12:56 pm
- Replies 3
- Views 533
Re: Categories not showing
It sounds like you're facing an issue with displaying categories and products after cleaning sample data in Opencart 4.0.2.3. Here are a few suggestions to help resolve this: Clear Cache: Make sure to clear your browser cache and Opencart cache. Sometimes, old data can still be cached and cause dis...
Jump to post- Sat Jan 11, 2025 11:25 pm
- Replies 2
- Views 776
Re: Forbidden during save
By "forbidden message", I assume you are referring to 403 Forbidden error? If yes, then it's unlikely an issue with your code but more of a server issue. For this just off the top of my head, could be folder/files permissions/ownership, misconfigured .htaccess, web application firewall lik...
Jump to post- Fri Jan 10, 2025 10:59 am
- Replies 6
- Views 619
Re: Demo products
You can probably try faker.js or mockaroo to generate dummy data.
You can also check out Shopify's dummy products repository here: https://github.com/shopifypartners/product-csvs - it doesn't have a few hundred products but you can definitely just duplicate the data instead.
- Fri Jan 10, 2025 10:52 am
- Replies 1
- Views 375
Re: Amending Sub Total Wording on OC4 invoice
All the order totals are stored under the "order_total" table in the database. Therefore, since you mentioned you've already changed the "Sub-Total" text, it will only affect orders that are placed after the change. Orders placed before the change will not be affected since the o...
Jump to post- Tue Jan 07, 2025 3:59 pm
- Replies 4
- Views 843
Re: Customer/Admin Login problem
Do you have a .htaccess file that might be wrongly configured for your localhost?
Jump to post- Sun Jan 05, 2025 3:44 am
- Replies 13
- Views 1350
Re: Product discount strange behavior
Thank you for clarifying. I have installed the Github Master branch from https://github.com/opencart/opencart/archive/refs/heads/master.zip, which indeed contains a pre-installed extension "OpenCart Default Extensions". Ah I took a look at the master branch's code and it seems like it's a...
Jump to post- Fri Jan 03, 2025 5:38 pm
- Replies 5
- Views 858