mhunter Posted December 3, 2003 Posted December 3, 2003 I am trying to change the sort order from: (A.) subtotal tax shipping total TO: (B.) subtotal shipping tax total In admin/modules/order total I have changed the sort order to: low order fee: shipping: 2 subtotal: 1 tax: 3 But my sort order is still showing as example A. in my checkout confirmation. Is there something or somewhere else to change this? What could be keeping this from showing up correctly ? When I do a print_r ($GLOBALS); in my checkout_confirmation, I see the following: ****************************************************************** [ot_subtotal] => ot_subtotal Object ( => ot_subtotal [title] => Sub-Total [description] => Order Sub-Total [enabled] => 1 [sort_order] => 1 [output] => Array ( [0] => Array ( [title] => Sub-Total: [text] => $1,000.00 [value] => 1000 ) ) ) [ot_tax] => ot_tax Object ( [code] => ot_tax [title] => Tax [description] => Order Tax [enabled] => 1 [sort_order] => 3 [output] => Array ( [0] => Array ( [title] => 8.25% tax rate: [text] => $83.10 [value] => 83.09895 ) ) ) [ot_shipping] => ot_shipping Object ( [code] => ot_shipping [title] => Shipping [description] => Order Shipping Cost [enabled] => 1 [sort_order] => 2 [output] => Array ( [0] => Array ( [title] => United Parcel Service (1 x 8lbs) (Ground): [text] => $7.26 [value] => 7.26 ) ) ) [ot_total] => ot_total Object ( [code] => ot_total [title] => Total [description] => Order Total [enabled] => 1 [sort_order] => 4 [output] => Array ( [0] => Array ( [title] => Total: [text] => <b>$1,089.76</b> [value] => 1089.76 ) ) ) *************************************************************************** The sort orders are showing up correctly here but not in the checkout_confirmation display. Any help will be greatly appreciated. ps I have MS2.1 ThxMignon
moonstone Posted December 5, 2003 Posted December 5, 2003 I have been pondering on this for quite some time. It seems like your sort order is correct, but it is still not showing the correct order at checkout confirmation page. Try looking through your sort order again. Make sure there is not space before or after the number (especially for tax and shipping). If this fails, then I suggest you go to phpMyAdmin and check if the sort order is indeed doing its job. Look at the configuration table. List every entry and search for MODULE_ORDER_TOTAL_INSTALLED. Look at the configuration_value and see if it is in the correct order. If I am not wrong, you should see ot_subtotal.php;ot_tax.php;ot_shipping.php;ot_total.php which is not the order you want. Change it to ot_subtotal.php;ot_shipping.php;ot_tax.php;ot_total.php and I think your problem should be solved. Let me know if this helps.
mhunter Posted December 5, 2003 Author Posted December 5, 2003 Thank you so much for your suggestions. I will give this a try, probably next week; we are going ahead with it as is for now and going live probably Monday. In the future I will endeavor to change the code to charge tax on shipping for only the states that need it. Right now, we are charging tax on shipping for all states, that's why I wanted the sort order sub shipping tax total But in the future - ideally I would want it listed as above for only states we have to charge tax on shipping for, and then for those we dont, display as: sub tax shipping total Dont know if this is possible or not - do you know ? Any thanks for your suggestion and I will work with it. Mignon
moonstone Posted December 5, 2003 Posted December 5, 2003 I think that is possible. It might be a bit complex, but still do-able.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.