Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / help needed to complete a custome shipping module

help needed to complete a custome shipping module

Locked

Views: 527

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
20 Oct 2009, 6:08 PM
#1
neongeo avatar

neongeo

New Zenner

Join Date:
Oct 2009
Posts:
3
Plugin Contributions:
0

help needed to complete a custome shipping module

Hi, There's a problem in my customized shipping module. Hope someone here can help.

The problem is:
After selecting one of three shipping methods available( radio button) on the checkout_shipping page, the cart shows check_payment page. But, on the checkout_payment page it doesn't show the correct shipping method that selected previously. It just show the 1st shipping method. Even though the order variable has correct shipping CODE, but the title and cost are wrong.

The quotes variable returned from my shipping module is:
Array
(
[id] => myshipping
[module] => my shipping
[methods] => Array
(
[0] => Array
(
[id] => GD
[title] => UPS Ground
[cost] => 8.33
)

        [1] => Array
            (
                [id] => 2D
                [title] => UPS Second Day Air
                [cost] => 21.95
            )

        [2] => Array
            (
                [id] => 1D
                [title] => FedEx Standard Overnight
                [cost] => 47.59
            )

    )

)

Thanks in advance.
neongeo

20 Oct 2009, 6:11 PM
#2
neongeo avatar

neongeo

New Zenner

Join Date:
Oct 2009
Posts:
3
Plugin Contributions:
0

Re: help needed to complete a custome shipping module

Or maybe I should change the question. Could someone tell me how shipping related values are stored in the ORDER varible? Thanks.

20 Oct 2009, 7:30 PM
#3
neongeo avatar

neongeo

New Zenner

Join Date:
Oct 2009
Posts:
3
Plugin Contributions:
0

Re: help needed to complete a custome shipping module

My shipping module didn't return individual quote for selected shipping method.

Just made change to the header_php.php file for checkout_shipping page, so that session['shipping'] variable is updated with the selected shipping method.

Now it seems to be working.

Please share your thoughts on this mod.