Re: How do I access an array created by one controller in a second controller?
Using Opencart 3.0.3.3. How do I access data, created by one controller, in a second controller? For instance, one controller generates the following object and makes it available to the view. $data['products'][] = array( 'product_id' => $result['product_id'], 'thumb' => $image, 'name' => $result['...
Jump to post- Tue Oct 08, 2024 12:44 am
- Replies 6
- Views 378
Re: Indexing OpenCart on Google
Hello, I have a website developed in OpenCart and the product fields are filled in correctly. However, when I search for the product, the information displayed below the product URL in the browser is the product description rather than the meta description. How can I resolve this? Google search rar...
Jump to post- Mon Oct 07, 2024 10:40 pm
- Replies 3
- Views 847
Re: Index problem, google bot only crawl my homepage
Hello; My opencart version: 3.0.4.0 and I use SEO URL's. My store was opened at 26 August 2024. I submitted my sitemap to google on the same day. Google accepted my .xml sitemap without error. My problem is Google only crawl my hompage and only indexed my homepage. I manually submitted a few URLs t...
Jump to post- Mon Oct 07, 2024 10:55 am
- Replies 4
- Views 248
Re: Anyway to trace down all the files an extension installed?
Haha if I had the file locally would be pretty easy wouldn't it But in all seriousness, the REMOVE button next to install history, how does it know what files to DELETE, when you click it? There has to be a list of files recorded somewhere so that the REMOVE button knows what it needs to delete . ....
Jump to post- Sat Oct 05, 2024 9:48 pm
- Replies 6
- Views 272
Re: Anyway to trace down all the files an extension installed?
Haha if I had the file locally would be pretty easy wouldn't it But in all seriousness, the REMOVE button next to install history, how does it know what files to DELETE, when you click it? There has to be a list of files recorded somewhere so that the REMOVE button knows what it needs to delete . ....
Jump to post- Sat Oct 05, 2024 2:30 am
- Replies 6
- Views 272
Re: Strange .htaccess behavior.
That is your complete htaccess?easypeasyac wrote: ↑Fri Oct 04, 2024 8:13 pmHello;
I checked and try to upload many times and upload it to root directory.
Did the original ever work?
filematch wise it looks ok, maybe it is in another part of htaccess or your server config? Jump to post
- Fri Oct 04, 2024 10:40 pm
- Replies 8
- Views 325
Re: Strange .htaccess behavior.
Double check what you uploaded and where. Jump to posteasypeasyac wrote: ↑Fri Oct 04, 2024 6:17 pmHello, yes it is just typo. I just corrected it.
Do you have any idea?
- Fri Oct 04, 2024 8:09 pm
- Replies 8
- Views 325
Re: [REFUSED] help with a url redirect issue (Journal Theme)
@JNeuhoff, ok, it looks like you were right about it being journal THIS TIME. I turned off the SEO and the problem is still there. I guess I have to figure out a different way to go about this. Thanks anyway. @nonnedelectari, what do you mean? I need to check if something is set, or I need to check...
Jump to post- Sun Sep 29, 2024 12:33 am
- Replies 5
- Views 388
Re: [REFUSED] help with a url redirect issue (Journal Theme)
@JNeuhoff, ok, it looks like you were right about it being journal THIS TIME. I turned off the SEO and the problem is still there. I guess I have to figure out a different way to go about this. Thanks anyway. @nonnedelectari, what do you mean? I need to check if something is set, or I need to check...
Jump to post- Sun Sep 29, 2024 12:19 am
- Replies 5
- Views 388
Re: help with a url redirect issue
First of all, this is an OpenCart forum, but you are using the Journal3 framework, in which case the Journal support would be more appropriate. In general, something like this should work for OpenCart: $host = $_SERVER['HTTP_HOST']; $protocol=$_SERVER['PROTOCOL'] = isset($_SERVER['HTTPS']) &&am...
Jump to post- Sat Sep 28, 2024 8:52 pm
- Replies 5
- Views 388
Re: New Cart for every new login
Hi All, I'd like to change the way the cart works in opencart. Id like a new cart each time a customer logs in. So the same customer could log in from 2 devices at the same time and have a separate cart each. Is this something that is achievable or is the way the cart works to inbedded to be easily...
Jump to post- Thu Sep 26, 2024 10:41 pm
- Replies 4
- Views 273
Re: New Cart for every new login
Hi All, I'd like to change the way the cart works in opencart. Id like a new cart each time a customer logs in. So the same customer could log in from 2 devices at the same time and have a separate cart each. Is this something that is achievable or is the way the cart works to inbedded to be easily...
Jump to post- Thu Sep 26, 2024 9:27 pm
- Replies 4
- Views 273
Re: Moved Admin Dir - White Blank Page
New install and wanted to move my /admin folder. When visiting the /admin or now /adm1n link I'm met with a white blank page. The rest of the store is fine so I assume its my /config/config.php file being broken. Here it is: https://pastebin.com/Dt8kMp51 Anyone have some good advice for me? In seve...
Jump to post- Installation, Upgrade, & Config Support
- Moved Admin Dir - White Blank Page > Error: Call to undefined method ScssPhp\ScssPhp\Compiler::compileString()
- Thu Sep 26, 2024 6:32 pm
- Replies 6
- Views 623
Re: Load a specific language on the Invoice Template
Thank you both for the replies. As I understand there is no way to change it dynamically as @nonnedelectari mentioned. This has to be done through the creation of the order. So I guess I need to find a walk-around method for fixing this and being able to print a translated invoice. Maybe a replacem...
Jump to post- Fri Sep 20, 2024 11:12 pm
- Replies 9
- Views 752
Re: Load a specific language on the Invoice Template
Where this could be added? Before model getter functions. 3 it's your language_id. As stated, the order product name and model as well as the order totals titles are written into the respective tables in the language the order was placed in. They cannot be dynamically changed into a different langu...
Jump to post- Fri Sep 20, 2024 7:06 pm
- Replies 9
- Views 752
Re: Load a specific language on the Invoice Template
Hi! $language = new Language('de-de'); // language directory by default it's $this->config->get('language_directory') $this->registry->set('language', $language); $this->load->language('sale/order'); Hello Halfhope. This worked great! Thank you for it and the explanation also! By the way, is there ...
Jump to post- Thu Sep 19, 2024 6:37 pm
- Replies 9
- Views 752
Re: shipping estimator expanded by default
Change the class from "panel-collapse collapse" to "panel-collapse collapse in" of id "collapse-shipping" in the twig file of that component Jump to post
- Thu Sep 12, 2024 8:10 am
- Replies 11
- Views 2007
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?
- Mon Sep 09, 2024 1:40 pm
- Replies 9
- Views 1335
Re: Opencart 3.0.4.0 no theme - Clients do not receive automated emails
Check if your mail events are present. Jump to postJessiesBoutique wrote: ↑Thu Sep 05, 2024 8:06 pmHi 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
- Thu Sep 05, 2024 9:57 pm
- Replies 4
- Views 413
Re: error.log full of cart / currency issues
Sorry! Version 3.0.3.6 <?php namespace Cart; class Currency { private $currencies = array(); public function __construct($registry) { $this->db = $registry->get('db'); $this->language = $registry->get('language'); $query = $this->db->query("SELECT * FROM " . DB_PREFIX . "currency&quo...
Jump to post- Thu Sep 05, 2024 10:00 am
- Replies 5
- Views 365