RE: My god... how is the shipping method stored?
Daemonj <[email protected]> 14 Sep 2003 01:36:39 -0000
| Newsgroups | gmane.comp.web.oscommerce.general |
|---|---|
| Message-ID | <604ea2f041002386e9236d52db258c60@osCommerce-Forums> |
This message was sent from: General Support http://forums.oscommerce.com/viewtopic.php?p=229175#229175 ---------------------------------------------------------------- The $shipping variable is indeed the one that you want but it is a session variable which is probably why you are having difficulty. The appropriate setting for the $shipping variable to select the Flat Rate shipping method is flat_flat. You will also need to modify the checkout_payment.php and checkout_confirmation.php pages as they contain checks to ensure that a shipping method has been selected otherwise you will be redirected back to the checkout_shipping.php page. You would be better off setting the value at the beginning of the checkout_payment.php page.