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'.
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?
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?
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.
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?
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...
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..
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.
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
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?
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&category=$3&product=$4" ignoreCase="true" xmlns="" />
<add name="DefaultProductRewrite" virtualUrl="(.*)/c-([0-9]+)/p-([0-9]+)" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="~/shop/product.aspx?catalog=$2&product=$3" ignoreCase="true" xmlns="" />
<add name="DefaultCategoryRewrite" virtualUrl="(.*)/c-([0-9]+)/c-([0-9]+)" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="~/shop/catalog.aspx?catalog=$2&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
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
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.
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
Could you try downloading the uCommerce package from our site and reinstalling it?
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..
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.
is working on a reply...