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.
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:
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.
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.
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
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.
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.
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.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.