cilliers Posted April 27, 2004 Posted April 27, 2004 When I Click on "Tell-A-Friend" I am taken to the product details page in stead of the "Tell-A-Friend" page :angry: Where and how do I correct it?
shutiri Posted April 28, 2004 Posted April 28, 2004 I have the same problem, I posted it too. If you find out, let me know with a private, please. shutiri.
Guest Posted May 8, 2004 Posted May 8, 2004 I'm having the same issues... If anyone finds the answers please let me know.
cilliers Posted May 8, 2004 Author Posted May 8, 2004 My problem was a missing a </form> tag in the products info page. Fixing that got the tell a friend feature working again.
shutiri Posted May 8, 2004 Posted May 8, 2004 where was that ? where should I look for that missing tag ? thank you shutiri.
Guest Posted May 8, 2004 Posted May 8, 2004 Below is the end part of product_info.php page... Please look for the </form> in the code... Simply add this form end tag in the right spot to fix the redirect problems with "tell a friend" <table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td width="10"> <?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?> </td> <td class="main"> <?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params()) . '">' . tep_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS) . '</a>'; ?> </td> <td class="main" align="right"> <?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); ?> </td> <td width="10"> <?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?> </td> </tr> </table> </td> </tr> </table> </td> </tr></form> // added this closing form tag to make 'tell a friend work' <tr> <td> <?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?> </td> </tr> <tr> <td> <?php if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_also_purchased(3600); } else { include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS); } } ?> </td> </tr> </table> </td> <!-- body_text_eof //--> <td width="<?php echo BOX_WIDTH; ?>" valign="top"> <table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <!-- right_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_right.php'); ?> <!-- right_navigation_eof //--> </table> </td> </tr> </table> <!-- body_eof //--> <!-- footer //--> <?php require(DIR_WS_INCLUDES . 'footer.php'); ?> <!-- footer_eof //--> </td> </tr> </table> </td> </tr> </table> </body> </html> <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?> I hope it works for you too!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.