|
|
 |
asp/vbscript shoppingcart problem
date posted 18th January 2001 14:45
I am using the ultradev powerclimb shopping cart system done in asp/vbscript. They provide the following script to enable the results to be emailed out in paragraph style. The problem is, I'm unsure where to place it. I've added a cdo mail and tried it in the body of that but it doesn't seem to work.
has anyone got any suggestions? any help would be very welcome
cheers in advance
Rob
script that powerclimb provide:
UC_rowDelim = Chr(13) & Chr(10) & Chr(13) & Chr(10)
UC_colDelim = Chr(13) & Chr(10)
CartData = ""
for jRow=0 to UCCart1.GetItemCount() -1
if (iRow 0) Then CartData = CartData & UC_rowDelim
CartData = CartData & "Title: " & _
UCCart1.GetColumnValue("Title",jRow) & UC_colDelim
CartData = CartData & "Quantity: " & _
UCCart1.GetColumnValue("Quantity",jRow) & UC_colDelim
CartData = CartData & "Price: $" & _
UCCart1.GetColumnValue("Price",jRow) & UC_colDelim
CartData = CartData & "Total: $" & _
UCCart1.GetColumnValue("Total",jRow) & UC_colDelim
CartData = CartData & UC_rowDelim
Next
|
 |
|