I want to override vendor/magento/module-customer/etc/validation.xml This validation.xml in custom module. Baically I want to change below file location with my custom module file <rule name="check_name"> <entity_constraints> <constraint alias="name_validator" class="MagentoCustomerModelValidatorName" /> </entity_constraints> </rule> This MagentoCustomerModelValidatorName with VendorModuleModelValidatorName If anyone have any idea please share. TIA
Magento2
A request token is a temporary token that the user exchanges for an access token. I am unable to generate a request token using Postman for Adobe Commerce using Consumer Key and Consumer Secret which I generated from the admin site. Method used: POST URL used: baseURL/oauth/token/request I have provided […]
At the moment I’m running a Magento project on the 2.4.3 version and when i try to look at the frontend in any browser several tables from the Stack Tracer of Xdebug show up. Before this problem started I executed these two commands without knowing exactly what they do: git […]
I have a code getting stock status(quantity) for a configurable product the code is working fine till Magento-2.4.3 for both swatch and dropdown. But In Magento-2.4.4 it is giving an error for the swatch. Here is the code attached: <script type="text/javascript"> requirejs(['jquery','underscore'], function(jQuery,_){ jQuery(window).on('load',function(){ jQuery( ".product-options-wrapper div" ).click(function() { selpro(); […]
I want to upload image in admin form by using my DataInterfaceFactory and DataRepositoryInterface Classes, i have create and my interfaces and and form in admin dashboard but don’t know how i apply save functionality? This is my ui component form and what is next step after this, how to […]
After upgrading Magento to 2.4.4 with PHP 8.1 and resolving most of the errors. I can’t login to the admin panel. After submitting the credentials it redirects me back to login, while I can see the URL showing admin/dashboard/key/xxxxxxx I can see the generated token key but it’s not passing. […]
I have enabled the cookie restriction mode and the bar at the bottom of the page is being overlapped by the content on the page. Has anyone ever had this before and has a solution to this? Thank You
I have a Magento 2 store and everything was ok with the default theme. Then I installed Porto theme and now I get this errors in the console and the page (especially the top menu) doesn’t load properly: The Content-Security-Policy directive 'frame-ancestors' does not support the source expression ''unsafe-inline'' Refused […]