ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Customizing ProductCart
  New Posts New Posts RSS Feed - USPS for Admin Only?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

USPS for Admin Only?

 Post Reply Post Reply
Author
Message
sdalan View Drop Down
Groupie
Groupie
Avatar

Joined: 10-August-2006
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote sdalan Quote  Post ReplyReply Direct Link To This Post Topic: USPS for Admin Only?
    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.
Back to Top
sdalan View Drop Down
Groupie
Groupie
Avatar

Joined: 10-August-2006
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote sdalan Quote  Post ReplyReply Direct Link To This Post Posted: 24-October-2010 at 12:35pm
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

Back to Top
sdalan View Drop Down
Groupie
Groupie
Avatar

Joined: 10-August-2006
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote sdalan Quote  Post ReplyReply Direct Link To This Post Posted: 24-October-2010 at 12:47pm
Not working, actually. Still showing USPS options, though UPS is on the drop-down, when I test with a fresh session.
Back to Top
sdalan View Drop Down
Groupie
Groupie
Avatar

Joined: 10-August-2006
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote sdalan Quote  Post ReplyReply Direct Link To This Post Posted: 24-October-2010 at 1:13pm
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.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.094 seconds.