Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Different products for different languages in osCommerce


m4000

Recommended Posts

Hi! I have the following question:

 

My store is currently available in two different languages/countries, A and B.

However, I have some products that are only available in country A. How can

I make those products not to show up when language B is active?

 

Thanks for any help!

Link to comment
Share on other sites

Interesting question.. :)

 

Haven't seen an contribution/soloution for this in Oscommerce.

So you would have to configure something special, cause using if "product name" is empty in lanuage B - dont show product would be too troublesome.

 

Think MagentoCommerce supports that problem, but making a fix for Oscommerce should be possible too.

Link to comment
Share on other sites

Hi Mattias!

 

1.- Create a new field in the products table, and another in the categories table, for the language id.

 

2.- Modify the file admin/categories.php to make it register those new fields.

 

3.- Modify the queries that show the categories and products so they run with this new condition, and show only those that match the selected language.

 

If you make it work, please share it with us, as I think it could very useful for many people :D

Link to comment
Share on other sites

Hi Mattias!

 

1.- Create a new field in the products table, and another in the categories table, for the language id.

 

2.- Modify the file admin/categories.php to make it register those new fields.

 

3.- Modify the queries that show the categories and products so they run with this new condition, and show only those that match the selected language.

 

If you make it work, please share it with us, as I think it could very useful for many people :D

 

 

Thanks! I'm not sure that I'm that good, but we'll see. If anyone knows an existing solution, then let me know. Thanks! :)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...