Developer forum

Forum » Swift » Skip payment and shipping step if only one method exists

Skip payment and shipping step if only one method exists

Justin Sjouw Dynamicweb Employee
Justin Sjouw
Reply

Is this implemented in Swift? Or maybe I don't understand the functio correctly..

In My solution there is only 1 payment method, and 1 shipping option always. These are also selected by default, so the customer can only clik next, I would have expected the checkout flow to skip these steps entirely, but they still are shown...

Thanks,

Justin


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Hi Justin

This is a setting related to the old cartv1 module, so no. The setting should not be there for solutions not having the old checkout.

Cartv2 used in all DW9 and Swift solutions, do not have a specific payment and shipping step, so the setting no longer makes sense - it has to be handled in the template instead. In those steps in Swift you also have delivery date, reference fields and comments, so when and how to skip is probably implementation specific.

BR Nicolai

 

You must be logged in to post in the forum