coffman Posted March 29, 2004 Share Posted March 29, 2004 I am trying to make a mod to my qtpro version 2.1. I want to add a separate model_name to each of the attributes. I have the model_name setup and working in the admin and am now trying to get it to track through the customers order process. I get the model number to appear in the shopping cart via a mod to shopping_cart.php. But I am stuck there. When I proceed to checkout. I am not sure how the information track through. I want the model to show up in the products section of the checkout_confirmation.php page, but can't see how it gets propogated to the confirm page. I see the $cart->* items, and the $order->* items, but am not having any luck finding where the values are populated. Any help on the general workings of this process would be greatly appreciated.. -MichaelC Link to comment Share on other sites More sharing options...
coffman Posted March 29, 2004 Author Share Posted March 29, 2004 Well after a bit of effort. I was able to at least solve the question posted earlier. I have also learned a little about php objects :) To get my added model_name into the checkout_confirmation page, I needed to make a change to ./includes/classes/order.php. I modified the db query of the products_attributes table to include the model I had inserted ( this may not be the best place to put it, it is just where I started out ). I then added the model to the products array making it available in checkout_confirmation.php. Next I'll complete the order and see were else this needs to be. emails, etc... If anyone else is using this qtpro with MS2.2 and is interested in what I come up with, let me know. -MichaelC Link to comment Share on other sites More sharing options...
FlyingMonkey Posted March 31, 2004 Share Posted March 31, 2004 i'm pretty interested, in qtpro. but the current contribution seems outdated. if you get this working, could u post it as a contribution? or share your updated qtpro? :) Most likely your question has been answered, please do a search first. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.