Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Purchase Without Account lildog v2.0g


joyces

Recommended Posts

Hi

Still struggling with parts of PWA. I have been reading threads for 2 days and I'm sure the answer is out there but I can't solve what appear to be my final few problems any help would be gratefully received.

 

I have installed Lildog version 2.0g

 

My PWA customers records aren't deleted from my "Customers" in admin when they have completed the order. I think, and I could be wrong, this is because they each recieve a unique customers number. In addition any PWA getting part way through an order then deciding not to proceed also ends up showing as a customer. All this I can live with

 

The one thing I really want to solve though is getting rid of the "My Account" link for PWA on the checkout_success.php page. All the threads I read about this refer to earlier versions of PWA and files that don't appear to exist in the later version eg. order_info_process.php.

 

Would be very grateful if anyone can supply any answers. I don't know a lot about php, desperately trying to learn, but mind has turned to jelly over this.

 

The code in header.php is as follows (I have also added a "log in" link at the end but that doesn't seem to be a problem)

<!-- PWA BOF -->    
   <td align="right" class="headerNavigation"><?php if (tep_session_is_registered('customer_id')) { ?><a href="<?php echo 
tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_LOGOFF; ?></a> 
 |  <?php } ?><?php if (tep_session_is_registered('customer_id') && (!isset($HTTP_GET_VARS['guest']) && !isset
($HTTP_POST_VARS['guest'])) && !$order->customer['is_dummy_account']) { ?><a href="<?php echo tep_href_link
(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a> 
 |  <?php } ?><a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>" 
class="headerNavigation"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a>  |  <a href="<?php echo 
tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="headerNavigation"><?php echo 
HEADER_TITLE_CHECKOUT; ?></a>  | <a href="<?php echo tep_href_link(FILENAME_LOGIN, '', 'SSL'); ?>" 
class="headerNavigation"><?php echo HEADER_TITLE_LOGIN; ?></a>   </td>


   <!-- PWA EOF -->

 

Andrea

Edited by joyces
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...