Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Manufacturers images link to manufacturers info


Davee

Recommended Posts

Hi

 

I've tried for the last 2 days to get the manufacturers image in product_info to link to the manufacturers website (for more info)

 

Here is the code i've used

 <td class="main"><br><?php echo tep_image(DIR_WS_IMAGES . $product_info_values['manufacturers_image'], '<a href="' . tep_href_link(FILENAME_REDIRECT, 'action=url&goto=' . urlencode($product_info_values['products_url']), '</a>">' . 'NONSSL', true, false)); ?></td

 

Can someone help, as I know that I'm close to resolving this part

 

The error that i get is

 

Error!

 

Unable to determine connection method on a link!

 

Known methods: NONSSL SSL

 

I would really appreciate if someone could help as I'm fairly new to php

 

Thanks in advance

 

Dave

Link to comment
Share on other sites

'NONSSL', true, false)); ?>

 

try changing to:

 

'NONSSL', true, true)); ?>

 

or

'NONSSL', false, false)); ?>

Thanks jrwrestling but I'd already tried that :(

 

Not sure if the code is entirely correct ?

 

anyone?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...