The Code You Will Love

Login with Email and Username in WooCommerce

Posted on: Wednesday August 30, 2023

If your woocommerce user login with email and username not working, you can try given code below. function.php [crayon-6636b6ed5b70d480862646/] [...]

Read More

csrf in CodeIgniter 3

Posted on: Saturday August 26, 2023

1.Enable csrf application/config/config.php $config[‘csrf_protection’] = FALSE; to $config[‘csrf_protection’] = TRUE; and configuer other thing if you want. 2. [...]

Read More

Custom Order status in WooCommerce

Posted on: Saturday July 15, 2023

Create a custom order status in the dropdown ‘shipped’ and mail on change status to shipped.   functions.php [crayon-6636b6ed5ca44576385950/]   Create a mail file [...]

Read More

Pincode Availability Checking in WooCommerce

Posted on: Saturday July 15, 2023

Copy this code in functions.php, and you will see a input box below ‘Add to cart‘ button.   But before this you have to add pin codes in  your admin dashboard -> WooCommerce [...]

Read More

Some useful Woocommerce Settings

Posted on: Saturday July 15, 2023

Write code in function.php Removing Storefront inline css [crayon-6636b6ed5d276885034837/] Disable plugin & Theme updates [crayon-6636b6ed5d27e758559280/] Hide dashboard update notifications for [...]

Read More

PHPExcel in CodeIgniter Complete Tutorial with Code Download

Posted on: Tuesday May 9, 2023

  Hope you know how to configure CodeIgniter, so here we will see how to implement PHPExcel in CodeIgniter for Import and Export MySQL Data in Excel. STEP: 1 Download the PHPExcel library and [...]

Read More

WordPress Admin – create a page without it appearing in the side menu

Posted on: Saturday April 1, 2023

Hide menu from the admin sidebar. [crayon-6636b6ed5d95e969228057/]   [...]

Read More

View/Template in Laravel and load assets files css, js, images etc and external template like Header and Footer

Posted on: Wednesday March 29, 2023

‘resources\views’ folder is for all templates with the extension .blade.php (e.g. xyz.blade.php) .blade is the template of laravel.   Include external file like header or footer in [...]

Read More

Controller in Laravel

Posted on: Wednesday March 29, 2023

Create controller file ‘app/Http/Controllers/ProductController.php‘ and paste the given code below [crayon-6636b6ed5e0c2199572335/] public function index() and public function detail($id) [...]

Read More

Route in Laravel

Posted on: Wednesday March 29, 2023

In the Laravel route there are 2 ways: Direct load view file from the route, No need to go to controller. Go to the Controller and perform the operation then load the view file. [...]

Read More
Translate »