Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Drop Down List please help....


poisontheused

Recommended Posts

Posted

Hi i'm trying to setup a drop down list of affiliates, which will be displayed on the left column of the osCommerce setup. Much like the 'manufacturers' drop down list shown on the default setup.

 

But instead of it looking up manufacturers i want it to display a set of affiliates and when you choose your option from the list, it will direct you to that sites homepage....

 

I modified the boxes/manufactures.php to display my affiliates names instead of the manufacturers, but i'm not sure how to direct it to the selected affiliates homepage once it is selected from the list.

 

i'm guessing i have to modify the "a href" part of the code below, but i'm not sure what to put in there...

 

$affiliates_list .= '<a href="' . tep_href_link(FILENAME_DEFAULT, 'affiliates_id=' . $affiliates['affiliates_id']) . '">' . $affiliates_name . '</a><br>';

 

Can anyone help??? or does anyone know a much easier way of doing what I am attempting.

 

Thanks for your help, hope you can understand

Posted

dont understand why u want to send someone off your site to another persons site . .

Posted

It's more like subdomains of the existing site, my client wants to set up a list of affiliated companys with subdomains. And they want it so you can choose the existing subdomains from the drop down list.

Archived

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

×
×
  • Create New...