axioma Posted March 27, 2010 Share Posted March 27, 2010 I want to show images of the products on confirmation page.in this way the customer can be secure about his buying decision. On catalog checkout_confirmation.php I found for ($i=0, $n=sizeof($order->products); $i<$n; $i++) { echo ' <tr>' . "\n" . after that I added ' <td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . $products[$i]['image'], $order->products[$i]['name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a></td>' . The problem is that the imagen is not showing I wonder that could be because $products[$i]['image'] does not have connection with the order but $order->products[$i]['image'] neither. How can I call the correct database imagen…? Or better yet, how can I show the imagen of the product on confirmation page? Link to comment Share on other sites More sharing options...
web-project Posted March 27, 2010 Share Posted March 27, 2010 you need to add to SQL query to look up the products_image filed. Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here! 8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself. Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues. Any issues with oscommerce, I am here to help you. Link to comment Share on other sites More sharing options...
axioma Posted March 27, 2010 Author Share Posted March 27, 2010 you need to add to SQL query to look up the products_image filed. ok but which one???... $products[$i]['image'] ??? Link to comment Share on other sites More sharing options...
axioma Posted March 29, 2010 Author Share Posted March 29, 2010 no one? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.