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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

ecart bug?

Thread began 10/26/2014 1:21 pm by Ericspecullaas | Last modified 10/27/2014 3:36 pm by Jason Byrnes | 404 views | 3 replies |

Ericspecullaas

ecart bug?

Greetings jason,

im calling this a bug because how the cart script read 2 commands at the same time. on this page http://www.disasterresistantconsulting.com/preparedness-test.php when I add an item it works prefectly, but if I were to change the cart value to 2 then change the shipping radio to Priority shipping then update the cart it doesn't add the math correctly. but if a add 1 item more then update then click priority then update it add up just fine not sure whats really going on or if I should even be worried.

thanks from Eric

Sign in to reply to this post

Jason ByrnesWebAssist

I'll need to troubleshoot directly, see the private message section.

Sign in to reply to this post

Ericspecullaas

pm sent

Sign in to reply to this post

Jason ByrnesWebAssist

This isn't a bug in the cart it is a bug in the way you are setting up shipping.

in the cart page, you are dynamically setting the name of the priority form element based on the quantity in the cart:
input name="upgrade<?php echo $eCart1->DisplayInfo("Quantity"); ?>" type="radio" value="priority<?php echo $eCart1->DisplayInfo("Quantity"); ?>" id="priority<?php echo $eCart1->DisplayInfo("Quantity"); ?>" />


this means that if the quantity in the cart is 1, the form element is named "upgrade1", you are then setting a session named upgrade 1 and using that for the shipping, doesn't matter if you change the quality, it will still be named upgrade1 when you clic the update button.

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