Page 1 of 1

PHP help on a shopiing-scart!?~

Posted: Fri Sep 05, 2008 3:17 pm
by zaurm
Hello! My website www.zpstyle.com has some problems with a UPS PHP delivery file http://zpstyle.com/ups.txt ...basically UPS calculator works but it displays Next day air, 3rd day select, and etc., but I only need UPS ground - only ground! My site runs on http://www.shop-script by webasyst. I have been trying to solve this for days and I cant find the solution to it! http://zpstyle.com/ups.txt is the file that needs to be edited and after editing it and leaving it down to UPS Ground i get errors (UPS ground with 50 other prices that should not be there). I have tried everything without success.

PS. Basically I need to leave it down to UPS GROUND ONLY.

PLEASE HELP!!!
Will be grateful for any help!

Re: PHP help on a shopiing-scart!?~

Posted: Fri Sep 05, 2008 9:24 pm
by Cut
Eh... what?

Here is what you should do: Show us how this UPS thing renders, shows us the edits you made to the code, and show us how it renders afterward.

Without knowing exactly what's going on, I would try editing the _getShippingTypes() function down to

Code: Select all

 
    function _getShippingTypes(){
 
                return array(
            'US'    => '3',
        );
    }