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

2.022 shop config not saving + multilingual issue

Started by lindapowers, July 09, 2013, 22:02:49 PM

Previous topic - Next topic

lindapowers

Hi first of all thanks a lot for releasing this great version.

2 things I noticed when updating from 2.021E to 2.022, I intalled the core, then the AIO, updated tables too.

1 -At the VM config - tab shop/vendor won't save any parameters, you change something click save and it shows 2 messages as if the new settings are saved but they aren't.

2 -All my products and categories are shown in a different language from the main spanish language we use.

Actually it seems is taking the order set in the global config, as they are showing names of products and categories in catalán instead of spanish:

Multilingual configuration:

    Catalan (català)
    English (United Kingdom)
    Spanish (español)
    Français (FR)

If I remove catalan, they show in english, if I then I remove english is shown in spanish.

So product names and categories are shown in the first language set there, however I see no way of reordering it.

The payment method at the order list view also shows in catalan. So there's something weird going on with languages. The options and most of VM itself shows in spanish.

Regards

Milbo

The problem with the shop config. Hmmm I cannot reproduce it. Which value do you change? For html/php all tabs are one form. So either it works everywhere or nowhere. Or some values do not work, like all multidropdowns.

The language, hmm. I just added fallback. the strange thing is that you do not pass this test

if(!in_array($siteLang, $langs)) {

$siteLang is selected one and $langs are the configured ones in VM. So it seems like that if you connect to your store, you do not have the spain language Tag automatically set.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Milbo

The file is for /administrators/components/com_virtuemart/helpers.

Looks like the language switcher does not set a standard and vm is checking if the requested language exists in vm, and if not takes the first.
The new file gets the site default if the language string is still empty and is then doing the check if the requested language appears in vm.

[attachment cleanup by admin]
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

lindapowers


Nibiru7

Hello! VM updated to version 2.0.22 and in the admin lost all products and categories, and the site's okay. In what could be the problem? Thank you.

slavik86

Hello! VM updated to version 2.0.22 and when I start click a category and then manufacturer I see not all manufactured products, but see a before clicked category product.
my site is www.powerbody.lv

For example I click category and link looks this
http://powerbody.lv/shop-store/aminoskabes

than I click a manufacturer and link looks this
http://powerbody.lv/shop-store/aminoskabes/manufacturer/universal-nutrition

Befored VM 2.0.20b  manufacturer link looks this and i  well see all manufactured products. (without aminoskabes)

http://powerbody.lv/shop-store/manufacturer/universal-nutrition

Whats the problem ? I would like to have all the products.


goretex34

Wow Milbo, thanks for your solution!
Now I can breathe!  8)
I updated from 2.20b - 2.22a  and thought I lost my Spanish categories!  :o
Let's hope the bug is fixed in future updates  ;D

------------------------------------
www.Zeesl.com  @Zeesl
www.chartconsulting.net @chartcon
@goretex34

Milbo

I just used the default language switcher which provides a default tag, there seems to be another switcher not setting the default.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/