473,326 Members | 2,095 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Shopping Basket

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
3 1852
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Harry Koh | last post by:
Bonjour I'm looking for a script of a caddy / shopping cart / basket in php/mysql - multilangage - Easy to integrate in an existing interface - easy to handle "in-a-minute" ( NECCESSARY) -...
6
by: Fnark! | last post by:
I am creating a shopping cart using PHP Version 4.1.2. I am creating and registering a cart object in a session. The cart object contains an array of arrays called $order whose elements are a...
0
by: Ian N | last post by:
Hi, I've been working on a PHP Shopping Basket and have hit a problem. I wanted update the DB with the contents of the Array which forms the basket. This isn't a problem, however i'm unsure how...
4
by: Richard Pain | last post by:
OK - I have a shopping basket with data in a database. Once the person has successfully completed their order I want to be able to send them an email with the products ordered roughly in the...
11
Fary4u
by: Fary4u | last post by:
Hi i've design the ASP shopping with MS Access database it's working fine there is no problem in LOCALHOST when i upload into the Host Server it's working fine but when u add product into...
0
by: Shanthini Ganesh | last post by:
hi all. now i m creating shopping cart. i would like to make when the user click the add to basket button, item added visually shown to user. i found one script for this in net.. but i couldnt pass...
0
by: jasone | last post by:
Hi all and happy new year! so here's my little problem, im developing a shopping cart for a florist. there will be a traditional shopping cart where the user adds item to basket and so on. i am...
3
by: jasone | last post by:
Hi all and happy new year! so here's my little problem, im developing a shopping cart for a florist. there will be a traditional shopping cart where the user adds item to basket and so on. i am...
4
Fary4u
by: Fary4u | last post by:
Hi for the last few months i've just stuck in 1 error & i don't know how to figer it out could any body find out where is the problem gonna be ? it's working fine but when u add product into...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.