Includes
ecommerce/checkout_standard - Including Payment Gateways in a Form Layout
5min
what is it? this is used to output payment fields in a checkout form where to use? you should include this in the layout file for a checkout form at the position in the layout where you would expect the card payment elements to appear how to use? outputting 1 payment gateway option {% include 'ecommerce/checkout standard' %} this will output the payment gateway that you most recently updated in siteglide admin outputting multiple payment gateway options {% include 'ecommerce/checkout standard' id '123' default 'true' %} {% include 'ecommerce/checkout standard' id '456', default 'false' %} this will output the payment gateway with the id you select when outputting by id, you should select which is the default option switching active payment gateway from multiple options once you've added multiple payment gateways to your form using the include above, you can add javascript to switch between them on the client side switching between multiple payment method options docid 38611vgnarctkulqpnqb