Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

E-Commerce Modules /

Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.

Moderators: martimiz, Nicolaas, Sean, Ed, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba

Cart clears when user goes to checkout


Go to End


4 Posts   1786 Views

Avatar
nat.pike

Community Member, 21 Posts

1 July 2015 at 1:19pm

We are having an issue with one of our websites - user can add items to the shopping cart but once they click on the 'Go to Checkout' button the cart clears - unless you are logged in - then everything is fine.
We are running Silverstripe 2.4.7 and Ecommerce.
Any help would be greatly appreciated.

Avatar
Pyromanik

Community Member, 419 Posts

5 July 2015 at 8:53pm

Sounds like someone is clearing the session too early.
Which e-commerce module is it? And at which version (if you can find out)?

Avatar
nat.pike

Community Member, 21 Posts

8 July 2015 at 12:52pm

Hiya, we are using the ecommerce module - sorry I can't see the version?

Avatar
Pyromanik

Community Member, 419 Posts

8 July 2015 at 9:05pm

Edited: 08/07/2015 9:09pm

The module is named 'ecommerce'?
I don't remember a module with that name for 2.4 :/

2.2 there was one I think.

It became the basis for the burnbright fork from what I recall. Perhaps try upgrading to that (in a separate dev environment!).
Otherwise I'm afraid you'll have to dig around and fix the issue yourself :(
All the info gets stored with Session, so I imagine it's something to do with that being cleared prematurely.