Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

have drop down, want it to be static


Graveyard666

Recommended Posts

I have this piece of code:

 

<?php echo tep_draw_pull_down_menu('carrier', $carriers, $order->shipping['carrier_id']); ?>

 

It works in admin/invoice.php fine, but it generates a dropdown list.

 

I want the display to just show what carrier id used, not a drop-down list of carrier.

Link to comment
Share on other sites

the

tep_draw_pull_down_menu

is what creates the drop down.

 

I'm still not positive on how the code all works with oscommerce but try something like:

print_r($order->shipping['carrier_id']);

that bmay be wrong and someon'll probably come along in a minute and say so :P

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...