RESOLVED - Shipping grid based on order total

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
12 years ago
Is this possible to have a shipping grid where shipping is based on the total of order?  Right now it can have based on weight of product(s).

For example:

0 - $35 = $8
$35 - $100 = $10
$100 - $150 = $13
$150+ = $0

1) Can this be done currently?
2) If no, where do I look to add?

Currently using ver 2.10 but want to upgrade to 2.20

Thanks.
12 years ago
lleemon wrote:
Is this possible to have a shipping grid where shipping is based on the total of order?  Right now it can have based on weight of product(s).

For example:

0 - $35 = $8
$35 - $100 = $10
$100 - $150 = $13
$150+ = $0

1) Can this be done currently?
2) If no, where do I look to add?

Currently using ver 2.10 but want to upgrade to 2.20

Thanks.

https://www.nopcommerce.com/boards/t/11462/shipping-by-order-total.aspx
12 years ago
I am using nopCommerce 2.10.

I just installed the plugin: Nop.Plugin.Shipping.ByTotal found at
http://goo.gl/yQmyF

Here is what I did:
1) Downloaded and unzipped.   Moved folder to my /plugins folder
2) Logged into admin and went to  Configuration >> Plugins and clicked Reload list of plugins which showed the new plugin show I clicked the install link.
3) Went to Configuration >> Shipping >> Shipping Rate Computation Methods
4) 4) Made all items inactive except Shipping.ByTotal
5) Clicked the 'Configure' link of Shipping.ByTotal
6) I get the following error:
We're sorry, an internal error occurred that prevents the request to complete.

Our supporting staff has been notified with this error and will address this issue shortly. We profusely apologize for the inconvenience and for any damage this may cause. You might want to try the same action at later time
7) Go to System >> Log and on first entry click on the 'View' link to see error details which are:

Log Entry Details:
Log Level: Error
Short message: Execution of the child request failed. Please examine the InnerException for more information.
Full message: System.Web.HttpException (0x80004005): Execution of the child request failed. Please examine the InnerException for more information. ---> System.Web.HttpException (0x80004005): The controller for path '/Admin/Shipping/ConfigureProvider' was not found or does not implement IController. at System.Web.Mvc.DefaultControllerFactory.GetControllerInstance(RequestContext requestContext, Type controllerType) at System.Web.Mvc.DefaultControllerFactory.CreateController(RequestContext requestContext, String controllerName) at System.Web.Mvc.MvcHandler.ProcessRequestInit(HttpContextBase httpContext, IController& controller, IControllerFactory& factory) at System.Web.Mvc.MvcHandler.<>c__DisplayClass6.<BeginProcessRequest>b__2() at System.Web.Mvc.SecurityUtil.<>c__DisplayClassb`1.<ProcessInApplicationTrust>b__a() at System.Web.Mvc.SecurityUtil.<GetCallInAppTrustThunk>b__0(Action f) at System.Web.Mvc.SecurityUtil.ProcessInApplicationTrust(Action action) at System.Web.Mvc.SecurityUtil.ProcessInApplicationTrust[TResult](Func`1 func) at System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state) at System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContext httpContext, AsyncCallback callback, Object state) at System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData) at System.Web.Mvc.HttpHandlerUtil.ServerExecuteHttpHandlerAsyncWrapper.<>c__DisplayClass7.<BeginProcessRequest>b__6() at System.Web.Mvc.HttpHandlerUtil.ServerExecuteHttpHandlerWrapper.Wrap[TResult](Func`1 func) at System.Web.Mvc.HttpHandlerUtil.ServerExecuteHttpHandlerWrapper.Wrap[TResult](Func`1 func) at System.Web.Mvc.HttpHandlerUtil.ServerExecuteHttpHandlerAsyncWrapper.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData) at System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride) at System.Web.HttpServerUtility.Execute(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage) at System.Web.HttpServerUtility.Execute(IHttpHandler handler, TextWriter writer, Boolean preserveForm) at System.Web.HttpServerUtilityWrapper.Execute(IHttpHandler handler, TextWriter writer, Boolean preserveForm) at System.Web.Mvc.Html.ChildActionExtensions.ActionHelper(HtmlHelper htmlHelper, String actionName, String controllerName, RouteValueDictionary routeValues, TextWriter textWriter) at System.Web.Mvc.Html.ChildActionExtensions.Action(HtmlHelper htmlHelper, String actionName, String controllerName, RouteValueDictionary routeValues) at ASP._Page_Administration_Views_Shipping_ConfigureProvider_cshtml.Execute() in c:\HostingSpaces\xx\domain.com\wwwroot\Administration\Views\Shipping\ConfigureProvider.cshtml:line 16 at System.Web.WebPages.WebPageBase.ExecutePageHierarchy() at System.Web.Mvc.WebViewPage.ExecutePageHierarchy() at System.Web.WebPages.StartPage.RunPage() at System.Web.WebPages.StartPage.ExecutePageHierarchy() at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) at System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance) at System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext, TextWriter writer) at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) at System.Web.Mvc.ControllerActionInvoker.InvokeActionResult(ControllerContext controllerContext, ActionResult actionResult) at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass1c.<InvokeActionResultWithFilters>b__19() at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass1c.<>c__DisplayClass1e.<InvokeActionResultWithFilters>b__1b() at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)
Page URL: http://www.domain.com/admin/shipping/configureprovider?systemname=shipping.bytotal
Referrer URL: http://www.domain.com/Admin/Shipping/Providers

Any thoughts on what I did wrong or need to do?
12 years ago
lleemon wrote:
I am using nopCommerce 2.10.

I just installed the plugin: Nop.Plugin.Shipping.ByTotal found at
http://goo.gl/yQmyF

Here is what I did:
1) Downloaded and unzipped.   Moved folder to my /plugins folder
2) Logged into admin and went to  Configuration >> Plugins and clicked Reload list of plugins which showed the new plugin show I clicked the install link.
3) Went to Configuration >> Shipping >> Shipping Rate Computation Methods
4) 4) Made all items inactive except Shipping.ByTotal
5) Clicked the 'Configure' link of Shipping.ByTotal
6) I get the following error:
We're sorry, an internal error occurred that prevents the request to complete.

Our supporting staff has been notified with this error and will address this issue shortly. We profusely apologize for the inconvenience and for any damage this may cause. You might want to try the same action at later time
7) Go to System >> Log and on first entry click on the 'View' link to see error details which are:

[...]

Any thoughts on what I did wrong or need to do?


You need to restart the application.

See the following post by 7Spikes for a solution to restarting nopCommerce 2.10 (add a blank space to the end of Global.asax and save the file):
https://www.nopcommerce.com/boards/t/10969/nop-20-plugin.aspx?p=4#51318

.
12 years ago
mb - Thanks!   Yes, changing the Global.asax file with space then reuploading it did the trick.   Thanks.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.