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: 29 Favorited: 0 Favorite
2 Items, 1 Pages 1 |< << Go >> >|
"pao13" <>
NewsGroup User
Shopping Cart9/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 Cart9/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 1 |< << Go >> >|


Free Download:













dnn 3.0.12 - readme documents

adding aic e-commerce module to dnn without vs

redirecting http:// to https://

registration page missing after upgrade...

scrolling news feed module

1.0.10e - update error

new pact tool pact# with c# support now available

listserv software

data provider question.

object reference not set to an instance of an object.

rise of the underdog browser

help rss not working

source code mgmt and core team?

cool but unwanted behavior in firefox 1.x in solpart menus

skin and image

dotnetnuke user help system

showing a page/module on many portals

question about preview mode

upgrading my current version of dnn

iframe vs placeholder

link between modules

adding/updating/deleting page very slow on 3.1 site - calling gettabs and gettabpermissionsbyportal for every page on site?

create a module through which i can add crystal reports

clean, full example of a vertical menu skin

can someone help with this error i'm now getting?

developing modules for dnn in visual studio 2005... arrrrrr... almost :(

need help - dnn 3.2.1 cannot create portal

patience!

registered users getting admin access in dnn 2

[search] token

redirecting after adding new item

dnn 2.0.3 deleted tab still visible

news module problem?

has any one tired to shadow a solpart menu module across portal

login/logoff and the home tab

crash between dotnetnuke and ibuyspy

core team: an idea for updating dnn core and modules

business and dnn

a get_geturl problem

an error has occurred: error loading module

put a module on all tabs except 1

role based security

trying to copy my site to webhost4life

change date in each time zone

question to the core team ?

updated 2.1.2 module settings errors out

newb: can i use the same db for a different portal on another dnn install and have them share pages?

dnn 2.1.2 questions....

problems with v2.1.2

creating an msi install for a dnn based product

   
  Privacy | Contact Us
All Times Are GMT