Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

mod Tell a Friend about the site too


Guest

Recommended Posts

Hey guys, i am using this contrib here http://www.oscommerce.com/community/contri...h,Steve+aka+241

 

and would like to change the functionality so that when it is actioned, the person telling their friend doesn't have to logon. It would be great to go the the tell a friend page without having to logon. Because on my site i don't use the logon functionality.

 

Can anyone please help me,

 

Thanks and Kind Regards,

 

Mitchell

Link to comment
Share on other sites

I have a fix for my own problem, if any one wants to know.

 

look for

 

if (!tep_session_is_registered('customer_id') && (ALLOW_GUEST_TO_TELL_A_FRIEND == 'false')) {

$navigation -> set_snapshot();

tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL'));

}

 

in tellafriend.php

 

 

and play around with the true/false parg on that first line.

 

Thanks to Arthur at Flashbios.org for that one :)

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...