PHP help on a shopiing-scart!?~

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
zaurm
Forum Newbie
Posts: 2
Joined: Fri Sep 05, 2008 3:16 pm

PHP help on a shopiing-scart!?~

Post 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!
Cut
Forum Commoner
Posts: 39
Joined: Sat Aug 23, 2008 8:01 pm

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

Post 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',
        );
    }
Post Reply