Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Tommy Albinsson 121 posts 254 karma points
    Dec 03, 2010 @ 15:48
    Tommy Albinsson
    0

    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

  • Tommy Albinsson 121 posts 254 karma points
    Dec 06, 2010 @ 09:41
    Tommy Albinsson
    0

    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.

  • Søren Spelling Lund 1797 posts 2786 karma points
    Dec 06, 2010 @ 10:44
    Søren Spelling Lund
    0

    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? 

  • Rickard Nilsson 5 posts 25 karma points
    Dec 06, 2010 @ 11:22
    Rickard Nilsson
    0

    No, we used, by mistake, two different catalogs which where mapped to two different host names and languages. Thanks!

  • Søren Spelling Lund 1797 posts 2786 karma points
    Dec 06, 2010 @ 11:30
    Søren Spelling Lund
    0

    I thought this sounded familiar :)

  • Søren Spelling Lund 1797 posts 2786 karma points
    Dec 06, 2010 @ 11:32
    Søren Spelling Lund
    0

    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.

Please Sign in or register to post replies

Write your reply to:

Draft