Jump to content

Need a hook that fires AFTER displayCarrier() and BEFORE page renders


Roberto

Recommended Posts

I'm writing a new module that needs to do something at a point AFTER the order.php function displaycarrier() populates the $smarty variable and BEFORE the carrier selection screen renders.

I need to do this from within a module so looking for a possible hook that fires in this range? If not a hook, any other way to do this within a module?

Robert

Link to comment
Share on other sites

Roberto,
Not sure if you've solved this or not, can I ask why it needs to be before the page renders? Could it not be done within the page rendering itself? You still have an opportunity to change things even when already in a template file (although it's not particularly good practice).

If you need to be doing some serious processing though, you're only real option would be to create such a hook yourself, which is pretty nasty.

Paul

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...