close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Add to Cart

Thread began 7/02/2012 5:22 am by johna1964 | Last modified 7/03/2012 2:35 pm by johna1964 | 2510 views | 10 replies |

johna1964

Add to Cart

Hi,

I have added some products to my site and have several add to cart buttons on each page.

Using the update version 5.0.6, I am able to add only one item to the cart page from the new buttons generated. All older items continue to function normally, but the new buttons replace whatever new item is in the cart.

I have tried on more than one page and on another testing site; all do the same thing.

Cart page and a static product page are attached.

Let me know if you need any other files...

Thank you so much!

johna1964

Attached Files
Files.zip
Sign in to reply to this post

Jason ByrnesWebAssist

please post a link where i can see the problem and steps to reproduce.

Sign in to reply to this post

johna1964

Hi Jason,

Had to upload it.

Here is a direct link:

coconut.php

I do not want to create links to the page yet, because it is unfinished... this will show you the issue though...

Thank you for your help :)

johna1964

Sign in to reply to this post

Jason ByrnesWebAssist

try this:

find the following line on the add to cart page:

php:
header("Location: ".$eCart1->redirStr);





and chAnge it to:

php:
@session_commit();

header("Location: ".$eCart1->redirStr);
Sign in to reply to this post

johna1964

Hi Jason,

I changed it. Did I place this code correctly?
The lines 68-74 now look like this:

<?php
// WA eCart Redirect
if ($eCart1->redirStr != "") {
@session_commit();
header("Location: ".$eCart1->redirStr);
}
?>



I uploaded it - it is still not working...

I tried on three pages of the new pages with more than one add to cart button - nothing

Do you need me to upload the WA eCart folder... did I need to add a file since the ecart update?

Please help :)

Thank you!

johna1964

Sign in to reply to this post

johna1964

Hi Jason,

I tried again this morning on the new site. I placed the code as instructed. It contiunes to replace whatever is in the cart - not adding more than one product to the cart via static pages.

It will however add more than one product when the add to cart button is selected from the data assist pages.

I hope this helps with a solution.

Thank you much for your time and help!

johna1964

Sign in to reply to this post

Jason ByrnesWebAssist

The add to cart buttons look to be set up OK, can you send a copy of the WA_eCart/eCart1_PHP.php file so i can see hiw the cart object is configured.

Sign in to reply to this post

johna1964

Thank you Jason

Here is the file.

I put in a support ticket, but I uploaded the new files (new site) with that, not the one that is uploaded here...

It may be the same problem so if one is solved the other will be too... hopefully :)

johna1964

Attached Files
eCart1_PHP.zip
Sign in to reply to this post

Jason ByrnesWebAssist

I think I'll need to troubleshoot this on your server.


I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

Sign in to reply to this post

johna1964

Jason,

I have responded to the support ticket.

Thank you!!

johna

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