Mobile App Refresh Campaign [Banner] 2024

Product Icon

Conditional Shipping and Payments

by  Woo
Use conditional logic to restrict the shipping and payment options available on your store.

Use `$gateway->get_method_title()` in gateway selection list

The list of payment gateways to choose from only shows the title as displayed to customers. With multiple gateways of the same type, e.g. two “credit card” gateways, it is difficult to distinguish which is being chosen. Please also display use `get_method_title()`, i.e. the admin display name.

The following code works:

`woocommerce-conditional-shipping-and-payments/includes/restrictions/class-wc-csp-restrict-payment-gateways.php:85`

`WC_CSP_Restrict_Payment_Gateways::payment_gateway_option()`

“`
echo ‘‘;
“`

Author

Current Status

Open

Last updated: January 31, 2022

0 comments

Log in to comment on this feature request.