Advertisement
Advertisement
| 06.18.2008 at 08:03AM PDT, ID: 23495473 |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: 54: 55: |
<% ' Define Constants CONST CARTPID = 0 CONST CARTPQUANTITY = 1 CONST CARTPNAME = 2 CONST CARTPBOARD = 3 CONST CARTPCOLOUR = 4 CONST CARTPPRICE = 5 CONST CARTPFACE = 6 CONST CARTPREV = 7 ' Get the Shopping Cart IF NOT isArray( Session( "cart" ) ) THEN DIM localCart( 8,20 ) ELSE localCart = Session( "cart" ) END IF ' Get Product Information productID = TRIM( Request( "pid" ) ) productQuantity = TRIM( Request( "cardQuantity" ) ) productName = TRIM( Request( "cardType" ) ) productBoard = TRIM( Request( "boardType" ) ) productColour = TRIM( Request( "spotColour" ) ) productPrice = TRIM( Request( "prodPrice" ) ) productFace = TRIM( Request( "cardFace" ) ) productReverse = TRIM( Request( "cardReverse" ) ) 'Add product to cart IF productID <> "" THEN foundIT = FALSE FOR i=0 TO UBOUND( localCart ) IF localCart( CARTPID, i ) = productID THEN localCart( CARTPQUANTITY, i ) = localCart( CARTPQUANTITY, i ) foundIT = TRUE EXIT FOR END IF NEXT IF NOT foundIT THEN FOR i = 0 TO UBOUND( localCart, 2 ) IF localCart( CARTPID, i ) = "" THEN localCart( CARTPID, i ) = productID localCart( CARTPQUANTITY, i ) = productQuantity localCart( CARTPNAME, i ) = productName localCart( CARTPBOARD, i ) = productBoard localCart( CARTPCOLOUR, i ) = productColour localCart( CARTPPRICE, i ) = productPrice localCart( CARTPFACE, i ) = productFace *line 51* localCart( CARTPREV, i ) = productReverse EXIT FOR END IF NEXT END IF END IF %> |