doudo Posted November 2, 2007 Posted November 2, 2007 My question maybe is simple, but i don't how. In my shopping cart i have 4 columns (Remove, Product, Quantity, Total) ... 4 values for each product. Now, i want 2 more fields for each product (combo box, input). Well application top don't read the values of the my new fields and i don't know how can i make this. When i click update or checkout, i lost the values this is my code $info_box_contents[$cur_row][] = array('align' => 'left', 'params' => 'class="productListing-data"', 'text' => $products_name); $info_box_contents[$cur_row][] = array('align' => 'center', 'params' => 'class="productListing-data" valign="top"', 'text' => tep_draw_input_field('cart_quantity[]', $products[$i]['quantity'], 'size="4"')); $info_box_contents[$cur_row][] = array('align' => 'center', 'params' => 'class="productListing-data" valign="top"', 'text' => tep_draw_input_field('new_input[]', '', 'size="4"') . tep_draw_hidden_field('products_id[]', $products[$i]['id'])); $info_box_contents[$cur_row][] = array('align' => 'center', 'params' => 'class="productListing-data" valign="top"', 'text' => '<select name="newselect[]"> <option value="" SELECTED>-----</option> <option value="1">1</option> <option value="2">2</option> <option value="4">3</option> <option value="5">4</option> <option value="etc">etc</option> </select'); I know, i need more ... but what? Can u help me? I really appreciate Tks
Recommended Posts
Archived
This topic is now archived and is closed to further replies.