Locales breakes price and adding product to cart

Issue #178 open
Dmitry Voronin
created an issue

If set "LANGUAGE_CODE = 'en'" in settings.py and Default Shop Locale: rus in Shop management then LFS breakes. There are no prices on pages anymore and only 1 product adds to cart however amount we entered.

Comments (10)

  1. Dmitry Voronin reporter

    (Reply via dimk...@gmail.com):

    No error displayed.

    [image: =F7=D3=D4=D2=CF=C5=CE=CE=CF=C5 =C9=DA=CF=C2=D2=C1=D6=C5=CE=C9=C5 1]

    2012/3/30 Kai Diefenbach <issues-reply@bitbucket.org>

  2. Kai Diefenbach repo owner

    I can't reproduce this as I'm not on Windows. However, I assume that this has something to do with the currency tag if there is an invalid locale.

    Can you check the latest tip and report back?

    Thanks Kai

  3. Dmitry Voronin reporter

    (Reply via dimk...@gmail.com):

    Price fixed. But product continues to add by 1 no matter how many we entered

    2012/3/30 Kai Diefenbach <issues-reply@bitbucket.org>

  4. Kai Diefenbach repo owner


    are you sure, that "rus" is a valid locale on your system?

    Is there a message within LFS log file, which says: "Unsupported locale in LMI/Preferences/Default Values/Default Shop Locale: ..."?

    Thanks Kai

  5. Dmitry Voronin reporter

    (Reply via dimk...@gmail.com):

    Yes. When I check " Use international currency codes", it's show my country currency code. There is no message in log file, but with locale 'foobar' it appears.

    2012/4/2 Kai Diefenbach <issues-reply@bitbucket.org>

  6. Log in to comment