Re: upload a photo on a mobile phone
I literally just tried this on my own installation of OpenCart 4.0.2.3 on Chrome with my iPhone, and was able to select the "Take Photo or Video" option when I click on the blue "Upload" button in OpenCart's Image Manager. Managed to take a photo and upload it directly with no pr...
Jump to post- Thu Oct 10, 2024 12:21 pm
- Replies 4
- Views 792
Re: Not able to add anything to the homepage
Yup, like what @JNeuhoff said, OpenCart 4.0.2.3 is still not recommended for production use since there are still a lot of issues with it. Anyway, for Categories, you should probably use the "Description" field instead, which should be the same in OpenCart 1.5.x, at Catalog » Categories. C...
Jump to post- Wed Oct 09, 2024 1:17 am
- Replies 8
- Views 464
Re: Not able to add anything to the homepage
I've upgraded my Opencart store to version 4.0.2.3 and am experiencing difficulty with its homepage, which is currently blank at the moment. I know how to modify the homepage in my old version of OC (v1.5.6) but don't see a way to manage the homepage from my new admin panel. I've read the documenta...
Jump to post- Mon Oct 07, 2024 11:35 pm
- Replies 8
- Views 464
Re: 3.0.4.0 sales report incomplete / missing sales
hi, I have never noticed this happening before (and total sales for a yearly interval used to very accurately match total revenue), but on my installation now running v3.0.4.0, I am seeing incomplete sales reports, and certain sold products only showing up if I set the report date to a specific int...
Jump to post- Sun Oct 06, 2024 7:53 am
- Replies 3
- Views 586
Re: Strange .htaccess behavior.
Yea, as @nonnedelectari mentioned, you should probably provide the full original and new .htaccess file. Also, you could try disabling the .htaccess file (i.e. by renaming it to something else like .htaccess.txt) and see if you are still able to access the site? This is just to confirm that it is in...
Jump to post- Sun Oct 06, 2024 7:43 am
- Replies 8
- Views 337
Re: SMTP Mail Not Working After Moving OpenCart to AWS Server
One of my OpenCart domains is hosted in AWS. I have used SMTP settings to send contact emails. But mail is not sending through that. While checking the logs, the server is trying to send email through AWS server, not through the G Suite account that I have configured in SMTP. In SMTP settings, I ha...
Jump to post- Sun Oct 06, 2024 7:37 am
- Replies 4
- Views 330
Re: How to get custom field show only on payment address?
Hello, if I may borrow a theme. How did you set the address format in System>Localisation>Country? I also need to enter a VAT number. Thank you for your reply and best regards Address Format in System » Localisation » Country is only for formatting the address stored in the database so that it show...
Jump to post- Sun Oct 06, 2024 7:29 am
- Replies 3
- Views 266
Re: Strange .htaccess behavior.
OpenCart Version : 3.0.4.0 Original .htaccess file was that: # Prevent Direct Access to files <FilesMatch "(?i)((\.tpl|\.twig|\.ini|\.log|(?<!robots)\.txt))"> Require all denied ## For apache 2.2 and older, replace "Require all denied" with these two lines : # Order deny,allow #...
Jump to post- Fri Oct 04, 2024 5:56 pm
- Replies 8
- Views 337
Re: Image upload not working
As @chongshengdz mentioned, you might want to check your config.php files and ensure the image directory is set correctly. But since you mentioned that you've only encountered this issue recently, have you installed any extensions recently, or any caching extensions? Are you able to access the image...
Jump to post- Mon Sep 30, 2024 3:29 am
- Replies 9
- Views 588
Re: I have some problems but I can't figure out what caused them.
Hi, It's probably a theme issue, but I'm not sure. If you have any information, please help. I am installing the theme I am using on Opencart version 4.0.2.3. As you can see in the screenshot (I marked it with red lines), there seems to be a css problem in the titles. Is this due to the theme (I do...
Jump to post- Wed Sep 25, 2024 5:00 am
- Replies 2
- Views 326
Re: Overriding method calls from proxy models
In addition to changing data through arguments, event handlers can also return values using return. For example, if the controller/common/home/before event handler returns the generated html code via return, then the entire output of the common/header controller will be replaced by it, and the comm...
Jump to post- Sun Sep 22, 2024 7:56 am
- Replies 5
- Views 1154
Re: Overriding method calls from proxy models
If you're using OpenCart 4, isn't it "addHistory" rather than "addOrderHistory"? Anyway, maybe in your "verifyOrder" function, you can just load the model, and call it via the loaded model rather than calling it as an internal function, like below: public function verif...
Jump to post- Sat Sep 21, 2024 3:46 am
- Replies 5
- Views 1154
Re: Admin LockOut
Yes, it should be oc_setting, where "oc_" is your DB_PREFIX set in "config.php". Also, just to add on, in your "oc_setting" table, you should search for "config_security" under the "key" column, and simply delete the entire row and 2FA should be disa...
Jump to post- Sat Sep 21, 2024 3:33 am
- Replies 3
- Views 860
Re: OC 4.0.2.3 Email subject
Greetings, im curious if there was a way to change the subject title of emails generated from open cart to include order number & Note? so that it would show storename - order 13 - notes from order You'll probably have to modify the following files: - "order.php" in "catalog/cont...
Jump to post- Tue Sep 17, 2024 2:46 pm
- Replies 2
- Views 445
Re: on the product page,how to make the auto-added white space for product image to be black?
thanks for reply, what you said is the sam as what chatGPT4,i also feel it is the right solution ,but no good luck,still show white space. i have go to system/library/image.php ,and change $background = imagecolorallocate($this->image, 255, 255, 255); to $background = imagecolorallocate($this->imag...
Jump to post- General Support
- [SOLVED]on the product page,how to make the auto-added white space for jpg product image to be black?
- Tue Sep 10, 2024 4:04 am
- Replies 9
- Views 1337
Re: on the product page,how to make the auto-added white space for product image to be black?
Open up "image.php" located in "system/library". Look for the following code under the "resize" function, and change the "255, 255, 255": $background = imagecolorallocate($this->image, 255, 255, 255); to whatever colour your background is using in rgb format. ...
Jump to post- General Support
- [SOLVED]on the product page,how to make the auto-added white space for jpg product image to be black?
- Mon Sep 09, 2024 12:31 pm
- Replies 9
- Views 1337
Re: Extension question
I don't know of such an extension as the use-case seems quite specific. Nevertheless, I would think that implementing this feature yourself would be rather easy anyway since you just have to create a new column for the product table and order_product table for your custom field (or you could just us...
Jump to post- Sun Sep 08, 2024 4:51 am
- Replies 3
- Views 1175
Re: Opencart 3.0.4.0 no theme - Clients do not receive automated emails
Hi Team. I have an issue with confirmation emails not being sent when someone creates an account or makes a purchase. I do receive an email when someone uses Contact Us form so at least something is working. Any ideas where to look? Thank you Have you enabled email alerts for orders and account reg...
Jump to post- Fri Sep 06, 2024 2:43 pm
- Replies 4
- Views 414
Re: Category Child Limit, Top Nav Bar
Not sure if the custom theme affects anything but you can probably edit the file "menu.php" at "catalog/controller/common", there should be a line like below: $children = $this->model_catalog_category->getCategories($category['category_id']); Just manipulate the for-loop below it...
Jump to post- Fri Sep 06, 2024 2:38 pm
- Replies 7
- Views 555
Re: Issue with Image Update
Hello, I'm encountering an issue when trying to update images on my OpenCart websites (versions 3.0.3.8 and 3.0.3.9). If I upload a new image with the same file name to the same category, the website continues to load the old image. The only way to successfully update the image is by uploading it w...
Jump to post- Tue Aug 27, 2024 7:40 am
- Replies 5
- Views 385