In my customer roles, I have set up all "Registered" members to have free shipping. Additionally, I have set it up so that each product has the "Free Shipping" checkbox selected. My problem is that the shipping estimator still appears on the order summary page. Is there a way to hide this in the Admin tool? If I'm doing free shipping for all my products, there's no need to have the estimator. As a quick fix, I've commented out the code in the View, but would rather not do it that way. Thanks!
You can also change the source code in order to disable it only for registered customers: 1. Open \src\Presentation\Nop.Web\Controllers\ShoppingCartController.cs file 2. Find PrepareShoppingCartModel method 3. Replace
thanks! Would I be able to enable the shipping estimator only for a non-system customer role that I defined? I navigated to the code, and I see that in the Intellisense, if I type:
!_workContext.CurrentCustomer.
There is a "CustomerRoles" collection. Is that populated with the all the roles for me to check against?