Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Need dropdown menus ON the categories page


Guest

Recommended Posts

Hi,

Is there a way to add a drop down menu for each product listed on the category page itself?

 

I need to have a drop down menu with 2 options for each product..

 

Thank you for your time and help if you can!

 

I have added a screenshot of exactly what I am looking for:

dropdowns.gif

Link to comment
Share on other sites

Ok,

I found how to add the product attributes and options to the categories page (I think)

 

I am using the product_listing_multi contribution and have found wherre to insert the tep_draw_pull_down_menu code but the drop down menu is greyed out and the product options I specified in the admin side are not showing up.

 

Here is the code from my product_listing_multi.php file, I took a piece of the tep_draw_pull_down_menu code from the product_info.php page, any ideas?

 

 

 

case 'PRODUCT_LIST_BUY_NOW':

$lc_align = 'center';

$lc_text = '<input type="text" name="add_id['.sizeof($list_box_contents).']" value="0" maxlength="5" size="5">' . tep_draw_pull_down_menu('products_id[' . $products_options_name['products_options_id'] . ']', $products_options_array, $selected_attribute);

break;

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...