addFilter() in IE9 is a built in JS function, so it's actually trying to call that rather than the OC JS code.Daniel wrote:hmmm wonder what the solution could???Silene wrote:OpenCart 1.5.5.1 - Internet Explorer 9 - it does not work the option to add filters. After pressing the "Add filter" you can not add a filter, do not appear in the text box to enter the name of the filter. In Firefox and Opera add filters working properly.
Rename it to addFilterRow and it'll work fine.
I ran into a bug while I was working on a webshop based on OpenCart.
When I add a product to my shopping cart it is added properly. But when I go to my shopping card and I want to update the number of products I'd like to buy, it doesn't update. I can enter a new number of products in the field, but when I hit the refreshbutton (the two blue arrows in a circle on the right of the inputfield) the screen blinks and the old number of products is in the field again. There's no way to edit this number...
Does anyone know how to fix this?
Thanks in advance!
Greets
R.Langeveld wrote:Hi There,
I ran into a bug while I was working on a webshop based on OpenCart.
When I add a product to my shopping cart it is added properly. But when I go to my shopping card and I want to update the number of products I'd like to buy, it doesn't update. I can enter a new number of products in the field, but when I hit the refreshbutton (the two blue arrows in a circle on the right of the inputfield) the screen blinks and the old number of products is in the field again. There's no way to edit this number...
Does anyone know how to fix this?
Thanks in advance!
Greets
Could be your theme, but without a link to test..., it could be anything..
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
The demo site works as expected. The problem must be somewhere on your side. Do you have enouch items on stock?R.Langeveld wrote:Hi There,
I ran into a bug while I was working on a webshop based on OpenCart.
When I add a product to my shopping cart it is added properly. But when I go to my shopping card and I want to update the number of products I'd like to buy, it doesn't update. I can enter a new number of products in the field, but when I hit the refreshbutton (the two blue arrows in a circle on the right of the inputfield) the screen blinks and the old number of products is in the field again. There's no way to edit this number...
Does anyone know how to fix this?
Thanks in advance!
Greets
For the problem of language
I replaced the file system/library/language.php by the latterNotice: Error: Could not load language xxxxx! in /public_html/demo/1551/system/library/language.php on line 27
Code: Select all
<?php
class Language {
private $default = 'english';
private $directory;
private $data = array();
public function __construct($directory) {
$this->directory = $directory;
}
public function get($key) {
return (isset($this->data[$key]) ? $this->data[$key] : $key);
}
public function load($filename) {
$file = DIR_LANGUAGE . $this->directory . '/' . $filename . '.php';
if (file_exists($file)) {
$_ = array();
require($file);
$this->data = array_merge($this->data, $_);
$file = DIR_LANGUAGE . $this->default . '/' . $filename . '.php';
} else {
trigger_error('Error: Could not load language ' . $filename . '!');
exit();
}
}
}
?>
Tous les packs de langues Française depuis la v1.4.7 et toutes les versions intégrales 100 % Français sont disponibles sur le Portail Officiel Français.
I just upgraded from version 1.5.4.1. I did everything it said in the upgrade read me file but i am experiencing this error:
Fatal error: Call to a member function isLogged() on a non-object in /home/ventro/public_html/sites/kostyme-huset.no/catalog/model/catalog/product.php on line 319
How can i fix this?
I posted the fix here: http://forum.opencart.com/viewtopic.php ... 84#p386884R3aver wrote:Hi,
When I click a product tag I get no results for search fileters, any idea?
Thanks!
can't minimize after pressing the maximize button, i'm using firefox v19.0
Already fixed by Daniel, see https://github.com/opencart/opencart/issues/405tomsworkshop wrote:no font and font size for product edit ?
can't minimize after pressing the maximize button, i'm using firefox v19.0
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
ok, i download the full version of ckeditor and replace it, now the problem fixed, thanks.JNeuhoff wrote:Already fixed by Daniel, see https://github.com/opencart/opencart/issues/405tomsworkshop wrote:no font and font size for product edit ?
can't minimize after pressing the maximize button, i'm using firefox v19.0
the fix is decribed here: http://wonderwebware.com/blog/2013/02/2 ... plorer-10/
EDIT: Secondary link, as the first is not very responsive...
http://cpp-qt-mac-win.blogspot.sk/2013/ ... -ie10.html
In the admin/model/sale/customer.php, method getTotalCustomers should look like this:
Code: Select all
public function getTotalCustomers($data = array()) {
$sql = "SELECT COUNT(*) AS total FROM " . DB_PREFIX . "customer c ";
$sql .= "LEFT JOIN " . DB_PREFIX . "customer_group_description cgd ON (c.customer_group_id = cgd.customer_group_id)";
$sql .= "WHERE cgd.language_id = '" . (int)$this->config->get('config_language_id') . "'";
$implode = array();
if (!empty($data['filter_name'])) {
$implode[] = "CONCAT(firstname, ' ', lastname) LIKE '%" . $this->db->escape($data['filter_name']) . "%'";
}
if (!empty($data['filter_email'])) {
$implode[] = "email LIKE '" . $this->db->escape($data['filter_email']) . "%'";
}
if (isset($data['filter_newsletter']) && !is_null($data['filter_newsletter'])) {
$implode[] = "newsletter = '" . (int)$data['filter_newsletter'] . "'";
}
if (!empty($data['filter_customer_group_id'])) {
$implode[] = "customer_group_id = '" . (int)$data['filter_customer_group_id'] . "'";
}
if (!empty($data['filter_ip'])) {
$implode[] = "customer_id IN (SELECT customer_id FROM " . DB_PREFIX . "customer_ip WHERE ip = '" . $this->db->escape($data['filter_ip']) . "')";
}
if (isset($data['filter_status']) && !is_null($data['filter_status'])) {
$implode[] = "status = '" . (int)$data['filter_status'] . "'";
}
if (isset($data['filter_approved']) && !is_null($data['filter_approved'])) {
$implode[] = "approved = '" . (int)$data['filter_approved'] . "'";
}
if (!empty($data['filter_date_added'])) {
$implode[] = "DATE(date_added) = DATE('" . $this->db->escape($data['filter_date_added']) . "')";
}
if ($implode) {
$sql .= " AND " . implode(" AND ", $implode);
}
$query = $this->db->query($sql);
return $query->row['total'];
}
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Not sure if I understand you correctly. Shouldn't getTotalCustomers and getCustomers use the same filter? Otherwise the pagination ends up with a total pages which is way too high. I'll take another look at it tomorrow.Daniel wrote:its a complete waste of time addign the above code because it will only count records that have matching records with customer group and language
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
I would have thought this fix is included with 1.5.5.1. It appears is not included so the amendment has to be done manually.
on another note, coupon seems to work after applying the fix however this error is recorded in the log file
vqmod/vqcache/vq2-catalog_model_checkout_coupon.php on line 68
I guess it will work as long as each customer group exists for all languages, especially for the language_id used in the getCustomers query.Daniel wrote:no because for the filter to work it only requires the customer table.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Users browsing this forum: No registered users and 71 guests