Developer forum

Forum » Ecommerce - Standard features » Single step checkout

Single step checkout

René Poulsen
Reply

Hi,

I'm working on a shop for one of our customers. I'm creating a single step checkout page, but I have some trouble with validating both the terms and contitions and the validation group I've created.

If I don't use any validation groups but just check the "Valider at kunden har accepteret" (/ "Validate that customer has accepted"), this works just fine.

If I use both this and a validation group, then the validation on the terms and conditions doesn't work anymore.

Is this not possible to do in a single step checkout?


Replies

 
René Poulsen
Reply

And just as I posted this i figured it out :-)

When you use a validation group, all the rules in that group has to be valideted before the terms and conditions validation triggers.

 
Nicolai Høeg Pedersen
Reply

Yes, glad you figured it out - maybe that field should also be part of validation groups...

 
René Poulsen
Reply

Yeah, it would be really nice if both the terms and conditions (and delivery etc.) could be validated in the same step / at the same time as the normal fields for name, company, email etc.

 

You must be logged in to post in the forum