Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [ic] Localization causes misbehavior of basket?

At 12:50 PM 11/23/00 -0500, you wrote:
>Quoting Ton Verhagen ([email protected]):
> > Dear All,
> >
> > I encountered a problem while localizing the construct demo.
> >
> > Entries in locale database:
> >
> > code  en_US   de_DE   fr_FR   nl_NL
> > ProductFiles  products        de_products     fr_products     nl_products
> > products      products        de_products     fr_products     nl_products
> >
> > With these settings all searches perform well (as long as no file is
> > explicitly mentioned in search).
> > In other words, when a locale is in effect, e.g. nl_NL, the results come
> > from the associated products table (nl_products). So far so good.
> > However, when I order a product when nl_NL is in effect, the basket shows
> > info coming from 'products' and mv_ib is set to 'products'.
> > Is this intended behavior, have I overlooked something, or is this a bug?
> >
>Not intended. You can help by putting this code at the top of your
>basket page and telling me what you see:
>         push @out, "ProductFiles: ";
>         push @out, join ",", @{$Config->{ProductFiles}};
>         push @out, "\nDefaultLocale: $Config->{DefaultLocale}\n";
>         push @out, "current locale: @@[email protected]@\n";
>         return join "", @out;


Have accessed the catalog with:

Results from your code:
ProductFiles: nl_products DefaultLocale: current locale:

Why are there no DefaultLocale and current locale showing up?
Hope you'll find out what's wrong.

Thanks a lot.

Ton Verhagen

Interchange-users mailing list
[email protected]

Search for: Match: Format: Sort by: