How to change the default lost password message WordPress

Hello friends, welcome to my another post how to change the default lost password message WordPress. By default WordPress show this message “Please enter your username or email address. You will receive a link to create a new password via email.” on reset password/lost password page. If you want to change the default message in lost password page then paste the below code in your theme functions.php page. Read more

How to load script/css on custom page template in WordPress?

Hello friends, welcome to my another blog how to load script/CSS on the custom page template in WordPress. If you find how to add custom page template dependent js script or CSS stylesheet in WordPress then you are an incorrect page. In WordPress, sometimes we need to add additional js or CSS file into our theme page. For doing that add the below code into your theme functions.php. Read more

Solve:File too big please keep below 300KB and no more than 1000px height or width issue in Open Cart

When uploading images in OpenCart sometimes you might face image upload error like below:

“Warning: File too big please keep below 300KB and no more than 1000px height or width”

It is actual because OpenCart has default upload limit set i.e. 300KB and no more than 1000px in width or height.

If you want to resolve this issue, just follow the steps below: Read more

How to change number of related products WooCommerce

wocommerce

Hello frinds, welcome to my another blog how to change number of related products WooCommerce. If you build your eCommerce store with woocommerce and show your product page by default you see related products, below your main products. WooCommerce has default nature to show related products by category and tags. If you want to change number of related products and number of columns in WooCommerce, you need to write code. You do not have other options. Read more

How to change wordpress submenu class

change wordpress submenu class

Hello friends, welcome to my another blog how to change wordpress submenu class. If you create sub menu in WordPress it automatically create ul class=”sub-menu” and under this ul our li will go. This is the default layout. But if you create custom wordpress theme from a html template then your template may have another structure for submenu. So you need to change the wordpress sub menu markup to match your requirement. Read more

How to Change the number of shop columns in Woocommerce

Change the number of shop columns in Woocommerce

Welcome friends, today I will show you how to change the number of shop columns/change number of products per row in Woocommerce. By default, WooCommerce show products in 3 columns and a sidebar. This is the basic style to display products in listing page. The columns are sized according to our theme’s design or the maximum width of the browser window. But if we want our custom columns number then we need to write code. WooCoomerce comes with huge hooks and those hooks are very useful to change WooCommerce default functionality. Using a WooCommerce hook(loop_shop_columns) we can do that. Read more

How to disable woocommerce styles in my theme

disable woocommerce styles

Hello friends, today I will show you how to disable woo commerce styles in your theme. When we build our eCommerce website using WooCommerce, it comes with all eCommerce features including its own js and CSS file managing WooCommerce. So when you convert your own HTML eCommerce template to a WooCommercesupported theme, then you will face some problems regarding js and CSS conflicting. So your theme will mess up. So today I will give you a solution to disable woo commerce styles. Read more

How to change add to cart button text woocommerce

change add to cart button text woocommerce

Welcome to my blog friends, today I will give you the tips to change add to cart button text woo commerce. When I did an eCommerce project on WordPress using woo commerce plugin, I need to change “Add to Card” text on the product page to “Buy Now”. For solving the issue I changed the woo commerce core file. But this is not the proper solution. Whenever I update woo commerce plugin my code will be lost. After searching for sometimes I find this filter hook in woo commerce “woocommerce_product_add_to_cart_text”. Using this hook I can do my task easily. So using this blog I will share my code with you. If you want to change your “add to cart” button text to any other text you can use the below code. Read more