Magento 2.x – How to call any block function inside a phtml
If you are inside a phtml file, and you need to call an specific function inside another block. You can do the following:
- The block m..
Magento 2.x – Update attribute type programmatically
If you need to update an attribute type programmatically, that you have done before (or not), you will need to proceed as follows, using a..
Change default message of a field type=’email’ required
If you are filling in a form, with an input type email, and you need to change the default HTML5 message:
you will need a bit of javasc..
Magento 2.x – How to confirm a customer account via Database
Magento 2 provide us the ability to take more control of the customer account creation process, setting an special configuration located u..
Magento 1.x – Cannot login / Cannot create account on frontend
If you are getting redirected to the same page when you try to login on frontend, or if you are creating a new account, it might be regard..
WordPress – How to create an admin user from database
If you want to create an admin user from the database, you can proceed with the following script:
Magento 1.x – Fix “Cannot initialize the indexer process” when reindexing on admin.
This message usually occurred when we Enable “Use Flat Catalog Category” and “Use Flat Catalog Product”, or after setting up an environmen..
Apache – Redirect from non www to www
If you are hosting a site, and you already setup your domain with and without www, but still having issues when accessing without www. A g..
Magento 2.x – Fix “You did not sign in correctly or your account is temporarily disabled” error on Rest API calls
If you are doing an API call such as /rest http://www.yoursite.com/all/V1/integration/admin/token and you are getting the “You did not sig..
fix “SSL certificate problem: unable to get local issuer certificate” error
When you execute PHP CURL calls to HTTPS URLs, you might get the following error:
SSL certificate problem: unable to get local issuer c..