Hi Everyone,
Hoping someone can shed some light. I have made one modification to the display of the shopping cart and I need to know which one is the file that gets executed when the user clicks on "Update Shopping cart" button. I know there is the shopping_cart.php file under the class directory, but I see that file has mainly a bunch of functions that get executed depending on who's calling them. I am interested to know the file that calls the update_quantity or add_cart method, specifically, for example, given the following scenario, a user updates the cart to reflect that he/she wants to buy 5 quantities of a product, how does the shopping_cart.php file know that any of these two methods need to be executed (I am assuming is one of those two methods that will get executed) with a value of 5 for the quantity, what file is saying "the shopping cart needs to be updated with a new quantity of 5".
Many thanks.


Reply With Quote
