The PHP side of the equation

I’m starting this thread with the goal of addressing specific methods in cs-cart for modifying the behavior of the system through the use of controllers hooks and php hooks.



Hopefully someone will make this sticky so it will remain visible.



My thoughts are I would write a posts that try to cover the why’s and how’s for the following things:

  1. Pre and post controllers (starting with an overview of controllers and addons)
  2. PHP hooks
  3. Using controllers and hooks to add fields to a product and have those fields used in an order calcuation and visible on the orders page.



    Will probably create a separate thread for each so conversation can be kept together. I’m happy to answer questions and would encourage cs-cart developers to engage along the way.