close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


Product Results Page

Thread began 1/13/2010 10:48 am by toby379423 | Last modified 1/22/2010 2:30 pm by Eric Mittman | 1360 views | 3 replies |


Product Results Page

Hi there,

I wanted to change the Product List page and make the "Learn More" button on the right to the "Add To Cart" button instead of going to the Products Detail page. How would I go about doing that?

Here is the page in question:


Thanks in advance!

One other thing I wanted to do was, on the Continue Shopping button on the cart.php page, I would like it to go to the home (index.php) page instead of back to the previous item. Is this possible?

Sign in to reply to this post

Eric Mittman

You could make these changes but if you do this you will loose the ability to have the product options when you add the item to the cart.

To get it workign like this would require you to make use of eCart to add in the add to cart functionality to this page. Once added you could update the button to be the same as the one on the details page. This will allow you to add the item to the cart from the listing page.

As for the continue shopping button you can make it always go to any page in the site you would like by editing the code. You can use eCart to alter the continue shopping server behavior that is applied and just specify the redirect in there and uncheck the box to go to previous URL.

Sign in to reply to this post


Now when I try to add the Add To Cart button, i get this error message in Dreamweaver:

"While executing onClick in WA eCart AddToCart.htm, the following JavaScript error(s) occurred:

At line 924 of file "1TB:Applications:Adobe Dreamweaver CS4:Configuration:Commands:WA eCart AddToCart.js":
document.generalWP.document.column.options[document.generalWP.document.column.selectedIndex] has no properties"

Any idea what this is, and more importantly, how to fix this to put an Add To Cart button?

Sign in to reply to this post

Eric Mittman

JS errors like this can occur from time to time. Usually you can get pat this problem by deleting the cache file for DW. Here is a link to a document that lists the steps to take for this:


If this does not work for you there may be an issue with the configuration folder. You can rename this to undo any corruption that may have occurred. Here is a link to a post with steps you can take to do this if need be.


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





Ease of use


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