sedemik Posted April 21, 2010 Share Posted April 21, 2010 Hello Could anyone help me to get shipping method to admin/order.php page? There is normal informations (addresses, phone number, email address) and payment method and order ID but I need shipping method too. the codes <?php echo $order->info['shipping_method']; ?> or <?php echo $order->info['shipping_module']; ?> doesn't work. Link to comment Share on other sites More sharing options...
sedemik Posted April 23, 2010 Author Share Posted April 23, 2010 Hello Could anyone help me to get shipping method to admin/order.php page? There is normal informations (addresses, phone number, email address) and payment method and order ID but I need shipping method too. the codes <?php echo $order->info['shipping_method']; ?> or <?php echo $order->info['shipping_module']; ?> doesn't work. Does anyone know how this works? Please. Link to comment Share on other sites More sharing options...
♥mdtaylorlrim Posted April 23, 2010 Share Posted April 23, 2010 Does anyone know how this works? Please. Yeah, I put those on mine out of necessity. Let me pull the code for you. Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...? Link to comment Share on other sites More sharing options...
♥mdtaylorlrim Posted April 23, 2010 Share Posted April 23, 2010 Yeah, I put those on mine out of necessity. Let me pull the code for you. Correction, I put it on the Packing slip. After all, accounting doesn't really need to know how it was shipped, but the shipping dept. does... here is the code on the packingslip.php but I don't know if it will work in the order.php <TR> <td class="main" align="right"><b><?php echo "Shipping Method:"; ?></b></td> <td class="main"><b><?php echo $order->totals[1]['title']; ?></b></td> </TR> If it doesn't work you will likely have to add the necessary fields to the sql statement and to the class definitions in /admin/includes/classes/order.php Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...? Link to comment Share on other sites More sharing options...
sedemik Posted April 25, 2010 Author Share Posted April 25, 2010 Correction, I put it on the Packing slip. After all, accounting doesn't really need to know how it was shipped, but the shipping dept. does... here is the code on the packingslip.php but I don't know if it will work in the order.php <TR> <td class="main" align="right"><b><?php echo "Shipping Method:"; ?></b></td> <td class="main"><b><?php echo $order->totals[1]['title']; ?></b></td> </TR> If it doesn't work you will likely have to add the necessary fields to the sql statement and to the class definitions in /admin/includes/classes/order.php Thanks a lot, it works! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.