![]() |
USPS for Admin Only? |
Post Reply ![]() |
Author | |
sdalan ![]() Groupie ![]() ![]() Joined: 10-August-2006 Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() Posted: 24-October-2010 at 12:06pm |
Hello. Can anyone help me disable USPS on the outward-facing store but still be able to use it on the Admin side? We send our samples out USPS for free (the item shows a custom FREE SHIPPING option as the method during checkout).
I tried nixing the CHOOSE PROVIDER drop-down from the page, but then the FREE SHIPPING option did not show - it said instead that rates could not be calculated. I need to keep CUSTOM OPTIONS as my shipping default in Control Panel in order for the FREE SHIPPING to show for samplers (a PC support person might have made some code changes to make that work years ago - I don't know for sure). After working through all the different possibilities, causing the CHOOSESHPMNT.ASP to skip USPS would actually work. Can anyone help? Thanks. I am willing to pay a developer. Using PC 3.1 but planning to move to 4.1 (lots of mods have held me up) very soon. Thanks. |
|
![]() |
|
sdalan ![]() Groupie ![]() ![]() Joined: 10-August-2006 Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
Not perfect but atleast it appears to work as I need. After this line I
strTempOptionShipmentType=session("strOptionShipmentType") I added the following to remove USPS from the drop-down and then force UPS to take the place of USPS if that's what is getting set. '// SD - NIX USPS strTempOptionShipmentType = REPLACE (strTempOptionShipmentType,"USPS","") If session("provider") = "USPS" THEN session("provider") = "UPS" '// SD |
|
![]() |
|
sdalan ![]() Groupie ![]() ![]() Joined: 10-August-2006 Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
Not working, actually. Still showing USPS options, though UPS is on the drop-down, when I test with a fresh session.
|
|
![]() |
|
sdalan ![]() Groupie ![]() ![]() Joined: 10-August-2006 Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
Figured it out. Answer was in SHIPRATES.ASP, an include.
Right before if iUSPSFlag=1 then '~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ' Start: Pre-Filter USPS for Availability '~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ I added '// SD Disable USPS iUSPSFlag=0 '// SD That causes USPS to not make it any further as an available option. |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |