Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

please tell me what is wrong with this????


rubygirl

Recommended Posts

Can someone please tell me why this code won't work?

 

 

if (basename($PHP_SELF) != FILENAME_TELL_A_FRIEND) {

$hide = tep_draw_hidden_field('products_id', $HTTP_GET_VARS['products_id']);

$hide .= tep_hide_session_id();

$tell_friend = '<form name="tell_a_friend" method="get" action="' . tep_href_link(FILENAME_TELL_A_FRIEND, '', 'NONSSL', false) . '"><div align="center">' . tep_draw_input_field('send_to', '', 'size="10"') . ' ' . tep_image_submit('button_tell_a_friend.gif', BOX_HEADING_TELL_A_FRIEND) . $hide . '</div><br><p align="center">' . BOX_TELL_A_FRIEND_TEXT . '</td>';

}

 

this is part of another contrib and for someone reason when this is applied I end up in the cart contents area of the site....

IDEAS ANYONE???

Link to comment
Share on other sites

actually I haven't solved the issue as of yet - in order to be able to use some of the contrib however- I simply removed the tell a friend box and placed it back in the columns - seems like the "form" issue is preventing it from working the way it was coded in the contrib.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...