RyanSmith Posted January 4, 2005 Posted January 4, 2005 Hello, I'm trying to write some custom code for adding products to the cart. I have modified the product_info page with my new code, however I see that the forms action is: http://localhost:8080/campers/product_info...95148630bda2c39 I see that the action=add is probably what causes it to insert the posted data into the database, however I can't find where in product_info the logic for this is. Could someone explain where the database insert occurs? Thanks osCommerce is a great piece of software with wonderful contributions. Spend some time in the contribution area. There are a lot of gems there.
RyanSmith Posted January 4, 2005 Author Posted January 4, 2005 Actually I figured out that it's getting redirected to application_top.php but I can't quite figure out how the post variables are getting passed in the $HTTP_POST_VARS['id'] array. Does anyone know how this works? Thanks osCommerce is a great piece of software with wonderful contributions. Spend some time in the contribution area. There are a lot of gems there.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.