Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help with featch Maufacturer links in a project I am doing.


Salvo

Recommended Posts

Posted

Hi all,

I am trying to have all the maufacturers name in one page in columns.

ie: if 30 manufactuers, they will show in 2 columns in the same page.(just the name, link and number of products)

 

So far I have mangered to do so, but only showing the actual name without the links..

With this,

$data[$c][$r] = $row[manufacturers_name];

 

this above will show me all correct, all the manufacturers in columns. But just the name, no link.

 

When I do this:

 

$data[$c][$r] .= $row['<a href=' . tep_href_link(FILENAME_DEFAULT, 'manufacturers_id=' . $row['manufacturers_id], 'NONSSL') . '">' . substr($row['manufacturers_name'], 0, MAX_DISPLAY_MANUFACTURER_NAME_LEN) . '</a>'];

 

This will not show anything... it should show the links.

 

Any would be appreciated... I am almost there. I need only to add the links

 

Thanks

 

Salvo

 

PS: if it would help, I will post all the code... (which I will post as contributions if needed)

Archived

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

×
×
  • Create New...