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.

  • Martin 44 posts 66 karma points
    Dec 11, 2011 @ 16:45
    Martin
    0

    Catalog does not exist

    I created a new 'product catalog group' and named it: test1
    Then i created a 'product catalog' in the 'product catalog group' (test1) and named it: test2
    Lastly I created a category with the name test3 inside the 'product catalog' and added a product to that category.

    Then I tried to run this:
    <xsl:copy-of select="CommerceLibrary:GetCategory('test2', 'Test category')" />

    This is the output:
    The catalog 'test2' does not exist.

    It works for the existing product catalog group named uCommerce which is included in the initial install. What am I doing wrong?

  • Søren Spelling Lund 1797 posts 2786 karma points
    Dec 13, 2011 @ 11:52
    Søren Spelling Lund
    0

    Did you assign a hostname to the new product catalog group? uCommerce will automatically select a catalog based on the hostname or if it can't find that use one which is marked default. If there are multiple product catalog groups set as "Default" it will use the first. This is probably what you're seeing.

Please Sign in or register to post replies

Write your reply to:

Draft