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.

  • Lene Engholst 5 posts 26 karma points
    Mar 27, 2012 @ 21:41
    Lene Engholst
    0

    How do I find the frontend?

    Hi

    I have created a shop with categories, and a product, but I have some diffeculties to find the right path to the shop when I want to test the result. I can type the correct URL like you see below in my browser, but another URL is shown when I click on for example 'trykte bøger'. http://testshop.sliptd.com/publikationer/trykte-boeger/c-28/c-72 and the 'page cannot be found'.

    What do I do wrong?

    Lene

  • Søren Spelling Lund 1797 posts 2786 karma points
    Mar 27, 2012 @ 22:32
    Søren Spelling Lund
    0

    The initial URL is www.yourdomain.com/shop.aspx. from there you'll see the /c-xx/c-xx/p-xx URLs, which are the prettified URLs.

    The 404 error indicates the URL rewriting rules are not in place in /config/urlRewriting.config. Can you verify that you've got entries in the config relating to catalog, category, and product?

  • Freddy Bang 6 posts 26 karma points
    Mar 29, 2012 @ 10:05
    Freddy Bang
    0

    Hi Søren,

    I have installed a standard Umbraco 4.7.1 using the WebDeploy approach without any starter packs. Install the Robots.txt packagde and the uCommerce packagde via the Umbraco package Repository. Both installed fine and the /config/urlRewriting.config.has been automatically updated with the rules below, which I assume is performed by the uCommerce packagde?

        <add name="DefaultCategoryProductRewrite" virtualUrl="(.*)/c-([0-9]+)/c-([0-9]+)/p-([0-9]+)" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="~/shop/product.aspx?catalog=$2&amp;category=$3&amp;product=$4" ignoreCase="true" xmlns="" />
        <add name="DefaultProductRewrite" virtualUrl="(.*)/c-([0-9]+)/p-([0-9]+)" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="~/shop/product.aspx?catalog=$2&amp;product=$3" ignoreCase="true" xmlns="" />
        <add name="DefaultCategoryRewrite" virtualUrl="(.*)/c-([0-9]+)/c-([0-9]+)" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="~/shop/catalog.aspx?catalog=$2&amp;category=$3" ignoreCase="true" xmlns="" />
        <add name="DefaultCatalogRewrite" virtualUrl="(.*)/c-([0-9]+)" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="~/shop/catalog.aspx?catalog=$2" ignoreCase="true" xmlns="" />

    I'm not sure if there are any manual steps involved after installing the uCommerce packagde if so I haven't performed any steps before handing the testshop over to the client for further category/product creation process.

    Hope you can spot the missing step in the testshop.

    Thanks Freddy

     

     

  • Freddy Bang 6 posts 26 karma points
    Mar 29, 2012 @ 10:23
    Freddy Bang
    0

    Hi again,

    I found this post http://blog.lasseeskildsen.net/post/Setting-Up-Simple-URL-Rewriting-In-uCommerce.aspx on Lasse's blog but the simple rules doesn't match the Default rules added to the .config file by the packagde installer. So maybe there is a problem with the UrlRewrite rules but not sure if you can provide working rules then from your toolbox?

    thanks Freddy 

  • Søren Spelling Lund 1797 posts 2786 karma points
    Mar 29, 2012 @ 15:21
    Søren Spelling Lund
    0

    Hi Freddy,

    There are no manual steps when installing uCommerce. Everything should just magically work. Did you install both packages?

    Please ignore the post. It was written before URL rewriting was added as a standard feature.

     

  • Freddy Bang 6 posts 26 karma points
    Mar 29, 2012 @ 15:28
    Freddy Bang
    0

    Hi Søren,

    Yes both packagdes was installed first Robots.txt and then uCommerce by searching the Umbraco package Repository and installing them this way. I have not requested any licens file so the log table of course is repeating the "The uCommerce license file is either empty or missing." error.

    No product catalog group supporting the url "http://testshop.XXX.com:80/shop.aspx" found. UCommerce.EntitiesV2.ProductCatalogGroup FindProductCatalogGroupForDomain() at UCommerce.Runtime.CatalogContext.FindProductCatalogGroupForDomain() at UCommerce.Runtime.CatalogContext.get_CurrentCatalogSet() at UCommerce.Xslt.CatalogLibrary.GetRootCategories(String catalogName, Boolean includeFullStructure) at UCommerce.Xslt.Library.<>c__DisplayClass6.<GetRootCategories>b__5() at UCommerce.Xslt.Library.HandledCall[T](Func`1 method)

    Was solved by Managing Hostname > enter host and selected Danish language > and adding the host name to shop catalog in the Commerce section..

    But no luck with URL Rewritting the catalog/category/products elements only get 404 errors...

    /Freddy

  • Søren Spelling Lund 1797 posts 2786 karma points
    Mar 29, 2012 @ 15:37
    Søren Spelling Lund
    0

    Could you try downloading the uCommerce package from our site and reinstalling it?

  • Freddy Bang 6 posts 26 karma points
    Mar 29, 2012 @ 15:58
    Freddy Bang
    0

    Will I need to uninstall the existing packagde first and follow the upload steps from the movie in the uCommerce TV section? I'm affraid of getting dublicated packagde installed in the umbraco..

  • Søren Spelling Lund 1797 posts 2786 karma points
    Apr 24, 2012 @ 07:56
    Søren Spelling Lund
    0

    Your package will not be duplicated. Umbraco will show two nodes under the installed packages section, but that's the only quick. It doesn't affect operation of either Umbraco or uCommerce.

Please Sign in or register to post replies

Write your reply to:

Draft