Either via the GLOBALS (classes) or the $_SESSION variables.
Because session_start() literally starts a new session. Clearly this isn't what you want since ZenCart already has a session started.
At the start of you module functions add
global $order ;
Retrieve values using code like:
$myPostcode = $order->delivery['postcode']
Cheers
RodG



Reply With Quote
