Jump to content
Sign in to follow this  

Purchase without account

Recommended Posts

Hello to all :)


We're using the PWA addon and noticed, that the customers got in their oder confirmation email the link to their order. If you ordered as guest there is no sense to get this link. so we managed to avoid to insert the link in checkout_process.php. Unfortunately we didn't manage it with the paypal ipn contribution in the ipn.php file.


the following code doesn't work there :(. Any help?


Thanks and greetings


      if ($order->customer['is_dummy_account']){
 $email_order .= EMAIL_TEXT_DATE_ORDERED . ' ' . strftime(DATE_FORMAT_LONG) . "\n\n";
     } else {
 $email_order .= EMAIL_TEXT_INVOICE_URL . ' ' . tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $_POST['invoice'], 'SSL', false) .  EMAIL_TEXT_LINK_LANGUAGE . "\n" .
                 EMAIL_TEXT_DATE_ORDERED . ' ' . strftime(DATE_FORMAT_LONG) . "\n\n";

Share this post

Link to post
Share on other sites

Where in Admin panel I can turn it(Purchase without account) ON? Can not find it!


Look in Configuration/Customer Details/Purchase without account

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this