Jump to content
xisto Community
Sign in to follow this  
webdesignunlimited

Basket How do you make a basket for a webpage??

Recommended Posts

Now creating a shopping basket or cart is fairly straightforward. You just need a way to save what products and of what quantity your customer is buying. Then of course a way to get the order to you. There are several alternatives for saving the cart data. An effective solution would combine them. First you could save them into cookies. Probably the easiest way to go, but not very reliable and classy. Then you could use some sort of session based system. It would mean that a specific session id would be carried in the url or preferable in a cookie (but no other data in cookies!) and the shopping cart would be saved on the server. This is also very easy to do with the session handling properties of the current server side languages. This is how I would do it.Then you could go for a login based system where the customer could reach his shopping cart with a password. The data would be saved in a database. Then once you have the shopping cart, you need a way to get the order for you to process. Simplest way would probably be to email the order, again realyl easy to do with server side languges, basically a one command. A whole other matter is payment which would require lot more time and attention to build. First of all there is the security issues. This is where I'd say you'd need to team up with experts. But if your business is relatively small, your shopping cart should have no need for an in built payment system. Basically it would just function as a way to send/input the order, nothing more.

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  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.