Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Why does this code not work?


happy2help

Recommended Posts

Posted

I'm trying to add a link to the products url in product_listing.php instead of manufacturer, but it's not working. Please help!

 

Line 104 of product_listing.php

 

$lc_text = '<a href="' . tep_href_link(FILENAME_REDIRECT, 'action=url&goto=' . urlencode($product_description[$listing['products_id']]) . $listing['products_url']) . '">' . tep_image_button('speaker.gif') . '</a> ';

 

 

Here is my test site Click Here!

Posted

From what it says.. you didn't close off one of your tags..

Posted
I'm trying to add a link to the products url in product_listing.php instead of manufacturer, but it's not working. Please help!

 

Line 104 of product_listing.php

 

$lc_text = '<a href="' . tep_href_link(FILENAME_REDIRECT, 'action=url&goto=' . urlencode($product_description[$listing['products_id']]) . $listing['products_url']) . '">' . tep_image_button('speaker.gif') . '</a> ';

Here is my test site Click Here!

 

 

this ['products_id']]) has double ]

Treasurer MFC

Archived

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

×
×
  • Create New...