Skip to content

magento2.3

Auto Added by WPeMatico

Magento 2 + Checkout Billing address Telephone Number Validation

I have created a plugin for billing address phone number validation, but it’s giving me an error Exception #0 (Exception): Notice: Undefined index: dataScopePrefix in /var/www/html/test/vendor/magento/module-customer-custom-attributes/Block/Checkout/LayoutProcessor.php on line 139 below is my code CustomBillingAddressetcdi.xml <?xml version=”1.0″?> <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:ObjectManager/etc/config.xsd”> <type… Read More »Magento 2 + Checkout Billing address Telephone Number Validation

Magento2.4.6: Why Custom validation rule not working anymore?

In the previous Magento version, it was working Here is the code PyarayCheckoutPluginCheckoutLayoutProcessorPlugin.php <?php declare(strict_types=1); namespace PyarayCheckoutPluginCheckout; use MagentoCheckoutBlockCheckoutLayoutProcessor; use PyarayCheckoutHelperData; class LayoutProcessorPlugin { private Data $helper; public function __construct( Data $helper ) { $this->helper = $helper; } public function… Read More »Magento2.4.6: Why Custom validation rule not working anymore?