Page 1 of 1

About the Problem to show products in different languages

Posted: Sun Feb 15, 2009 8:20 pm
by Blueforce
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

Re: About the Problem to show products in different languages

Posted: Sun Feb 15, 2009 8:56 pm
by Daniel
The new version has a stock status table. This table allows you to set the stock status if a product runs out of stock.

Instead of just having "out of stock" you can have "5 - 10 days" or "ordered on request" etc..

When adding a new language you need to update this table before new products are show.

After I finish writing the 20+ payment gateways I'm going to write a user guide explaining all this stuff.

Re: About the Problem to show products in different languages

Posted: Sun Feb 15, 2009 9:19 pm
by Blueforce
Hi

Oh... sorry!!!

I forgott to add "out of stock" statuses for the other language!!

Please Disregard this post!! Everything is just fine!

Sorry!

/Leffe