CodeVerge.Net
Beta
Item Entry
Register
Login
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums
Can Reply:
No
Members Can Edit:
No
Online:
Yes
Zone:
>
Asp.Net Forum
>
starter_kits_and_source_projects.commerce_starter_kit
Tags:
Item Type:
Date Entered:
9/25/2003 2:54:36 PM
Date Modified:
Subscribers:
0
Subscribe Alert
Rate It:
NR
XPoints:
N/A
Replies:
1
Views:
32
Favorited:
0
Favorite
2 Items, 1 Pages
Sort By
Date Dsc
Date Asc
Votes Dsc
Votes Asc
1
|<
<<
Go
>>
>|
"pao13" <>
NewsGroup User
Shopping Cart
9/25/2003 2:54:36 PM
0
i think there is an issue when visitors add Products to a shopping cart.
the product id is passed to the addtocart.aspx page from the query string.
so easily anyone that know a few things about programming can type the url
on the address bar and pass any number to the addtocart.aspx.
and if the product id exists in the table products it will add it to the shopping cart. when it does not exist then an error is displayed.i think this is due to the fact that there is a foreign key constraint in the database.
untill now nothing is too serious and it will not harm anything.
but i faced a problem when i modified the products table to have another field that states if the product has been sold or not.its type bit and i set it on when a product has been sold.
so i have a list of all the products.some are for sale and some are sold.
but now if the user type the url addtocart.aspx?productid='a product tha has been sold' the prooduct is added to the shopping cart as well.
what other options do i have to implement a shopping cart.?
what are your comments about the way the commerce starter kids handle this?
thanks
"timh" <>
NewsGroup User
Re: Shopping Cart
9/25/2003 8:01:49 PM
0
The starter kit is just that - A Starter.
If you don't want to add an item that is sold out to the cart then you will need to do a check in the logic that adds items to the cart for qty available. Then decide to add or not.
TIM
2 Items, 1 Pages
Sort By
Date Dsc
Date Asc
Votes Dsc
Votes Asc
1
|<
<<
Go
>>
>|
Free Download:
Invite
Members
SiteMap
login admin/host but return back to home...
new skin problem
dnn install error
very new to dot net nuke
getting an when trying to install dnn
consider the two solutions: upgrading an old project to a new one or replacing all with dotnetnuke
finally made a skin - but can't get it to load... 3.00.11
how to create 2nd parent portal?
runtime error when editing html
help on dnn installation
dnn 3.0.13 after install error an unhandled error has occurred
access .mdb question
setting admin/site settings crash
upgrading to dnn from snitz
migrating dnn 3.1.1. to use vs.net 2005 give errors
error in dnn 321 crashing server
changing text colors
problem with custom attributes in a skin
dotnetnuke
installation of dnn 4 and sql express error
dnn2 hide login based on user status?
character limitations in announcements module
unencrypt password temporarily
dnn 4.0 install problems
port 1084??? why does dnn 4.0.1 starter kit create a port in the url??
java script inside a module
having a bad day at this...
can't add users/or register! help please :-(
how many instances of dnn4.0.2 can be run at any one time
installing dnn4.x
ayuda dotnetnuke en español
moving from local test to hosting
aspx file extensions are not displaying, please help me
location dotnetnuke files
server error in '/reverseauctions' application.
i need help! problems installing dnn!
setup on godaddy
tons of javascript error
hard coding url to include user name, password, destination page
multiple parent portals(?)
uploading images w/ ftb in 1.0.10d code
where do i add the validaterequest="x" statement?
help wuth clean install dnn 3.1.0
only default.aspx will load
tabs instability
dnn as a data front-end
change colour of tab area?
problems updating information
problem installation - please help me!
i'm not having the security tab in windows xp?
Privacy
|
Contact Us
All Times Are GMT