• I’m busy setting up a new store.

    I click Add to cart, the items display in the Shopping cart. However, when I select Checkout, the cart is empty.

    I can’t understand why this should be happening.

Viewing 10 replies - 1 through 10 (of 10 total)
  • This usually indicates there is some sort of problem with PHP sessions on your server. Does the cart clear when going to any page, or just to the checkout page?

    Also, on some servers, going from https://yoursite.com to https://yoursite.com can also do this.

    Thread Starter oscarf1

    (@oscarf1)

    It clears when going to any page … and all pages are currently https://

    illufoxdesign

    (@illufoxdesign)

    This is exactly the problem I’m having. Shopping cart clears when I want to checkout or when I go to any other page. Also, I cannot add multiple products, each added product erases the previous one.

    My shopping cart is on a client site which I build on my server. All worked fine. I then moved site to the client sever (same hosting provider) and now I have this issue.

    How come it works on my server but not on another server that’s on the same hosting?

    Is there a knwon fix for this issue?

    rbr17

    (@rbr17)

    any one know theme or plugin for e-commerce ..? ?? ?? ??

    illufoxdesign

    (@illufoxdesign)

    I finally found the answer on the web somewhere else. It was a PHP Session issue on my server. I contacted my hosting provider and they fixed something on the php.ini file. All is working now!

    A great, simple to use, e-commerce plugin for WordPress is PHPurchase. It supports PayPal Website Payments Pro, Express Checkout, and PayPal Standard as well as any payment gateway that supports the Authorize.net API. There is great documentation and support too.

    illufoxdesign, do you remember what were the changes that your provider made? It may help others (like me, ?? ).

    I had a similiar problem, (version 3.7.5.3) Add products to your cart from any product page, If you select the checkout from the sidebar “Shopping Cart” widget, the cart was empty. Select checkout from the default checkout “Page” and it was fine.
    Conversely, Add a product using the sidebar “Product Specials” widget and select checkout from the checkout “Page” and the cart was empty. Select checkout from the “Shopping Cart” widget and all was fine.

    The issue had to do with the Domain name. The “Shopping cart” was looking for “https://domainname.com” while the main site pages were all linked to “https://www.domainname.com”. So my theory is that the user session tracking sees a changing domain name and starts a new cookie to track the new session in the new domain. I am pretty sure that if you keep bouncing back and forth, that other cart inventory anomolies would show up.

    My Cause, I believe it started when i had updated the “WordPress address” in wordpress settings to include the www, and this is when the problem started. (of course I did not now this at the time)

    The Fix.

    Go to the WP e-commerce settings Product –> Settings and select the Admin tab. At the bottom of the page, Select “Update page URLs”.

    Problem solved.

    https://www.DipnDishes.com

    There’s alot more support for WP e-Commerce on the Get Shopped Support Forum; https://getshopped.org/forums/

    I am so happy I fixed the “no items in your cart” problem.

    Here is the fix:

    You must enable sessions as WP uses session cookies and shopping cart temporarily stores the cart in a “session” file. If the PHP on your server does not have this set up, it will not have anywhere to put the items (only later does it store them in the database).

    So, go to your hosting control center (or similar).

    Find PHP and /or scripting language support.

    There will be a section to update the php.ini file.

    The item you are looking for is:

    session.save_path = something.

    Make sure column 1 is not a semi-colon (makes it a comment)

    fill in your root path/phpsessions as the path name instead of something.

    You will have to get the root path from your hosting support. It is not your domain name.

    In my case it was something like:

    /home/users/web/b2953/moo.{myuserid}/phpsessions.

    Put this all in quotes.

    The final directory name must be “phpsessions” as that is what WP will
    look for.

    Then you have to create this directory in your WP root (public_html or
    httpdocs or similar).

    Then it works fine.

    Hy

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘WP ecommerce shopping cart’ is closed to new replies.