3 replies [Last post]
PaniX's picture
Offline
Joined: 01/27/2010
Juice: 95
Was this information Helpful?

I know there are several issues with internationalization for ubercart, tha fact of 1 translation = 1 more node etc.

I have been experimenting around with the hotel module fixing various things about multilingual support with patches etc that i have found around the forum.

What isse that i am stuck at the moment is the following.

When i checkout from the master node and then change the order status to completed...the availability is reduced as it should.
However when i checkout from one of the translated ndoes the availibility never gets reduced. It doesn get affected.

Has anyone else come across this? Or does this happen only yo me.

Thanks for any suggestions/advices.
Hopefully someone will answer soon as it never occured to me to test this and the site has been live for a month now Smiling

PaniX's picture
Offline
Joined: 01/27/2010
Juice: 95
Re: Hotel Availability issue

I guess its just me then Sticking out tongue

Andy's picture
Offline
Administrator
Joined: 08/07/2007
Juice: 1076
Re: Re: Hotel Availability issue

Without having looked into it to know for certain, I'm guessing that since each translated product is a unique product, the inventory system reduces the translated product instead of the actual product. I don't have a good solution for this off the top of my head. The real problem is how translation works... I think the best solution is to modify the inventory module to account for translated products and handle this case correctly. Most users keep their inventory outside of Ubercart (in their accounting software etc...) so the inventory system doesn't receive a lot of love Smiling

PaniX's picture
Offline
Joined: 01/27/2010
Juice: 95
hehe thats true. In the case

hehe thats true.

In the case of the module, even tho the translated nodes are considered different products, when i checkout from the master node tha availability gets reduced from the translated nodes but not the other way around...which is wierd.