Steps to reproduce bug:

0. (Default language is language A)
1. user adds an item using language B
2. user switches to language A and views cart
3. user checks item for deletion and then updates cart
4- cart is updated but item is *not* removed from the cart

The only way to remove the item is to switch to language B and perform the deletion ...

CommentFileSizeAuthor
#2 Screenshot.png11.27 KBAnonymous (not verified)
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Dokuro’s picture

Hi Totsubo,

I don't seem to have this issue. I just checked on two different builds.

Can you list the i18n modules you are running?

Anonymous’s picture

Title: If user switches languages, cannot delete items in cart (i18n related bug) » Cart contents appear in language other than display language(i18n related bug)
FileSize
11.27 KB

You're right about the deletion issue. I had installed firewing's patch for multilingual support and had forgotten to turn it off. If I remove that module then I can delete the items from the cart.

However, there is a problem in that when you add an item in English, if you then switch to Japanese and look at your cart's content you will see that the items shows up with it's English description. This is described here: http://www.firewing1.com/node/27 as the third problem "Adding items to the cart in one language, then switching to another language does not localize the cart contents".

I thought your patch/modules would fix this but maybe it got missed in testing since it's not an obvious bug.

Steps to reproduce bug:

0. (Default language is language A. Current language is A)
1. user adds an item to cart. Item is displayed in language A
2. user switches to language B and views cart
3. item is listed in cart but using language A. Product title should be in currently selected language B

I've attached a screen shot. The current language is Japanese. There are two items in the cart, the first one's description is in English because it was added to the cart when the current language was English. Now that the language has been switched to Japanese it should be in Japanese but it is not

Dokuro’s picture

Hi Totsubo,

Our patch was more of getting it to work for Japanese only, but you are very right. This is a major issue. Time to see what we can workout now I guess. I wish I had a sit that needed this right now. I will see if we can come up with a quick fix if you don't seem to find one.

-Shaun

Anonymous’s picture

Thanks Shaun.

As noted Firewing has a solution for this specific issue described here: http://www.firewing1.com/node/27 (the third 'problem': "Adding items to the cart in one language, then switching to another language does not localize the cart contents")

The only problem is that his proposed module clashes with the Japanese Ubercart modules you've submitted and creates that initial issue I reported about problems with item deletions :(

Dokuro’s picture

We will check into this. Sorry to make you wait, but I hope we can come up with a good solution soon, let me know if you work one out.

Anonymous’s picture

Anonymous’s picture

Status: Active » Closed (duplicate)