Jump to content

How can i know when are module files are called


Recommended Posts

Hi,

 

Can anyone tell me how can i know, that the prestashop are modules are called?

Is there any file that defines the call of modules.

 

eg: When you click on checkout what files are called and how it works?

 

Regards

Jiju

 

Link to comment
Share on other sites

Hi thank you for the reply. Actually i want to know the working of prestashop.

That is when a user click on product image what happens in background, what are the process involved.

When user clicks on add to cart button what happens in back-end and in database,

Like wise, i want to know what are modules and files that works for each operation that happens at the front-end, when a customer clicks on each link.(may be menu, categories, featured products, contact, user account........ it goes on).

Is there any pre written document in prestashop?

Link to comment
Share on other sites

if you're just looking for modules that are called, go to modules > positions tab in back office

you can find there list of hooks. for each hook you can attach module.  you've got listing of modules there.

for example, you can see there what modules are attached to footer section - this position name is displayFooter.

Each module has got own .php file, it controlls all important things related to visible part of module (php file calling .tpl files)

  • Like 1
Link to comment
Share on other sites

For eg: add to cart

When user add to cart a product.

1. blockcart.php(in blockcart/)

2. cartcontroller.php(in controllers/front)

3. Cart.php(in classes)

 

am i right?

 

Is these are the only files that works in add to cart button click, or is there any other files?

Link to comment
Share on other sites

×
×
  • Create New...