Add hook at on session creation

Hi,

i wonder in hooks.py there is :
on_session_creation = “erpnext.shopping_cart.utils.set_cart_count”

what if i want to add new hooks ?

i tried to create new app , but i find that hooks i wrote there isnt working

Thanks

@bobzz_zone

  1. Tag your questions
  2. Share your code
  3. Help other users. You should be a community leader by now!

@rmehta sorry i didnt reallize i be a community leader right now… will do it for my future post…

Anyway how is my question? how can add a new file on the hook… beacuse from the format look like i just can call 1 file…

thanks

@bobzz_zone communities cannot be a one-way process. I would like to see more service providers share load for answering on forum.

I can’t answer your question because there is no trace or information.