The Phone Number checkout field allows using text characters. How can I change it?

The Phone Number checkout field allows using text characters. How can I change it?

One Step Checkout Pro allows you to change the validation type of the Phone Number field directly in the configurations. For that, proceed to Stores → Settings → Configuration → Amasty Extensions → One Step Checkout → Additional Fields and Other Extras and switch the Phone Number Field Validation field to Numeric Only:

      • Related Articles

      • How to change the type of additional checkout fields?

        The One Step Checkout for Magento 2 extension allows adding up to 3 custom checkout fields (System → Manage Checkout Fields → Add Custom Fields). By default, they are set as text field attributes, and it is impossible to change their type with the ...
      • How to change a checkout field (its length/width) or an image on the checkout page?

        Out of the box, the One Step Checkout extension allows you to modify the checkout field width parameters in System → Manage Checkout Fields: If you need to make additional adjustments to the checkout design, you may do it by modifying the checkout ...
      • What features are included in each tariff plan of One Step Checkout?

        LITE One Step Checkout extension - all checkout sections on one page; - customizable design (layout, color scheme, address formatting, default values); - delivery options: delivery date calendar, delivery time interval, delivery comment; - Google ...
      • One Step Checkout API

        1. Amasty\Checkout\Api\AdditionalFieldsManagementInterface - class for managing additional fields for logged-in users: POST /V1/amasty_checkout/carts/:cartId/amcheckoutFields, method="save" - save a field for a specific cart by ID; POST ...
      • How to rearrange the checkout page layout?

        The out-of-the-box functionality of the One Step Checkout extension allows you to easily modify the checkout layout using the drag and drop menu in Stores → Configuration → Amasty Extensions → One Step Checkout → Design → Layout. Furthermore, the ...