Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

how to make dropdown menu option selected and saved


ce7

Recommended Posts

Hi,

I have phoenix 1075 version, the admin/categories.php has code for browse image and select then you can save the product image.

                echo tep_draw_input_field('products_image', '', 'id="pImg"', 'file', null, 'class="form-control-input"');
                echo '<label class="custom-file-label" for="pImg">' . $pInfo->products_image . '</label>';

image.png.55037ba5698c23aeabbd60cd469a4cf8.png

if i have the images list as dropdown menu, code as below,

how can i modify the code below to make the selected image file been saved?

echo tep_draw_pull_down_menu('products_image', $drop_array2, 'id="pImg2"');

image.png.50944b6cbdb3fddb99897cca829ae9e5.png

thanks!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...