close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

order history in database

Thread began 2/11/2011 4:52 am by mdsayeed_u394092 | Last modified 2/11/2011 10:25 am by Jason Byrnes | 832 views | 1 replies |

mdsayeed_u394092

order history in database

Hi

Purchased items(form to database functionality) working fine, but there is bug/issue with this functionality. When my customer buying more than one items, ecart inserting contact details once but repeating product details(without contact details). So it is an issue, we dont know which visitors purchase what items

Hope you understand

Sample database like this

Productname price visitor name email
item1 usd 100 test visitor test@yahoo.com
item2 usd 140 (blank) (blank)
item3 usd 140 (blank) (blank)

something as this.


Please tell me how form details can insert into database more than one(when customer buy two or three items)

Kind Regards

Sign in to reply to this post

Jason ByrnesWebAssist

you should have 2 database tables:
orders
orderDetails


your order details table should have a foreign key column that will create a relations ship between the order table and the order detail table

you should use the eCart Store order Summary to store the customer information into the order table. In the Store order summary set the key Column to the be the Primary key column of the order table. make not of the name of the store as value.

Use the eCart Store Order Details to store the order details information.

Set the key column to the Foriegn key column of the order details table.


see the creating an order history tutorial on the eCart support page.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...