Ecom:Product:Stock.ID returns different values depending on the language you are in.
The documentation states that the value is generated automatically, but how do I get the same value printed across language layers?
Ecom:Product:Stock.ID returns different values depending on the language you are in.
The documentation states that the value is generated automatically, but how do I get the same value printed across language layers?
Hi Mulle,
Try this...
Go to Settings > Ecommerce > Advanced configuration > Fields
Do you have "Across all languages" enabled for "Stock group"? If so, then you probably have different stock groups configured on each language version of the product.
Edit the product and switch between languages. Are the values for "Stock state" the same?
Sorry about the confusing labels. "Stock state" / "Stock group" refers to the same thing here.
Which version is this?
The problem you are experiencing might be related to some issues we previously had with language versions of stock states. Those issues have been fixed in 9.12
The stock group setting are set as you suggest, but depending on which language you are in it change e.g. => 0 to stock id to LANGUAGEVALUE4 for SV, LANGUAGEVALUE6 for NO etc.
It is a Dw 9.9.5.
You can see the test solution here:
http://dk.dw9dev.juc.dk/
http://de.dw9dev.juc.dk/
http://no.dw9dev.juc.dk/
http://se.dw9dev.juc.dk/
Yes, I can see the issue and it's a bug which was fixed in 9.12.
So I guess you'll have to upgrade. Sorry about that.
You must be logged in to post in the forum