Martin_MMX Posted June 2, 2021 Share Posted June 2, 2021 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? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted June 4, 2021 Share Posted June 4, 2021 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. 🙂 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.