Month: October 2017
-
How to create Magento 2 category programmatically?
Use this code:
-
How to secure a folder by whitelisting one IP using HTACCESS and denying all others
The process involves matching all requests for an IP, if the IP does not match redirect all secured directory requests. If you want to control this IP using a script, you can add 2 lines ###CUSTOM RULES### # your rules will appear here using php script ###CUSTOM RULES### Now add a script, say happy.phpand use…
-
Compare two columns in Excel and check the missing values
=IF(COUNTIF($B:$B, $A1)=0, $A1, “”)
-
Magento 2.1x – Add options in custom product attribute using backend
Go to the attribute edit page using magento 2 admin panel (Stores > Attributes > Product > Edit attribute) Use console – ctrl + shift + J Edit the js array mimim and then paste the following code in console.