close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Problems with cart page

Thread began 9/07/2009 3:04 pm by segufix361615 | Last modified 9/14/2009 1:11 pm by Jason Byrnes | 3930 views | 16 replies |

segufix361615

Problems with cart page

Using the display manager I edited the cart page to display the shopping cart. It did work with the buttons (update and continue shopping). All the amounts were properly listed and added including tax.

Now it does not work anymore.
- It will show the editible quantity, show the item number and name, but only show zero Dollar amounts.
-With several items in the cart, it will delete more then one item, when I try to delete just one item.
- For some reason the German button for 'continue shopping' was replaced by the English version.

When I try to create a new cart page, it will do the same errors, only display the cart without any css information or formatted very oddly.

Is this a known issue? I couldn't find any info on it in the forum.

I restarted Dreamweaver several times, but that didn't work either.

Sign in to reply to this post

segufix361615

The cart now shows the price, but does not repeat the lines for multiple items. No matter what product is put in the cart, the cart page will only add the first record to the existing quantity instead of opening a new line for a new product. If with an empty card I select product (record) number 5, the cart page will still put record number 1 into the cart.

Sign in to reply to this post

segufix361615

Now, honestly, I don't know what I did, but the cart page works fine one again.

Sign in to reply to this post

Eric Mittman

Glad to hear that it seems to be working for you now. When it comes to new items updating the quantity this is usually controlled by the item ID and the option that you choose in the add to cart server behavior. In the server behavior in bindings you have the section for 'if item in cart'. This is normally where you would control that behavior. I'm not sure if what you were experiencing was just a one off glitch of some kind but this is how you make those adjustments just for reference.

Sign in to reply to this post

segufix361615

I looks like it is a glitch. One example is the tax. I had worked, and then it didn't. I went into the cart object, and there was no tax rule defined. So I set it up again, and then it worked again.

But it seems to be some glitch that repeats itself. Just now the cart page stopped working again. The tax is there, but it separate different products into different lines. Again it only brings up the first record from the database. Also when I go to the detail page, it shows the right product name and all the right info, but for the picture it shows the picture of the first record in the database. Very weird.

Sign in to reply to this post

Eric Mittman

If you are sometimes getting unique items in the cart and not other times it seems that you may have a problem with a recordset that is being used by the add to cart server behavior. In order to further troubleshoot what is going on you will need to get this to a point where it can be reproduced with a particular set of steps. This will be the key to figuring out what is occurring. Try running some test after closing your browser and adding some items in a particular order then. You should be trying to keep track of what you are doing in between your tests and when you see the result again you will need to make it happen consistently. Otherwise it will be very difficult to determine what is going on.

Sign in to reply to this post

segufix361615

Yes, there seems to be something wrong with the recordset. On the detail page, when I look under server behavior, there is a little red exclamation mark next to the record set "DetailRS1". That is the record set that is created by dreamweaver when I use the "master detail page set". On the detail page, dreamweaver puts all the info in the non-editable region. Maybe that is the problem. Right from the start, before even making a single change to the page, that little exclamation mark appears.

I deleted all the pages (catalog, detail and cart) and created them new, and for now it is working again.

When I double click on the record set behaviour, and hit OK in the record set window, the exclamation mark goes away. But when I then try to open the page in the browser, this little uplifting message appears: "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1"

I will do more testing in the morning, and try to reproduce the error.

Sign in to reply to this post

Jason ByrnesWebAssist

Please post a copy of the page so I can examine the code.

Sign in to reply to this post

segufix361615

Hi Jason,

Wich page would you like me to post? The cart page or the detail page? The recordset on the cart page shows no exclamation mark. The recordset on the detail page does.

It hasn't happened again though.

I think there might be something wrong with my Dreamweaver version. For example pages are displayed wrong in design view and in the browser. Only after restarting Dreamweaver, they display correctly again. And yesterday I uploaded the site using the blue arrow up button in the files window. Then I tried to upload a changed file, and I could not connect to the FTP server any more. I received a message "operation timed out. cancelling ...". I think Dreamweaver doesn't even seem to try to connect, because the message pops up almost instantly.

I did not change any of the settings of the remote information. Also I installed FileZilla on my Mac, and it connects just fine, with the very same login information.

So could this actually be a problem with my Dreamweaver? Maybe I should upgrade to CS4?

Sign in to reply to this post

Jason ByrnesWebAssist

I was asking for a copy of the problem page, the detail page. but if the problem is gone, I guess it is not needed.

Dreamweaver can be a horrendous FTP program, I try not to rely on it. When it starts acting UP, I usually close it and restart. If that doesn't help, I reboot the computer. If there is still no luck, I delete the cache file form the users configuration folder.

If you suspect a problem in Dreamwweaver, you can try recreating the configuration folder, this will mean reinstalling your extensions though:

Close Dreamweaver and go to:

WinXP
-DW8
--C:\Documents and Settings\<Your User Name>\Application Data\Macromedia\Dreamweaver 8
-DWCS3
--C:\Documents and Settings\<Your User Name>\Application Data\Adobe\Dreamweaver 9
-DWCS4
--C:\Documents and Settings\<Your User Name>\Application Data\Adobe\Dreamweaver CS4\en_US

Win Vista
-DW8
--C:\Users\<Your User Name>\AppData\Roaming\Macromedia\Dreamweaver 8
-DWCS3
--C:Users\<Your User Name>\AppData\Roaming\Adobe\Dreamweaver 9
-DWCS4
--C:\Users\<Your User Name>\AppData\Roaming\Adobe\Dreamweaver CS4\en_US


Mac OSX;
-DW8
--Hard disk: Users: <Your User Name>: Library: Application Support: Macromedia: Dreamweaver 8
-DWCS3
--Hard disk: Users: <Your User Name>: Library: Application Support: Adobe: Dreamweaver 9
-DWCS4
--Hard disk: Users: <Your User Name>: Library: Application Support: Adobe: Dreamweaver CS4: en_US

(Please note that <Your User Name> Should be replaced with the User name you use to log into your computer)

Rename the configuration folder to configuration_back. This will have the effect of disabling all of the installed extensions. You should open the extension manager and remove all extensions to clear the extension mangers cache. After removing the extensions you can then reinstall them making sure to download the latest versions from your order history.

NOTE:
On Windows Computers, The AppData or Application Data folders may be set to be hidden.

To View Hidden Folders in Windows Vista:
1) In The Windows Explorer, Click the "Organize" button
2) Select "Folders And Search Options"
3) Select the "View" tab
4) Click the "Show Hidden Folders And Files" radio button.

To View Hidden Folders in Windows XP:
1) On the Tools menu in Windows Explorer, click Folder Options.
2)Click the View tab.
3) Under Hidden files and folders, click Show hidden files and folders.

Sign in to reply to this post
loading

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