Enable / disable shipping methods, now we can only add / delete...

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
2 years ago
Hi maybe it's possible to add feature like "enable / disable" for shipping methods in Manual (Fixed or By Weight).

We need sometimes disable shipping company for few hours. / days.. Actual it's impossible. We need delete shipping method with Name / description / price...

And again, when we want enable it, we need add new one... name / description / price display position etc.

Sometimes in christmas peak (and many other scenerios) we disable some shipping methods... now nopcommerce don't support this (or maybe somewhere i can enable/disable it by admin panel?)
2 years ago
To enable / disable shipping method Admin -> Configuration -> Shipping -> Shipping providers  -> edit (Is active checkbox)
2 years ago
Yes, but i talking about "next step" where we have shipping methods. There we can only delete / add.
2 years ago
Go to Admin/Shipping/Restrictions, then "Please mark the checkbox(es) for the country or countries in which you want the shipping method(s) not available"
2 years ago
Yes, it would be a nice feature that Fixed could have an Active checkbox.
Alternately, set up the By Weight page, and then when needed, you can adjust the criteria so that the method would never be selected - e.g. set the Zip to "*HOLD*"

Or, (shameless plug ;), Shipping Director can do it, and the rules can be set up in advance (and limit the duration) by looking at the date and time. In an Option rule, exclusion can be done using a Name Expression that returns blank ""  - examples

Boolean
No Next Day
"Fri,Sat,Sun".Contains(DateTime.Today.ToString("ddd"))

Option
...
[No Next Day] and [$Name].Contains("Next Day Air") ? "" : [$Name]



Examples of various expressions for 'No Next Day':

(e.g. Not on Xmas holiday)
DateTime.Today.Month = 12 and (DateTime.Today.Day = 24 or DateTime.Today.Day = 25)

(e.g. Not after 3 pm)
DateTime.Now.Hour >= 15

(e.g. not on Saturday after 1 pm)
DateTime.Today.ToString("ddd") = "Sat" and DateTime.Now.Hour >= 13
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.