I have upgraded to TeaCommerce v3.1.4 from v2 in a Umbraco 6 project and have created a Marketing campaign in our store.
However I am unable to add any Rules or Awards as the ajax call in campaign.controller.js (line 3) to /umbraco/backoffice/teacommerce/campaigns/getmanifestsforrules/ is returning a 404 error.
I have checked the teacommerce dlls in the bin folder match with the versions in the 3.1.4 package and there are no errors in the Umbraco log file.
Does anyone have any ideas how to get this working or what to investigate next?
Tested with Umbraco 7 and that URL works. So it might be a bug with the v6 version. Could you update to Umbraco 7?
Else try and find what the URL should be. Might be that you need to remove the backoffice or something like that. Then you can just change the url in the javascript or html frontend file that uses that url.
Marketing Rules 404 after upgrade
I have upgraded to TeaCommerce v3.1.4 from v2 in a Umbraco 6 project and have created a Marketing campaign in our store. However I am unable to add any Rules or Awards as the ajax call in campaign.controller.js (line 3) to /umbraco/backoffice/teacommerce/campaigns/getmanifestsforrules/ is returning a 404 error.
I have checked the teacommerce dlls in the bin folder match with the versions in the 3.1.4 package and there are no errors in the Umbraco log file.
Does anyone have any ideas how to get this working or what to investigate next?
Hi Tom
What URL gives you a 404 - please see the URL in your chrome debug console to see the exact URL as Umbraco is showing Tea Commerce in an iFrame.
One thing to be sure about is that all old files was overwritten.
Kind regards
Anders
Hi Anders,
The url that gives a 404 is https://localhost:44300/umbraco/backoffice/teacommerce/campaigns/getmanifestsforrules/
I am running the website locally using IISExpress from Visual Studio 2015 which is running https on port 44300
Tested with Umbraco 7 and that URL works. So it might be a bug with the v6 version. Could you update to Umbraco 7?
Else try and find what the URL should be. Might be that you need to remove the backoffice or something like that. Then you can just change the url in the javascript or html frontend file that uses that url.
https://demo.teacommerce.net/umbraco/backoffice/teacommerce/campaigns/getmanifestsforrules/
Kind regards
Anders
Hi Anders,
I removed the "backoffice/" section from all the ajax urls in the following js files:
And the backoffice Marketing section now functions in Umbraco 6. Many thanks for your help.
is working on a reply...