eCart Add to Cart - Error "At line 907...has no properties"

11/30/2009 5:43 pmthetypehouse

Hi DaniThanks for replying.

1. Following my posting to the forum, I made several more attempts, before realising that I could still proceed to the bindings panel, even though it wasn't being populated by the look-up (the original problem).

2. So I clicked on the lightning bolts to add the bindings from the database (DB).Clicking OK produced an Add to Cart button for the Resources (henceforth 'catalogue') page.However, first of all, it was treating all the rows the same (i.e. they all had the same value passed to the shopping cart (shopping-cart.php), then I realised that I must have had the option for "Add static item to cart" (even though I'd added the dynamic bindings).So I reopened the Server Behaviour and made sure that "Look up item ID from recordset" was selected, and double-checked the bindings.

3. Now the catalogue page passed the correct the values to the shopping cart. However, as the 'catalogue' page wasn't redirecting to the shopping cart page after adding an item to the cart, I manually entered the URL to this row: $ATC_RedirectAfter = "../shop/shopping-cart.php";

4. Now the catalogue page reloads, but seems to lose the recordset values (i.e. ProductName, ProductShortDesc & ProductPrice). It seems that only by clicking on the Add to Cart button for a second time are values are added to the cart, and then they're only from the second DB row!

There's something wrong somewhere!

I've attached screenshots of the General tab (after the OP error message comes up) and of the Bindings tab.