making shopping cart in html. how to store prices in cart.
Moderator: General Moderators
-
prasadb2005
- Forum Newbie
- Posts: 7
- Joined: Tue May 19, 2009 1:18 am
making shopping cart in html. how to store prices in cart.
I am doing a website for book shop in php. I have created static pages in html.
To complete the website it needs at least 2 months. But currently I want to make that static site work.
In short I want to do shopping cart in html. But in html there is no session handling or database handling. please help me to do shopping cart in html. no php or other language.
how should I store book's prices in cart. and make total of prices of all selected books using html?
Thank You.
To complete the website it needs at least 2 months. But currently I want to make that static site work.
In short I want to do shopping cart in html. But in html there is no session handling or database handling. please help me to do shopping cart in html. no php or other language.
how should I store book's prices in cart. and make total of prices of all selected books using html?
Thank You.
- Bill H
- DevNet Resident
- Posts: 1136
- Joined: Sat Jun 01, 2002 10:16 am
- Location: San Diego CA
- Contact:
Re: making shopping cart in html. how to store prices in cart.
You cannot do it. HTML is a stateless protocol. Your ship is sunk without a trace.
-
prasadb2005
- Forum Newbie
- Posts: 7
- Joined: Tue May 19, 2009 1:18 am
Re: making shopping cart in html. how to store prices in cart.
Hello friend,
We can make shopping cart in html. But need to use javascript.
I did R&D on that.
I got some sol. as using javascript and cookies we can store temparary values.
will try.
Thank You,
Prasad.
We can make shopping cart in html. But need to use javascript.
I did R&D on that.
I got some sol. as using javascript and cookies we can store temparary values.
will try.
Thank You,
Prasad.
Re: making shopping cart in html. how to store prices in cart.
Hi Prasad, Why don't you use any sql database? That'll help you. Yes, You can store temporary values uing cookie but again, that'll be temporary.prasadb2005 wrote:Hello friend,
We can make shopping cart in html. But need to use javascript.
I did R&D on that.
I got some sol. as using javascript and cookies we can store temparary values.
will try.
Thank You,
Prasad.
You can use php+mysql? You can rename extension to htm using .htaccess file.
// I am a beginner though. You can ask other members advice
//Good Luck
- Bill H
- DevNet Resident
- Posts: 1136
- Joined: Sat Jun 01, 2002 10:16 am
- Location: San Diego CA
- Contact:
Re: making shopping cart in html. how to store prices in cart.
Um you said, "no php or any other languages." javascript is not html.We can make shopping cart in html. But need to use javascript.
There are dozens of shopping carts available, quite a few of them free.
Why you would insist on writing your own is odd, and why you would insist on doing in in a highly unreliable method totally escapes me.
Re: making shopping cart in html. how to store prices in cart.
by the way,
General Discussion
Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.
General Discussion
Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.
- becky-atlanta
- Forum Commoner
- Posts: 74
- Joined: Thu Feb 26, 2009 6:26 pm
- Location: Atlanta, GA
Re: making shopping cart in html. how to store prices in cart.
If you don't have a LARGEprasadb2005 wrote:... I want to do shopping cart in html. ....
If you know some php, it will be more flexible. But it is not required.
Of course. there are also other free shoping carts you can Google. They seem to be very easy to implement also.
Another route is to check with your hosting company. Mine would provide a shopping cart to add to my site if I choose to activate it. It is fully functional with databases and everything.
I hope this helps.
-
l.francis30
- Forum Newbie
- Posts: 12
- Joined: Tue May 19, 2009 11:27 am
Re: making shopping cart in html. how to store prices in cart.
Yes.. You can create a page for every item you have but if you have a lot of item, you will have a big problem.. And another thing is, is it hard for you to maintain the website i.e. changing the prices or adding some more item.. You need a lot of time to do that..becky-atlanta wrote:If you don't have a LARGEprasadb2005 wrote:... I want to do shopping cart in html. ....selection of merchandise, try PayPal. You can setup a button there and it will general the html code for you. You can also do "View Shopping Cart" with PayPal's setup.
If you know some php, it will be more flexible. But it is not required.![]()
Of course. there are also other free shoping carts you can Google. They seem to be very easy to implement also.
Another route is to check with your hosting company. Mine would provide a shopping cart to add to my site if I choose to activate it. It is fully functional with databases and everything.
I hope this helps.
- becky-atlanta
- Forum Commoner
- Posts: 74
- Joined: Thu Feb 26, 2009 6:26 pm
- Location: Atlanta, GA
Re: making shopping cart in html. how to store prices in cart.
You are absolutely right. HTML is created for displaying information. It is not made for storing or manipulating databases. That's why you are better off to learn some programming and database administration. If you are going to build more web sites, you will gain in the long run.
After all, you can always find free shopping carts if you Google it.
After all, you can always find free shopping carts if you Google it.
-
l.francis30
- Forum Newbie
- Posts: 12
- Joined: Tue May 19, 2009 11:27 am
Re: making shopping cart in html. how to store prices in cart.
THere are a lot of free out there but maybe he want to learn how to create one himself..
Source code are not available if you download free one
Source code are not available if you download free one