DakotaSchool Posted September 30, 2006 Posted September 30, 2006 Hello. I need to change the following code to remove the input field and simply display the cart quantity as a number which can not be edited: $info_box_contents[$cur_row][] = array('align' => 'center', 'params' => 'class="productListing-data-print" valign="top"', 'text' => tep_draw_input_field('cart_quantity[]', $products[$i]['quantity'], 'size="3"') . tep_draw_hidden_field('products_id[]', $products[$i]['id'])); Does anyone know if the "tep_draw_input_field" can be replaced with a function which will only display a static number? Thank You!
DakotaSchool Posted September 30, 2006 Author Posted September 30, 2006 Got it with this! $info_box_contents[$cur_row][] = array('align' => 'center', 'params' => 'class="productListing-data-print" valign="top"', 'text' => ($products[$i]['quantity'])); If anyone wanted to know.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.