gonafr Posted September 10, 2009 Share Posted September 10, 2009 Hi there,Just want to to know if it's possible to have different products when we select different languages in the frontend.Like having two languages Portuguese and English and when we select Portuguese we see in the store the Portuguese products and when select English we just see the English products.Thanks in advance. Link to comment Share on other sites More sharing options...
Radu Posted September 10, 2009 Share Posted September 10, 2009 it is a custom modification that can be made but if you are not a coder you can't do much about it Link to comment Share on other sites More sharing options...
gonafr Posted September 10, 2009 Author Share Posted September 10, 2009 I still haven't looked at the core of the prestashop code but if you (or someone) already use this solution and can paste here some code snippets it will be great. Link to comment Share on other sites More sharing options...
Radu Posted September 10, 2009 Share Posted September 10, 2009 sorry I don't have it but basically in the adminproducts tab add another field that stores the language id for which product is available.than, in front shop wherever selection from the products table are made use $cookie->id_lang to select the products (the products that have langID (field you created in products table) equal with cookie->id_lang) Link to comment Share on other sites More sharing options...
Newest Posted September 14, 2009 Share Posted September 14, 2009 May be you should check this thread. http://www.prestashop.com/forums/viewthread/23938/themes/passing_a_variable_in_a_url/http://www.prestashop.com/forums/viewthread/22015/themes/is_there_a_way_to_have_two_different_product_pagesI think it is very difficult to do it your self unless you know PHP very well. Link to comment Share on other sites More sharing options...
Radu Posted September 15, 2009 Share Posted September 15, 2009 I doubt the above links will help in such a caseIt's not straight forward to code, very few or none had encountered this need before, therefore you can't find a free answer and the reason is it takes time and time is scarce among programmers Link to comment Share on other sites More sharing options...
sabrinaandree Posted September 29, 2009 Share Posted September 29, 2009 Hi gonafr, i am having the same problem and i wanted to know if you finally find the solution ? Link to comment Share on other sites More sharing options...
gonafr Posted September 29, 2009 Author Share Posted September 29, 2009 Hi there,I haven't yet implemented it but from what i see Radu solution seems to work.Now i am working in another projects but when i came back to this project i will share my implementation.Don't know really when i will be back to Prestashop, maybe only in a couple of months... If somebody program the solution first please share the steps and the code with the rest of us.Best regards. Link to comment Share on other sites More sharing options...
sabrinaandree Posted September 29, 2009 Share Posted September 29, 2009 thanks for your reply, i'll look at Randu solution. Sabrina Link to comment Share on other sites More sharing options...
Recommended Posts