Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / Available variables in shipping module

Available variables in shipping module

Locked

Views: 1,277

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
29 Sep 2006, 5:55 AM
#1
liiger avatar

liiger

New Zenner

Join Date:
Sep 2006
Posts:
1
Plugin Contributions:
0

Available variables in shipping module

Hi all,

Just wondering what available variables I can use in my custom shipping module. I know there is:

function quote($method = '') {
global $order, $shipping_weight;

But what I need is the cost of all my products in my basket. Anyone know what that variable is?

-L

30 Sep 2006, 4:34 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Available variables in shipping module

Be sure to global $cart ...

$_SESSION['cart']->show_total()