close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Swapping from ASP to PHP

Thread began 2/13/2010 11:56 am by J7HNW | Last modified 2/17/2010 10:52 am by J7HNW | 3756 views | 4 replies |

J7HNW

E Cart 5 and your Free E Commerce Database

I am used to working in ASP and this is my first attempt at a PHP and MySQL site

I have set up my MySQL database locally and on the web server and set up the connection in Dreamweaver to the products page.

I have imported the Webassist free e commerce database into the web and local databases.

I have used DataAssist to make Add / Mod / Del pages - and have then inserted my products to the table via DataAssist.

All works perfectly

I have then added the recordset to the page and put the data fields in a layout for testing. All work fine

Now I understood that this version of E Cart had a wizard to tie it into the Free E Commerce Database which you supplied.

I know I can easily add the E Cart object to the product_details page but how do I invoke the Wizard for E Cart 5 please to ensure it logs into the e commerce mysql database as it should. I just dont want to mess it up at this stage

Hope you can help

John


Please can you help ?

Sign in to reply to this post

Jason ByrnesWebAssist

On the detail page, you are adding the eCart add to cart button.

Go to Insert -> WebAssist -> eCart -> Add to cart.

Select the option to lookup the item ID from a recordset, select the products recordset on the details page and the ID column, on the bindings tab, bind each eCart column to the appropriate recordset column.


see the eCart getting started guide for more details:
ecart_gsg.php

Sign in to reply to this post

J7HNW

Thanks - but ...

Thanks Jason

I undersood all of this part - it was the binding of the cart to the E Commerce database which I am unsure of. As I understand it E Cart 5 stores orders into the cart. How do I set this part up ( ie how will E Cart know which tyables to store which parts of the order in ) so it stores the orders correctly ?

John

Sign in to reply to this post

Jason ByrnesWebAssist

in the checkout wizard, on the order management page, select the default preset. the default preset uses the eCommerce database table structure for the Order and orderDetails tables.

Sign in to reply to this post

J7HNW

Thanks Jason

Thanks Jason - that was the bit of info I needed

Regards

John

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...