News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

How to create different products for different languages

Started by scarphin, December 10, 2013, 04:56:19 AM

Previous topic - Next topic

scarphin

Hi,
First of all I must say I am amazed with what VM does so thanks for the effort you put in creating such a nice extension.

The ecommerce site I'm trying to build has 2 languages, English (en) and Turkish (tr) and I have 3 types of products and categories:
1- Products and categories to exist only in en language.
2- Products and categories to exist in both languages.
3- Products and categories to exist only in tr language.
I've managed to create products and categories of type 1 and 2 and they are getting displayed accordingly without a problem. But I can't create products and categories of type 3. When I try to create a category with only tr details, I get the error:
vmError: VmTable #__virtuemart_categories_en_gb Check not passed. Neither slug nor obligatory value at category_name for auto slug creation is given
and the category is displayed in both en and tr languages rather than being displayed only in tr. I googled and used the search on this site to find a solution but couldn't come up with anything useful. Is a category or product of type 3 even possible? I also tried switching my default content language to tr but got the same error.

Another thing is when I create a module attached to a 'Products' menu including a 'VirtueMart » Category Layout', I'm getting a menu behavior like:

Products
      Products

I tried to solve this issue by creating a module directly attached to a 'VirtueMart » Category Layout' and it worked fine but then I got the warning:
Assign the component VirtueMart to a menu item
So I created a menu again including a 'VirtueMart » Category Layout' but didn't attach it to a module this time and the warning stopped. From what I see this menu is only there to suspend the warning message and without any use. Is that how things need to be or am I missing something here?

Thanks for your time.

Joomla 2.5.16
VM 2.0.24c
PHP 5.4.12