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.

  • Denford 132 posts 323 karma points
    Dec 20, 2012 @ 18:16
    Denford
    0

    Cannot create basket when not in product catalog

    Hi Guys,

    We have ucommerce 2.6.1.0 running on umbraco 4.7.2 and were are are basically trying to display our basket, now this is working on local and we have deployed to our staging and the basket is throwing up the error bellow:

    Error loading Razor Script DisplayUCommerceProductsBasket.cshtml
    Cannot create basket when not in product catalog. Make sure that SiteContext.Current.CatalogContext.CurrentCatalogName contains the name of the current product catalog.

    was reading on some posts and one suggested adding a query string with the catalog name e.g. ?catalog=name and this in turn is giving me a new error bellow;

    Error loading Razor Script DisplayUCommerceProductsBasket.cshtml
    No product catalog group supporting the url "http://xxxxx:80/basket/?catalog=PSBC" found.

    Am not sure exactly how to solve this and any help including some code samples would be greatly appreciated. A couple more details we are not using the default shop url for any of our pages as the client didnt want that so we have built the code for the shop stuff in our product lisiting pages, product, basket and confirmation pages. I have tried changing the url to all various formats of our staging site to no avail.

    Thanks in Advance

    Denford

  • Søren Spelling Lund 1797 posts 2786 karma points
    Dec 21, 2012 @ 13:41
    Søren Spelling Lund
    0

    Probably what's happening is that your store is configured to answer on a specific URL in uCommerce. I'm thinking that a dev hostname made it to stage.

    You can fix this by leaving the store hostname on "Default" or change the hostname to match the one you're using in your stage environment. In my case the URL is "U3.dev" as shown below:

    Hope this helps.

  • Denford 132 posts 323 karma points
    Dec 24, 2012 @ 12:22
    Denford
    0

    hi,

    thanks for that but unfortunately i did read another post somewhere suggesting that so i tried it, created a local url and a test one used each on on the different enviroment but that dint help, used the default on both and same result. I have however noticed that my basket isnt being created on the test site (used an jquery alert to display stuff from the basket) so still amo not sure whats happening. Anyway i am going to try and redo the site using ucommerce 3 instead, tried upgrading before got all sorts of errors i think because of the packages on the site having conflicting dlls so i think a rebuild is my best option.

    will post how i get on.

     

     

  • Søren Spelling Lund 1797 posts 2786 karma points
    Jan 02, 2013 @ 14:14
    Søren Spelling Lund
    0

    Thank you. Please let me know if you need additional help.

    If you run into trouble please take a look at the "umbracoLog" table in the database. uCommerce will log relevant information there to help you solve the problem.

Please Sign in or register to post replies

Write your reply to:

Draft