About the Problem to show products in different languages
Posted: Sun Feb 15, 2009 8:20 pm
Hi Daniel,
I have a question.
On a quick look at catalog/model/catalog/product.php I see the following statements:
AND pd.language_id = '" . (int)$this->language->getId() . "' AND ss.language_id = '" . (int)$this->language->getId() . "'Why is there 2 language statements? And it looks like the "ss.xxx" is conected to the product stock and has nothing to do with the language selection??!!
The second AND statement, "' AND ss.language_id = '" . (int)$this->language->getId() . should it really be there?? because if I remove it - products show up in all languages just fine!
Sorry for my "shallow" question, I haven't had time to look deeper on the code.
/Leffe
I have a question.
On a quick look at catalog/model/catalog/product.php I see the following statements:
AND pd.language_id = '" . (int)$this->language->getId() . "' AND ss.language_id = '" . (int)$this->language->getId() . "'Why is there 2 language statements? And it looks like the "ss.xxx" is conected to the product stock and has nothing to do with the language selection??!!
The second AND statement, "' AND ss.language_id = '" . (int)$this->language->getId() . should it really be there?? because if I remove it - products show up in all languages just fine!
Sorry for my "shallow" question, I haven't had time to look deeper on the code.
/Leffe