Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Shipping method to orders page


sedemik

Recommended Posts

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

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

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...