PDA

View Full Version : Super Suite eCart not adding item to or showing Shopping Cart


mikec156913
03-15-2009, 02:49 PM
Hi All,

My eCart (v4.1.5) is not adding the chosen item to the shopping cart or displaying the cart after the Add button is clicked. I have set up the Add to Cart redirect to display the shopping cart affter Add.

I can access the shopping cart from a display shopping cart menu option but it's empty!

Any ideas please?

Mike.

mikec156913
03-15-2009, 03:54 PM
Problem sorted...

Mike

info271221
01-18-2010, 01:30 PM
<Link removed> - can you help?

Jason Byrnes
01-18-2010, 02:24 PM
Use the attached page to test your host to see if session management is working properly.

info271221
01-19-2010, 10:44 AM
I believe it is working properly.

<Link removed>

Thanks!

Jason Byrnes
01-19-2010, 11:49 AM
On the pages with an add to cart button, look for code similar to the following near the doctype tag:

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



and change it to:
<?php
// WA eCart Redirect
if ($<Your cart Name>->redirStr != "") {
session_commit();
header("Location: ".$<Your cart Name>->redirStr);
}
?>

info271221
01-22-2010, 08:24 AM
Okay. So that fixed the main add to cart page (and I have recorded that for future use)

and now I'm on the cart display page...
<Link removed> - Everything on this page functions except the checkout button.

Thanks for your help!

Jason Byrnes
01-22-2010, 11:20 AM
In the server behaviors list, double click the Checkout Server Behavior to set the redirect to go to the checkout page.

info271221
01-22-2010, 11:45 AM
I should have thought of that. Thank You! Is their a way we can leave this post online; however delete our website links?

Thanks again!

Jason Byrnes
01-22-2010, 12:12 PM
Links have been removed.

info271221
01-22-2010, 12:40 PM
On this page: <link removed> - Our customers have the option to choose a color and size; however I can not get it to display on the cart display page:

<link removed> however I did insert/bindings the additional options so they should be displaying on this page. (but they are not.)

Thanks for all your help!

Jason Byrnes
01-22-2010, 03:24 PM
make sure the update cart include file has been uploaded to the server. try uploading the entire eCart folder again.


if you still have problems, send a copy of the add to cart page and the cart_display.php page as well s I can look at the code.

info271221
01-23-2010, 11:05 PM
I re-published the entire eCart folder and now it works!

Thanks!

info271221
01-25-2010, 01:19 PM
Our shopping cart is the same order number when different customers order the same product. How do I fix this?

Removed Link

This is not a huge deal; however then they are not being able to place their order as it gives a duplicate order errror message.

Thank you!

Jason Byrnes
01-25-2010, 01:44 PM
What are you using for the order number?


use either the primary key column from the orders table which should be set to be3 an Auto Number column or the Session ID.

info271221
02-04-2010, 09:20 AM
What are you using for the order number? I believe we are using a unique number; however we are also using session ID for something.

Where do I go to check this out? This is an example of a confirmation number we get: dlgkc899mm37orel29u1vvbo67 (it's created from web assist eCart).

Thanks,

Julie

info271221
02-08-2010, 02:52 AM
I am getting errors on the confirm page below.

Removed links.

These pages where working; however I wanted to get more information into the cart and emailed to us, so I made a few changes and now the confirm page does not work.

Please help ASAP!

Julie

Jason Byrnes
02-08-2010, 05:01 PM
Please be more specific.


What are the errors you are getting?


please include a copy of the confirm page.

Jason Byrnes
02-10-2010, 03:46 PM
yeah, that error is related, please send your checkout_success.php page as well.

info271221
02-10-2010, 04:49 PM
Perfect - we can fix two issues at once! :)

Attached is the check out success page.

Jason Byrnes
02-10-2010, 04:51 PM
add the following code after the </html> tag of the checkout success page:

<?php
// Initialize the session.
// If you are using session_name("something"), don't forget it now!
session_start();

// Unset all of the session variables.
$_SESSION = array();

// If it's desired to kill the session, also delete the session cookie.
// Note: This will destroy the session, and not just the session data!
if (ini_get("session.use_cookies")) {
$params = session_get_cookie_params();
setcookie(session_name(), '', time() - 42000,
$params["path"], $params["domain"],
$params["secure"], $params["httponly"]
);
}

// Finally, destroy the session.
session_destroy();
?>

info271221
02-11-2010, 07:02 AM
Okay. So that fixed the issue on the communityhotline.com website.

However I still recieve this error:

Transaction Not Completed
We're sorry

Your transaction could not be completed.

SGS-005005: Duplicate transaction. error

error message

Thu Feb 11 10:00:12 2010SGS-005005: Duplicate transaction.g1kisa84o0iomsvt4otg6amel4FRAUD full response

on the proridersaddles.com eCart

I have attached the following pages I thought you might need. Thank You!

Jason Byrnes
02-11-2010, 11:59 AM
1) make sure the change to the checkout success page is being uploaded to the server. yoiu may want to put today's date in the body of the page so there is a visual change you can use for verification.

2) close the browser completely to kill the initial session before testing. If you tested and ran into this problem, then made the change to the success page, you need to start a brand new session before you can be directed to the success page for the change to take effect.

Jason Byrnes
02-12-2010, 12:27 PM
This is not the same issue as the problem you initiated this thread for. Please start a new thread for new problems.

There are a number of problems I see in your page:
1) each different item should have a unique ID

2) The ID's should be numeric, you are using text.

3) the Add to cart buttons should only be created after all of the cart columns have been added to the eCart object.

4) in the eCart object, set the unique attribute for columns that should seperate a product. For example, to have a separate line item created for item 1 in red and blue, the color column must have the unique attribute set.


some of your add to cart buttons do not include bindings for either the color or size column, this will only happen if the add to cart button was added to the page before the column was created. double check the unique attributes in the eCart object, then recreate the add to cart buttons on this age.

info271221
02-16-2010, 01:15 PM
I went in and made those changes and now everything works!

Thanks,

Julie

info271221
02-16-2010, 04:00 PM
I reviewed notes from the past and still can't get this page to work properly.

http://jjsbs.com/ScreenShareSessionsTrainings.php

I have attached the files you will probably need.

Thanks for your help!

Julie

Jason Byrnes
02-16-2010, 04:49 PM
Please, you need to provide details on the nature of the problem you are having. Do not simply state that it does not work, you need to explain what you are experiencing versus what you expect.


When I test your page, I see 2 add to cart buttons. Each add to cart buttons successfully ads an item to the cart. They are both added on separate line items. I am not able to see a problem on the page, If you could give details on the problem you are experiencing it would be helpful.

info271221
02-17-2010, 08:43 AM
The items go to the shopping cart page, then the confirm page and then the checkout failure page instead of the checkout sucess page.

The error message I get on the checkout failure page is:
Transaction Not Completed
We're sorry
Your transaction could not be completed.

error

error message

full response

Please let me know if you need anything else.

Thanks,

Julie

Jason Byrnes
02-18-2010, 01:11 PM
that is exactly the level of detail I need to have any idea what to look for, thank you.

On the failure page, add the following code please:
<?php
if(!session_id()) session_start();
echo("Full Request: ".$_SESSION["WALinkPointAPI_postedValues"]."<br />");
echo("Full Response: ".$_SESSION["WALinkPointAPI"]."<br />");
?>



NOTE: The full request and full response may contain sensitive information, you will need to remove the sensitive information when posting it back.

info271221
02-25-2010, 06:18 AM
I added the session code to the failure page and now get this error message.

TOP OF THE PAGE BEFORE REAL PAGE LOADS:
Full Request: 1206829secure.linkpt.net1129SALELIVE001010.00CUSTO MERNAMEADDRESSCITYSTATEZIPPHONEEMAILCREDITCARDNUMB EREXPDATECODEONBACKOFCARD1010NUNSPECIFIEDdbgjmc0o8 u2gd984q9rkivl910SharedSessionSessions101
Full Response:

IN BODY OF PAGE:
Transaction Not Completed
We're sorry
Your transaction could not be completed.

error

error message

full response

Jason Byrnes
02-26-2010, 05:07 PM
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:
http://www.webassist.com/mywebassist/login.php