By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,886 Members | 1,123 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,886 IT Pros & Developers. It's quick & easy.

Shopping Basket

P: n/a
Hi

I need to implement a shopping basket for my e-commerce website

Scenarios are as follows

1. Website to offer shopping basket for all visitors including those who
didn't log

2. Website to offer shopping basket ONLY to those that are logged

I got advice in this newsgroup to buy the functionality of a shopping basket
(as a web control etc.)

My question is why isn't it straight forward in both cased to maintain the
shopping basket data either through the session variable or in the first
scenario using the database and relate the data to the client record.
Another possibility is using a cookie on the client machine for
identification (in this case the database will be used)

Thank you for your advice,
Samuel Shulman
SBS Technologies Ltd

Sep 11 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Hi Samuel.

It is straight forward to use a session variable or cookie.
The reason people advice you to use a 3rd party tool is why reinvent the
wheel when its easier to use something already developed and readily
available.

Moving forward:

Sessions:
Bear in mind these will only be available for the duration of the users
visit, and also it will expire after a set amount of time as well.
This way, when the user revisits your site, there shopping basket will now
be empty.

Cookies:
This is a great way to keep the shopping basket.
If you are trying to relate the data to a record in your database, bear in
mind you'll have to cater for visitors whom do not have an account. But that
can be easily overcome using guest accounts or some similair mechanism.

I hope this answers you questions or at least gives you some helpful
pointers

"Samuel Shulman" <sa************@ntlworld.comwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
Hi

I need to implement a shopping basket for my e-commerce website

Scenarios are as follows

1. Website to offer shopping basket for all visitors including those who
didn't log

2. Website to offer shopping basket ONLY to those that are logged

I got advice in this newsgroup to buy the functionality of a shopping
basket (as a web control etc.)

My question is why isn't it straight forward in both cased to maintain the
shopping basket data either through the session variable or in the first
scenario using the database and relate the data to the client record.
Another possibility is using a cookie on the client machine for
identification (in this case the database will be used)

Thank you for your advice,
Samuel Shulman
SBS Technologies Ltd

Sep 11 '06 #2

P: n/a
Thank you for your advice,

What work can the shopping basket save me if I have to create the database
tables necessary and the web page to show the content of the basket

The only thing I can think is a control which I will have to set the
properties such as a list of products

I think that some offer to actually maintain the basket but in this occasion
I would to keep the data myself

Samuel

"Grant Merwitz" <gr***@workshare.comwrote in message
news:uv**************@TK2MSFTNGP04.phx.gbl...
Hi Samuel.

It is straight forward to use a session variable or cookie.
The reason people advice you to use a 3rd party tool is why reinvent the
wheel when its easier to use something already developed and readily
available.

Moving forward:

Sessions:
Bear in mind these will only be available for the duration of the users
visit, and also it will expire after a set amount of time as well.
This way, when the user revisits your site, there shopping basket will now
be empty.

Cookies:
This is a great way to keep the shopping basket.
If you are trying to relate the data to a record in your database, bear in
mind you'll have to cater for visitors whom do not have an account. But
that can be easily overcome using guest accounts or some similair
mechanism.

I hope this answers you questions or at least gives you some helpful
pointers

"Samuel Shulman" <sa************@ntlworld.comwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
>Hi

I need to implement a shopping basket for my e-commerce website

Scenarios are as follows

1. Website to offer shopping basket for all visitors including those who
didn't log

2. Website to offer shopping basket ONLY to those that are logged

I got advice in this newsgroup to buy the functionality of a shopping
basket (as a web control etc.)

My question is why isn't it straight forward in both cased to maintain
the shopping basket data either through the session variable or in the
first scenario using the database and relate the data to the client
record. Another possibility is using a cookie on the client machine for
identification (in this case the database will be used)

Thank you for your advice,
Samuel Shulman
SBS Technologies Ltd


Sep 11 '06 #3

P: n/a
Personally, i agree 100%
I will always reprogram my own custom tools.

But can be easier at times to use ready built

"Samuel Shulman" <sa************@ntlworld.comwrote in message
news:OF**************@TK2MSFTNGP02.phx.gbl...
Thank you for your advice,

What work can the shopping basket save me if I have to create the database
tables necessary and the web page to show the content of the basket

The only thing I can think is a control which I will have to set the
properties such as a list of products

I think that some offer to actually maintain the basket but in this
occasion I would to keep the data myself

Samuel

"Grant Merwitz" <gr***@workshare.comwrote in message
news:uv**************@TK2MSFTNGP04.phx.gbl...
>Hi Samuel.

It is straight forward to use a session variable or cookie.
The reason people advice you to use a 3rd party tool is why reinvent the
wheel when its easier to use something already developed and readily
available.

Moving forward:

Sessions:
Bear in mind these will only be available for the duration of the users
visit, and also it will expire after a set amount of time as well.
This way, when the user revisits your site, there shopping basket will
now be empty.

Cookies:
This is a great way to keep the shopping basket.
If you are trying to relate the data to a record in your database, bear
in mind you'll have to cater for visitors whom do not have an account.
But that can be easily overcome using guest accounts or some similair
mechanism.

I hope this answers you questions or at least gives you some helpful
pointers

"Samuel Shulman" <sa************@ntlworld.comwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
>>Hi

I need to implement a shopping basket for my e-commerce website

Scenarios are as follows

1. Website to offer shopping basket for all visitors including those who
didn't log

2. Website to offer shopping basket ONLY to those that are logged

I got advice in this newsgroup to buy the functionality of a shopping
basket (as a web control etc.)

My question is why isn't it straight forward in both cased to maintain
the shopping basket data either through the session variable or in the
first scenario using the database and relate the data to the client
record. Another possibility is using a cookie on the client machine for
identification (in this case the database will be used)

Thank you for your advice,
Samuel Shulman
SBS Technologies Ltd



Sep 12 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.