After creating a package with from my local installation of umbraco and ucommerce and installing it on my test server i am no longer able to get the price on products.
The package included some xslt files with updates and the dll file for the project. The installation failed at the end with asp screen of death, but all the files seemed to have been copied and the site seemed to work. Almost. I discovered that the prices on my product not displays as NaN. When i look in the xml for the product the currency is set to EUR, and the price attribute is empty. First of all, my catalog has not got EUR as currency it has a new pricegroup (SEK) but the price does not load. All the other properties on my product loads correctly, like descriptin, model and so on. I have also tried to switch back to EUR and put there value in there, but i stil only get NaN.
It seems like when we use GetProduct the xml for the product always contains EUR and an empty price. When fetching the product from GetCategory instead, the price loads correctly. Something seems wrong with the GetProduct method.
When using GetCategories and GetProduct you have to specify a catalog as a context for determining the price of products (your configured price group for your catalog). Are you using the same catalog name for both calls?
Not able to get price from product anymore
Hello,
After creating a package with from my local installation of umbraco and ucommerce and installing it on my test server i am no longer able to get the price on products.
The package included some xslt files with updates and the dll file for the project. The installation failed at the end with asp screen of death, but all the files seemed to have been copied and the site seemed to work. Almost. I discovered that the prices on my product not displays as NaN. When i look in the xml for the product the currency is set to EUR, and the price attribute is empty. First of all, my catalog has not got EUR as currency it has a new pricegroup (SEK) but the price does not load. All the other properties on my product loads correctly, like descriptin, model and so on. I have also tried to switch back to EUR and put there value in there, but i stil only get NaN.
Any ideas? Thanks in advance
/Tommy
It seems like when we use GetProduct the xml for the product always contains EUR and an empty price. When fetching the product from GetCategory instead, the price loads correctly. Something seems wrong with the GetProduct method.
We are using th 1.1.1.0 version of ucommerce.
When using GetCategories and GetProduct you have to specify a catalog as a context for determining the price of products (your configured price group for your catalog). Are you using the same catalog name for both calls?
No, we used, by mistake, two different catalogs which where mapped to two different host names and languages. Thanks!
I thought this sounded familiar :)
By the way I highly recommend an update to version 1.2. Performance is much better with the later version as a perf issue snuck into 1.1.
is working on a reply...