Page 1 of 1
Search found 6 matches
Re: Multilingual SEO URL's not updating
replace: And? where is no difference. This string will be sent to sql. This code is work fine. Language switch fix here: catalog/view/theme/default/template/common/language.twig ... <input type="hidden" name="code" value="" /> {% for language in languages %} <input typ...
Jump to post- Tue Jul 10, 2018 8:04 pm
- Replies 4
- Views 3302
Re: Multilingual SEO URL's not updating
Hello, you can add this in /catalog/controller/startup/startup.php after: $languages = $this->model_localisation_language->getLanguages(); add this: $url_path = explode('/', rawurldecode($_SERVER['REQUEST_URI'])); $query = $this->db->query("SELECT * FROM `" . DB_PREFIX . "seo_url` WHE...
Jump to post- Tue Jul 10, 2018 5:06 pm
- Replies 4
- Views 3302
Re: Very slow function - getTotalProducts (in foreach)
Yes, but I did't see much difference.SXGuy wrote:probably a silly question but... have you increased gzip compression to 9?
I switch off this function to sub-category (load time is normal now). Jump to post
- Thu Oct 20, 2011 8:31 pm
- Replies 2
- Views 921
Very slow function - getTotalProducts (in foreach)
I have a shop with 6k products. This function work very slow with header and side category menu, because there are double "foreach" (category, subcategory) in code. catalog/model/catalog/product.php - getTotalProducts some modify to use function for active category only (catalog/controller...
Jump to post- Thu Oct 20, 2011 5:08 am
- Replies 2
- Views 921
Re: OpenCart 1.5.1.1 Bug Thread
minor bug (post in method)
file: /catalog/model/account/customer.php
function addCustomer
Line: 43
Code: Select all
$mail->setTo($this->request->post['email']);
Code: Select all
$mail->setTo($data['email']);
- Tue Sep 13, 2011 2:36 am
- Replies 301
- Views 104178
Re: submenu information opencart
You can purchase this module: Information Submenu
Jump to post- Thu Sep 01, 2011 4:06 am
- Replies 5
- Views 1508
Search found 6 matches