Magento 2.x
CategoryMagento 2.x – Move Logo from header content to panel header
If you are using a brand new Magento installation, you have to bear in mind, that you will need to create a new custom theme following bel..
Magento 2.x – Add custom product attribute to checkout summary
If you want to add or change the checkout summary section, you can proceed creating a module with a plugin, like this:
- app/code/Offse..
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..
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 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..
Magento 2.*: How to get add to cart button in a custom templete file
If you need to show the add to cart button in a custom template file, or in a block where it does not come by default (for example, relate..
Magento 2.x: Setup upgrade error “We can’t find the role for the user you wanted” – quick fix
If you are getting the error “We can’t find the role for the user you wanted”, while you are trying to do a php bin/magento setup:upgrade,..
Magento 2.x – Stop checkout success page redirection after refresh for testing
You can stop checkout success page redirection after refresh page, for testing purposes, with this below code:
File:
Comment Out Li..
Magento 2.x: How to reset Customer Password from Database
If you need to reset the password of a certain customer via Database, the following query will help you:
Just change ‘YOURPASSWORD’ abo..