So basically I added a custom select address attribute. This selection has 2 available values. If value A is selected the required validation of the form for firstname and lastname is removed and making the company input required. If value B is selected it will be vice versa. The saving and backend validation is already done. The remaining work is the frontend validation for Customer Account Address and Checkout Address.
You may also like
I’m getting this error when trying to export products: Exception #0 (BadMethodCallException): Missing required argument $publishers of MagentoFrameworkMessageQueuePublisherPool. From exception.log [2020-04-30 19:28:31] […]
At the moment I have an ISP-provided wireless router and my PC is connected to it via an ethernet cable. For security […]
I’m having an issue while trying to generate key on my smart card after installing the Minidriver. Basically, im using NCryptCreatePersistedKey to […]
With upgrade to Magento 2.4.4, I’m using checkout_onepage_controller_success_action to get order information that I insert into a custom table that I created […]