Introduction In this tutorial, you will learn how to control the quantity of the specific set of products based on a logical condition Here in this tutorial, we considered the condition if the discounted product added more than our defined quantity it will notify/alert the end-user but once you understand the concept the same can […]
Author Archives: admin
How To Add Quantity Input In Shop Page
Introduction This tutorial will teach you how to add a quantity input text box with the number type for each product in the shop page Something like this When a user clicks the add to cart ajax button instead of adding one quantity of the product it will add the quantity present in the input […]
How To Create Custom AJAX Posts Load More Plugin In WordPress
Introduction This tutorial will explain how to create your own custom AJAX load more plugin very easily and responsively This plugin is developed using plain JS instead of the jQuery library This plugin will load a set of posts of the specific category in grid-card fashion with a load more button To load remaining posts […]
WooCommerce Custom Products Per Page Dropdown
Introduction In this tutorial, you will learn to add dropdown which controls maximum how many products to show on a page. This tutorial is the continuation of custom sorting tutorial We will add a dropdown with selection options 4, 8, 16, 32 and All to control our products per page logic We will add our […]
WooCommerce Custom Product Sorting
Introduction In this tutorial you will learn how to add custom sorting for the product archive page Renaming the existing sorting option Re-ordering the option in sort dropdown Overriding sorting form template and add meaningful title for the sorting dropdown Quick overview of how to create plugin (Yes, all our customisation are plugin based except […]
WooCommerce Theme Overriding
Introduction For every task there are many good and bad ways to do that WooCommerce theming also fall under this prey like directly editing the WooCommerce template files In one fine day WooCommerce may release a new version, you unintentionally update the WooCommerce plugin which results in replace of your beautiful custom shop page into […]
Create Executable Images
Introduction In this tutorial you will learn how to create executable image file Using the image you can perform any programmatic logic behind displaying an image The image created using PHP may not look unusual except the file extension will be .php We will overcome this drawback with Apache’s htaccess file with rewrite rules to […]
Inside the PHP
Introduction Ever wonder what’s inside the PHP. How every language construct, function works. How optional parameters handled. Why certain functions behave weird and want know their inner working. That’s why I bring this tutorial to how easily navigate to the function declaration and understand it easily. Since PHP is opensource you can see all source […]
How to do REST API call and read/write excel file using Python 3
Introduction Today we are going to see how to read the excel’s each cell and pass the value to the REST API request On successful response we will parse the JSON response Read the JSON element and write it to the excel Prerequisite In your terminal or CLI run pip3 install package_name (Based on your […]
Shortcut to run previous shell command as superuser
Old Procedure Most of the time when we execute a permission required command but we forget to add sudo at the start of the command then terminal throws the error permission denied So what we will do enter up arrow (navigation key) and enter home or continuously press left arrow key to go to the […]