I'm designing a donation form right now for what will be a Craft Commerce site, and I want to collect the donator's billing name, address, etc in the product form which adds the donation to the cart. Will commerce/cart/updateCart accept billingAddress parameters when posted?

(I would simply test this, but I've not even started the build phase yet, and don't want to include the address fields on the donation form in my design if it won't be possible.)

up vote 2 down vote accepted

Yes, you can submit all updates to the cart in the one controller action commerce/cart/update-cart

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.