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-6648a7c4e1722629617210/]   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-6648a7c4e1f8d600824901/] Disable plugin & Theme updates [crayon-6648a7c4e1f93699832082/] Hide dashboard update notifications for [...]

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-6648a7c4e29a7602702330/] 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