Skip to content

magento man

Reset password not working in magento 2.4.5

The reset password is not working, I’m receiving the email, and reset link is working. After entering the new password and submit, it says that the password reset link has expired. I’m using Porto theme. Please find screenshot. Thanks

Custom Export entity in magento 2

vendor/magento/module-customer-import-export/etc/export.xml <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:module:Magento_ImportExport:etc/export.xsd”> <entity name=”customer” label=”Customers Main File” model=”MagentoCustomerImportExportModelExportCustomer” entityAttributeFilterType=”customer”/> <entity name=”customer_address” label=”Customer Addresses” model=”MagentoCustomerImportExportModelExportAddress” entityAttributeFilterType=”customer” /> <fileFormat name=”csv” label=”CSV” model=”MagentoImportExportModelExportAdapterCsv” /> </config> I would like to ask that what is the usage of entityAttributeFilterType. I have search but… Read More »Custom Export entity in magento 2

validator method not working on change

<input name=”mobile_number” id=”mobilenumber” type=”number” class=”input-text” title=”<?= $block->escapeHtml(__(‘Mobile Number’)) ?>” placeholder=”<?= $block->escapeHtml(__(‘Mobile Number’)) ?>” data-validate=”{required:true,mobile_ksa:true,maxlength:7}”> $.validator.addMethod( ‘mobile_ksa’, function (phone_number, element) { return this.optional(element) || phone_number.length > 9 && phone_number.match(/^(05)(5|0|3|6|4|9|1|8|7)([0-9]{7})$/); }, $.mage.__(‘wrong phone number. example: 05xxxxxxxx’)); }); the above code i am… Read More »validator method not working on change