CreativePortal Posted August 14, 2008 Share Posted August 14, 2008 Is there a specific reason why this module has a default sort order of 740? The default sort order for the Totals module is 10. The DC and GV modules should be before the Total for proper price calculation at checkout. At least for merchant gateways, the GV credit is never applied, since the Total is the value that is passed on and it never includes the GV. Quote Link to comment Share on other sites More sharing options...
satish Posted August 14, 2008 Share Posted August 14, 2008 depending on the sort order teh sequence of order totla modules are executed and totals is generated. So just make sure where You want. generally its to come pretty late after subtotal hence a high value given by default. Satish Quote Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does. Link to comment Share on other sites More sharing options...
CreativePortal Posted August 14, 2008 Author Share Posted August 14, 2008 I know but why is it higher than the sort order for Total? This produces incorrect calculations at checkout. Shouldn't the sort order for GV be 8 or 9? Or conversely, have the order_totals_gv.sql adjust the sort order for Totals to > 740? Quote Link to comment Share on other sites More sharing options...
♥FWR Media Posted August 14, 2008 Share Posted August 14, 2008 I know but why is it higher than the sort order for Total? This produces incorrect calculations at checkout.Shouldn't the sort order for GV be 8 or 9? Or conversely, have the order_totals_gv.sql adjust the sort order for Totals to > 740? Total should come after gift vouchers. One of my customers sites is set up (as an example) Subtotal 1 Shipping 2 Tax 3 Discount coupons 9 Gift Vouchers 740 Total 900 Quote 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...
CreativePortal Posted August 14, 2008 Author Share Posted August 14, 2008 (edited) Yes. I've setup osC (CCGV) many times. By default, I either change GV to 8 or else I change Totals to 999. But why is the installation made to be broken by default? I ask because I'm repackaging v5.19 with proper install instructions and a bunch of fixes. One of the fixes I am considering is to change the default sort order for the GV module to 8. (changing the sort order for Totals when the GV is installed would break modularity and would have to presume that it has not aleady been changed by the user) Edited August 14, 2008 by CreativePortal Quote Link to comment Share on other sites More sharing options...
CreativePortal Posted August 14, 2008 Author Share Posted August 14, 2008 Sorry, this thread was meant to be posted to the official CCGV forum. I've created cross links. Please post further replies here. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.