loop2 Please Wait...
DeveloperGang

wp_nav_menu add or remove sub-menu class in menu wordpress.

wordpress-menu.png
We can add additional class to submenu Suppose we have following structure: Home Home1 Home2 Home3 Home4 Home5 Home6 In that case if we want to th...

How to find out if a record already exists in a database or not in Magento ?

Magento-url.png
To check out whether record exists in the database of MAGENTO you can use the following query::: getCollection()->addFieldToFilter('field_name', $value_to_check)->getFirstIt...

How to add Magento newsletter in footer or Header?

magento.jpeg
To set the Newsletter on Footer also in Header section: Must follow below steps.. FOR THE FOOTER: Go to app/design/frontend/default/your_theme/layout/ open newsletter.xml Check the...

Introduction of Java.

Java programming language has been derived on the basis of OOP(Object Oriented Programming). Earlier Java was called Oak. To learn Java programming language, first you need...

Updating WordPress on local server (max execution time)

WordPress.jpg
for temporarily increasing your max execution time you can use ini_set() in your php page ini_set('max_execution_time', 300); //300 seconds = 5 minutes otherwise, you will need to...

Display Magento categories in the Left side of the Homepage..

Magento has its top menu reserved for category navigation. It’s pretty solid for displaying categories, even when there is a large number of them. In most of the cases clients want...

How to Hide remove disable Add to cart button in woocommerce ?

Woocommerce-Theme-.png
There is more than ONE way to hide/remove the ‘Add to Cart’ button in WooCommerce. It is after all a button, so you can hide it via CSS, JS or PHP. Here’s the code for the same:  ...

How to show cart contents / total Woocommerce

Woocommerce-Theme-.png
You can Display the Cart contents and total in any of your template file. We mainly use in header.php file to show the cart. Below is the code to display the icon:

How To Check If Current Page Is Homepage In Magento?

dev.png
In this article, I am going to explain the basic code for Magento through which we can identify the page on which we have. If we like some js, CSS or image files need to be loaded...
Lorem ipsum dolor sit amet consectetur adipisicing elit. Fuga, aspernatur.