I understand that EC 4.0 will likely fix this issue, but I'm trying to find a solution for an EC 3.3 site.

The problem is that when users click the back button at any point during checkout, the page is reloaded and form values are lost. I'm trying to find out where it is determined to reload the page but am having trouble. Is it in the $form variable somewhere, or is an HTTP header being sent?

Thanks,
--Andrew

CommentFileSizeAuthor
#5 cartmodule.tar_.gz2.58 KBalexpott

Comments

brmassa’s picture

Andrew,

im affraid it cannot be fixed on eC3, due the way it as designed. im gonna check this on eC4 and contact the eC3 maintainers to think about a solution.

regards,

massa

daniel.hunt’s picture

*bump* Has there been any progress on this?

Brmassa: Have you heard back from the maintainers, or found a workaround for this problem yourself?

daniel.hunt’s picture

*final bump*

daniel.hunt’s picture

Any chance of an update on this?

alexpott’s picture

StatusFileSize
new2.58 KB

I came up against this issue whilst adding a custom screen to the checkout process. After a bit of a struggle and a dabble with ubercart and checking out what ecommerce 4 does (it appears to be the same as ecommerce 3). I refashioned the checkout form to use the form api's multistep config which makes the back button work and because of the way the ecommerce saves the transaction every submit appears to not have many of the issues people have found in multistep forms.

I've attached a path of the cart.module based on e-commerce 3.4.

This has been tested on quite a basic ecommerce config - just one payment method and no specials or inventory but the code in the checkout form that deals with this should still work as I haven't touched it.

deviantintegral’s picture

Version: 5.x-3.3 » 5.x-3.4

I actually ended up writing a module which through form_alter and javascript breaks the cart out into a popup window. You have to do some custom theming to remove the header and navigation, but it means that you can treat the cart like a wizard, and control progression yourself through links. It's not in a state where I can post it, but I will as soon as I can.

--Andrew

deviantintegral’s picture

Status: Active » Closed (won't fix)

Marking since this is "by design" in EC3.