Code & Life Experience  

Browser state note 0

Browser state note

There are 3 functions which help us to interact with browser state: window.history.pushState window.history.replaceState window.history.back window.history.pushState(state_object, site_title, site_url): This function will push one state to the state array and set this state is the...

0

ACF Migration

What is ACF Migration? ACF Migration is the process which we push all the ACF field groups and its value between two different environments. For example:  Push all the ACF field groups from your local...

2

Sage 9 override WooCommerce template

WooCommerce is the most popular WordPress eCommerce plugin. WooCommerce provides tons of extensions and themes to make you easier to customize your eCommerce store. Integrating WooCommerce with your theme is an important task, and an...

0

Resolve Git pull into wrong branch

https://stackoverflow.com/questions/3998881/git-pull-into-wrong-branch https://stackoverflow.com/questions/964876/head-and-orig-head-in-git

0

Upgrade script magento notes

Before make a upgrade script, we need to disable cache feature of Magento system: Admin -> System -> Cache Management -> Disable all cache -> Flush all cache.

install mcrypt extension for php7.1 macOS 0

install mcrypt extension for php7.1 macOS

brew update brew install php71-mcrypt Add this line to your main config php file php.ini extension=”/usr/local/Cellar/php71-mcrypt/7.1.x/mcrypt.so” Then restart php-fpm to make it working