|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Hey guys, i am a little new to programming, i jumped in head first about 6 months, so hear it goes. I am looking for some basic example code of a CF shopping cart, and by basic i mean, if possable No eyecandy. As already mentioned, i am am new to this and i want to try and get my head around how these work (i mean i understand what i have to do, just need some direction in how to achieve it), any help/links would be greatly appreciated, thanks guys (and girls).
Brad |
|
#2
|
|||
|
|||
|
here
www.easycfm.com has tutorials for everything
http://tutorial268.easycfm.com/ there are some others for shopping carts too |
|
#3
|
||||
|
||||
|
for help with a CF cart, ask kiteless, he helped me in the same situation. He has a GREAT example of a cf cart he made on the net someplace.
__________________
MostarDesigns.com |
|
#4
|
|||
|
|||
|
It's here:
http://builder.com.com/5100-6387_14-1058748.html?tag=search But there are two small errors in the code: Change this: <cfparam name="session.cart" default="arrayNew()"> To this: <cfparam name="session.cart" default="#arrayNew()#"> and change this: <!--- Append a new element to the array. This element is a new structure. ---> <cfset session.cart = arrayAppend( session.cart, structNew() )> to this: <!--- Append a new element to the array. This element is a new structure. ---> <cfset arrayAppend( session.cart, structNew() )>
__________________
Ask if you have a question, but also help answer questions that you have knowledge of! Thanks, Brian. How to Post a Question in the Forums |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ColdFusion Development > An extremly basic example of a CF powered cart |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|