Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • luke-taylor-dev 12 posts 32 karma points
    Mar 04, 2020 @ 14:08
    luke-taylor-dev
    0

    Possible to default the payment and shipping methods?

    We want to get rid of the page where we ask for payment method and shipping since we only give one option anyway, is there a way to set these as default so you can just GeneratePaymentForm without them?

  • Matt Brailsford 4124 posts 22215 karma points MVP 9x c-trib
    Mar 04, 2020 @ 14:23
    Matt Brailsford
    0

    Hi Luke,

    Sure there are a couple of options. The first would be to set the default shipping / payment methods on your Countries to be what you want them to be by default

    enter image description here

    Then when someone checks out with their Orders Payment + Shipping countries set to that country, if no other Payment / Shipping options are defined, it should default to those settings.

    Alternatively, you could still render the input fields in your forms where you capture customer info, but render them as hidden fields, and fetch the payment / shipping methods you want to use explicitly and set the field values accordingly.

    This would essentially be like them filling it in, but you just aren't giving them any options and filling them in for them.

    Hope this helps

    Matt

  • luke-taylor-dev 12 posts 32 karma points
    Mar 04, 2020 @ 14:31
    luke-taylor-dev
    0

    Thanks for the response! Think these methods will work, thanks for the help

Please Sign in or register to post replies

Write your reply to:

Draft