Get ready for BLACK FRIDAY shopping starting in

Forums

This topic is locked

UCCart shopping card

Posted 26 Apr 2002 14:33:20
1
has voted
26 Apr 2002 14:33:20 marthi noordhuis posted:
When i put the shopping card to server behavior and i click twice i become a window with fields id, price, name etc.
But when i put these field with drag and drop in a table. And Put also the repeat region from the UCCart to the selected part of the table. so far, so good. But where can i give the connection whit the database in the UCCart.
have i missed out a vital step somewhere.
Please, is there anyone who can help with this problem

Replies

Replied 26 Apr 2002 23:26:59
26 Apr 2002 23:26:59 Dennis van Galen replied:
If you can bind in data from the data bindings window then you allready have a connection to your Dbase...

In Ultradev you create a connection that is available in the entire site that it is created for, it creates a .asp page in the "connections" folder, when you create a recordset or shoppingcart in the databindings window you can switch to code view and see this file included at the top of your code:
<!--#include file="../Connections/MyConnection.asp" -->

The shopping cart itself is setup from either the databindings window or the server behaviors tab (in same window). It will ask for a dbase connection when you do a "save cart to table" and "get unique ID from table".

The shopping cart itsself is stored in a session that runs on the server and/or is stored in a cookie.

I hope that helps and be sure to install the patch and even more important take note of a bug thingy in the get unique id from table, there's more on that topic here in the UDev talkzone, i think i answered that issue twice although i can't find them so fast.


With kind regards,

Dennis van Galen
Webmaster KPN Services
Financial and Information Services
Replied 28 Apr 2002 16:11:24
28 Apr 2002 16:11:24 marthi noordhuis replied:
Thank you Dennis.
Exactly so as you told,it works now.<img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>

Reply to this topic