New answers tagged

0

Got this problem again after updating from 1.9.4.1 to 1.9.4.3, is there a fix? The problem is it doesn't happend all the time and there are no errors in log!


1

Add this line into the extended theme file of sales_order_view.xml <referenceBlock name="sales.order.info" remove="true" /> Like this <?xml version="1.0"?> <page layout="1column" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../../lib/internal/Magento/Framework/View/Layout/etc/...


1

Try Below Way.. app/design/frontend/Custom/theme/Magento_Sales/layout/sales_order_view.xml <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> <body> <referenceBlock name="sales.order.info" remove="...


1

If you want to update your sales_order_view.xml file in your custom theme and you only want to remove customer address data there then you can update this file in your custom theme like.. app/design/frontend/Custom/theme/Magento_Sales/layout/sales_order_view.xml <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...


1

You need not to copy all the XML file content in your sales_order_view.xml file. Just add the below line to remove the block from the page. <referenceBlock name="sales.order.info" remove="1" /> After the changes, run the below commands. php bin/magento s:s:d -f php bin/magento c:f Hope it helps!!!


1

HI Mohit I have no any Extention but I have one script for this your requirement is fulfilled <?php require 'app/Mage.php'; Mage::app('admin')->setUseSessionInUrl(false); $customerCollection = Mage::getModel("customer/customer") ->getCollection() ->addAttributeToFilter('email', array('like' => '%@qq.com')); $...


4

Try below SQL Query: DELETE FROM customer_entity WHERE email LIKE '%qq.com'; I hope it helps...!!!


0

First thing you need to do if you want to programmatically delete the customers, is identify a common pattern with the accounts (e.g emails all end in provider.ru) Next, you will want to backup your database in case anything goes wrong. And ideally, test this on a DEV/UAT site. Following code examples are untested but should put you in the right direction, ...


0

I had the same issue and resolving it by following steps First, you need to remove generated/code/* and var/cache/* rm -rf generated/code/* var/cache/* Second, Clean the cache php bin/magento cache:clean Third, Change the file permission sudo chmod 777 -R generated/ var/ pub/ Fourth, run Generated Compile the code php bin/magento setup:di:compile


1

You can access it from this method : /** * Retrieve billing agreements collection * * @return \Magento\Paypal\Model\ResourceModel\Billing\Agreement\Collection */ public function getBillingAgreements() { if ($this->_billingAgreements === null) { $this->_billingAgreements = $this->_agreementCollection->create()->...


0

Not without a serious rewrite to the framework. I faced a similar situation (although in my case several accounts had same email) and after hours of experimenting I ended up creating a second transactional email attribute for customer entity and generated the original email (with id in it) and hide original email from admin and grids. Then changed email ...


0

Unfortunately I cannot comment, so I will try a response. The solution proposed by snkt worked but it does not stop the form from executing and adding the customer. Do you know how can I add the error message and also prevent from adding the customer ? Thanks ! ================ I added the following line to solve it if the validation returns false: ...


4

Instead to modify your template for this label change just modify label by translations. create folder i18n in your custom theme in it create file en_US.csv and add translation into this file like following : "Address book", "My Contact Details" structure will be following: Once you create this you can change every label in this way for whole site


2

Just Copy This File In Your Theme vendor/magento/module-customer/view/frontend/templates/account/dashboard/address.phtml in This Path Paste address.phtml File app/design/frontend/Theme/ThemeName/Magento_Customer/templates/account/dashboard In Line no. 13 Change Text As Per Your Requirement. After This Clean Cache and Test. Also Using Csv File Make ...


0

Please check with below method may be its work for you : Go to System -> Configuration -> Web -> Session Cookie management and set it to the value you need in the correct store view or if you have only one, in the default config. also please verify with session.gc_maxlifetime in your PHP config. 0 should give you an endless session. hope its will work for ...


1

In Magento customer account create post page the code looks like below: if ($this->getRequest()->getParam('is_subscribed', false)) { $this->subscriberFactory->create()->subscribeCustomerById($customer->getId()); } If you see the data is posted correctly then you should look for the custom extensions which might be ...


0

As per your requirements, I've found the three customer actions (Edit Account Information, Change Password, and Edit Address) you need observer event for. You can add below customer observer events for your requirements: Edit Account Information: You can use customer_save_after_data_object event. Change Password: You can use ...


Top 50 recent answers are included