Jump to content

Action Hook Question


Recommended Posts

How can I find the right hook to use when trying to add code to display a price calculation on the products group at the start of the purchase process?

e.g. https://www.support-billing.com/index.php?rp=/store/web-hosting-hostfast

What hooks would fire when this page loads?

Link to comment
Share on other sites

On 02/06/2021 at 14:05, Martin_MMX said:

What hooks would fire when this page loads?

there would be a few - probably the one best suited for your purpose should be ClientAreaPageCart - though if you needed to use JS to do it, then you might need to look at using one of the client area output hooks instead... the answer depends on what, and *where*, you need this output to be.

though your custom orderform template is a little buggy, e.g the redirection on change of currency etc, so it might be best to concentrate on fixing those issues before modifying the prices with a hook. 🙂

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated