close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

How to make a simple Check out process

Thread began 3/21/2009 10:10 pm by quykhoa374694 | Last modified 3/25/2009 1:15 pm by info303815 | 3712 views | 6 replies |

quykhoa374694

How to make a simple Check out process

Hi

I've already built my store with ecart but i had some confuse with the check out process. I don't want to use Paypal, 2Checkout...process that include in eCart. I want the check out with my simple way: the customer add the items into their cart, then check out. A email will send to them and the store owner with the list of item and the price. The cart is clear and the customer can make another order, that's all.

Could anybody show me how to do.

Thanks a lot!

Sign in to reply to this post

Ray BorduinWebAssist

Run the Checkout wizard. Post specific questions or issues if you run into them during that process.

Sign in to reply to this post
Did this help? Tips are appreciated...

quykhoa374694

I've already make the check out. But when I return to the store to make another order, there's still the old items in my cart. How to make the new session for the new order.

Sign in to reply to this post

Ray BorduinWebAssist

Clear the session on the order confirm page.

<?php
session_destroy();
?>

should do it.

Sign in to reply to this post
Did this help? Tips are appreciated...

quykhoa374694

When I use these code

<?php
session_destroy();
?>

It clear all the sessions.
For my website, there's still others session. One which I want to keep is the IDUser session that is created when user login ( I built with SecurityAssist)

How can just clear the current cart session and make the new when user make another order?

Thanks

Sign in to reply to this post

Ray BorduinWebAssist

$cartName->ClearCart();

Would clear the cart.

You should also use:

unset($_SESSION['OrderID']);

to clear the session variable storing the current order id to reset the checkout process as well as the cart.

Sign in to reply to this post
Did this help? Tips are appreciated...

info303815

When I use:

<?php $*********_cart->ClearCart();
unset($_SESSION['OrderID']);
?>

at the very end of the order confirmation page, I get:

Warning: Cannot modify header information - headers already sent by (output started at /home/**********/public_html/***********/***************.php:69) in /home/**********/public_html/***********/WA_eCart/*********_cart_PHP.php on line 118

I guess I cant empty the cart before the cart is written to the page, so I have to put this code at the end of the page(?)

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...