Despite my PHP skills being basic to mediocre I have managed to customize quite a significant amount of our OSCommerce shopping site and it is working well and looking great; fantastic platform and community!
My latest venture is creating another (already made 2 custom ones) shipping module; this time however the single module will allow for multiple shipping options coming from an API that interacts with our postal service's website. I have all the mechanics working now and am now cleaning up all the code so that most of it actually resides in the shipping module file.
Here is my challenge: From within "checkout_shipping.php" I am trying to access a function within my new shipping module "auspostpac.php" but am unsure how to do so.
"checkout_shipping.php" appears to load "shipping.php" which in turn loads all enabled shipping modules including my "auspostpac.php". My function "auspostpac_html()" is not inside the "auspostpac" class.
"shipping.php" loads the modules from within a class called "shipping" which is initiated as "$shipping_modules"
I have tried the following unsuccessfully:
$shipping_modules->auspostpac_html();
Any assistance would be greatly appreciated.
Cheers,
Mariano.














