Categories
Wordpress

Ajax based header cart items count in Woocommerce

If you are struggling to display cart count in the small header widget, then here is the classic way of doing it. Woocommerce has inbuilt feature to refresh the fragments. 1) The HTML to be refreshed: So first in your theme’s header.php file you should need to embed the cart count in a specific html tag with a […]

Categories
Hosting MySQL

MySQL: Cloning a MySQL database on the same MySql instance

Normally we have to copy one database to another on the same server we download the SQL file of one db and import into another. This approach works fine for small databases. If you have huge database like more than 2 GB, then this process takes really long time and sometimes crashes the PHP Myadmin. […]