close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Cart not Populating

Thread began 4/03/2013 5:08 pm by Mike Perry | Last modified 4/05/2013 2:36 pm by Mike Perry | 611 views | 10 replies |

Mike Perry

Cart not Populating

I'm using a form to populate a cart, with no success. The redirect page doesn't load, and if I start the redirect page manually it shows the cart as empty.

Cart file and Form page attached.

Pulling my hair out -- just one of those days . . .

Thanks,

Mike

Sign in to reply to this post

Jason ByrnesWebAssist

your form does not have a filed for the add to cart quantity.


add a hidden filed named "register_Quantity_Add" and set the value to 1.

Sign in to reply to this post

Mike Perry

Originally Said By: Jason Byrnes
  your form does not have a filed for the add to cart quantity.


add a hidden filed named "register_Quantity_Add" and set the value to 1.  


Did that -- the form now processes and redirects. Only now the cart is said to be empty on the redirect page.

Attached.

Sign in to reply to this post

Jason ByrnesWebAssist

it may be that the host does not save sessions correctly.

use the session test from the following thread:
showpost.php?p=23826&postcount=2

to make sure the host can save sessions correctly, if the session test fails, the host will need to update the session.save_path in the php.ini file.

Sign in to reply to this post

Mike Perry

Originally Said By: Jason Byrnes
  it may be that the host does not save sessions correctly.

use the session test from the following thread:
showpost.php?p=23826&postcount=2

to make sure the host can save sessions correctly, if the session test fails, the host will need to update the session.save_path in the php.ini file.  



The test ran successfully on localhost; the cart still shows empty in playerlist.php. php.ini shows the session.save_path set to "c:\PHP\tmp" in two places, and that's what phpinfo.php reports.

I did try it on the hosting server; it works fine.

Now -- how can I add more than one player to the cart? If I go back to addplayer.php it overwrites the first item because $ATC_itemID is hard coded to "0".

Thanks

Sign in to reply to this post

Jason ByrnesWebAssist

set the first name and last name cart column to be unique in the eCart object.

Sign in to reply to this post

Mike Perry

Originally Said By: Jason Byrnes
  set the first name and last name cart column to be unique in the eCart object.  



Just set First name unique -- will be same family. Still overwrites. . .

Sign in to reply to this post

Jason ByrnesWebAssist

clear the cart first and double check the eCart files are uploading, if you are using a different first name and the eCart files are uploading properly it will not over write.

Sign in to reply to this post

Mike Perry

Originally Said By: Jason Byrnes
  clear the cart first and double check the eCart files are uploading, if you are using a different first name and the eCart files are uploading properly it will not over write.  


I've done a fresh upload of all files; Using either cookie or session storage the cart gets overwritten

addplayer1.php

Attached File has addplayer, playerlist, and all ECart files. . .

Sign in to reply to this post

Jason ByrnesWebAssist

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