Sumisu Posted August 25, 2012 Share Posted August 25, 2012 Trying to add an array to the cart products array before they get removed from database after successfull sale BUT, I cant seem to find the file where this takes place... Anybody any idea where this is? Thanks Link to comment Share on other sites More sharing options...
♥FWR Media Posted August 25, 2012 Share Posted August 25, 2012 Depends on the payment system .. if "success" directs to checkout_success.php then the cart is reset ( 2.3.2 ) on line 288: - $cart->reset(true); Other payment systems direct to their own handlers in ext/modules/payment/some_payment_system/some_payment_system_filename_etc.php Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
Sumisu Posted August 25, 2012 Author Share Posted August 25, 2012 hmm.. didnt think of that... will they all use $cart->get_products(); by default .. the get_products function built from classess/shopping_cart.php? In which case I can build from that point. Or is a different array built from elsewhere that they'll get the cart details from? thanks for your help Martin Link to comment Share on other sites More sharing options...
Sumisu Posted August 26, 2012 Author Share Posted August 26, 2012 Have tried it and yes I can... Problem Solved Thanks for helping me realise! editting each payment method would have just been extra work :) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.