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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Update Cart Button Question

Thread began 5/12/2009 1:13 pm by jenbar3378469 | Last modified 5/14/2009 12:28 pm by Ray Borduin | 1601 views | 7 replies |

jenbar3378469

Update Cart Button Question

Hi My Update Cart Button when clicked, clears the entire cart, but only when removing item on first line. Can someone please help?!

Here is the code:

<input name="sumidrive1_Update_100" type="image" class="subbutton" id="sumidrive1_Update_100" src="../WA_eCart/Images/Pacifica/Btn5_EN_update.gif" alt="Update" /></td>

Thanks!

Sign in to reply to this post

Ray BorduinWebAssist

What version of eCart was this made with? You may need a support incident to have someone help you debug this.

Sign in to reply to this post

jenbar3378469

This was done with eCart 4 (the latest version). Please help, Thanks!

Sign in to reply to this post

Ray BorduinWebAssist

What is your server language? I'll need to reproduce the problem in order to figure out what is happenning and try to find a fix.

Sign in to reply to this post

jenbar3378469

My server language is PHP.

Also, I am getting an error when clicking "continue shopping" button. When this button is clicked, it does not redirect anywhere.

In addition, when I add the cart button to any of my pages in DW I am coming up with the following error: 'while executing onClick in WA eCart AddtoCart.htm a javascript error occured'

Lastly, my cart is not showing prices. Could this be because the mySQL databases are built with the $ before the prices already? Should I take them out and retry? I assume once my prices show, it will then do the proper calculations in showing me total price...

Maybe all of these issues are related?

Please help and thank you!!!

Sign in to reply to this post

Ray BorduinWebAssist

We'll have to work on one thing at a time. I think the error in your add to cart button might require you to delete your winfilecache .dat file. You can search the forums on information on how to that.

You will need to remove the dollar sign from the database or strip it out in the query or in php. You need to pass a number without currency symbol to the price field.

Continue shopping should work, but it might have a problem due to the other add to cart issues. Get add to cart working first before worrying about continue shopping.

Sign in to reply to this post

jenbar3378469

Hi Ray,

I deleted the dollar signs from my database and now the shopping cart is displaying the prices. I deleted the winfilecache .dat file. The items will add to the cart ok, I am just getting a javascript error in Dreamweaver when I insert the cart button. I thought maybe this was causing my "Continue Shopping" button and my "Update Cart" button to work improperly.?

As I said, the "Continue Shopping" button does not redirect at all, stays on the shopping cart php page. And, the "Update Cart" button only works when removing certain items, for instance if I want to remove line item 1 it will clear the entire cart, no matter what is on there!

Please help!

Thanks!

Sign in to reply to this post

Ray BorduinWebAssist

Please post a support incident. You have a lot of odd things going on, so I think it would be best to have somebody debug the code with you.

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