greree Posted January 23, 2003 Share Posted January 23, 2003 This contribution is in the Features section. When the proper conditions are met the page "download_files.php" is loaded. It has some information and other things on it. It also has the product name and file name listed (i.e. Unreal Tournament and unreal.zip). These names are links. The URL for unreal.zip is http://localhost/catalog/download.php?order=4&id=4. Clicking on it downloads the file. The URL for "Unreal Tournament" is http://localhost/catalog/product_info.php?products_id= , which is incorrect. That link should end with "products_id=22", and clicking on it should bring me to the info page for "Unreal Tournament". The code that I think controls this is in the file download_files.php: echo ' <td><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $downloads_values['products_id'], 'NONSSL') . '">' . $downloads_values['products_name'] . '</a></td>' . "n"; I don't know what's wrong. In the right column in the "Order History" and "Bestsellers" boxes the name "Unreal Tournament" appears as a link, and in both cases it works fine. The URL in both cases ends in "products_id=22". I compared the codes that work with the code that doesn't, but I couldn't figure it out. Could someone take a look at this contribution and tell me what's going wrong? It isn't a complicated contrib. Oh, I'm using the current snapshot. Thanks. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.