Showing posts with label tips n tricks. Show all posts
Showing posts with label tips n tricks. Show all posts

Choosing the Right Data Type for MySQL Table Fields

1 comment
Choosing the right data type for the field of MySQL tables is always a task full of confusions. You have a number of data types available t...

Extract the Content of Zip file Using PHP

4 comments
Sometimes you may want the users on your site to upload the zip file and then check what are the contents of that zip file. In this article...
Add New Column to Existing Database Table in Magento

Add New Column to Existing Database Table in Magento

4 comments
While writing codes for Magento, sometimes you would like to add new columns to existing tables in Magento database. These situations arise...
Insert 'Read More' button in Blogger Imported posts in Wordpress

Insert 'Read More' button in Blogger Imported posts in Wordpress

1 comment
If you have just imported your posts and comments from Blogger to WordPress then you might have faced two problems: 1. There is a '...
How to Test PHP Emails on Localhost

How to Test PHP Emails on Localhost

1 comment
While developing web applications on localhost you must have always missed the functionality to send mails. As localhost does not support e...

Add/Update Attribute Option Values Programmatically in Magento

18 comments
Adding/Updating the attribute option values programmatically in Magento can be tedious sometimes. Adding attribute options through custom c...
Programmatically Add Grouped Product to Cart in Magento

Programmatically Add Grouped Product to Cart in Magento

3 comments
Adding simple products to cart through custom PHP code is pretty straight forward. You just need to call the ' $cart->addProduct() ...

Quick tips for improving PHP Performance

3 comments
Recently I was studying about improving the performance of our PHP code. While surfing through the web I came out with some interesting tip...

Learn Object Oriented Programming Concepts in JavaScript

1 comment
If you are a JavaScript lover then you must have always missed the Object Oriented programming concepts in JavaScript. You must have dreamt ...

Customize 'New Order' Email template in Magento

22 comments
Customizing the ' New Order Confirmation Email ' template in Magento may be a havoc for the first time if you do not know the write ...
Learn FILTERS in PHP for Best Security Performance

Learn FILTERS in PHP for Best Security Performance

3 comments
Today we will learn about a less used but powerful feature of PHP: the FILTERS . This extension filters data by either validating or sanitiz...
Override Controllers in Magento

Override Controllers in Magento

36 comments
While working in Magento you may sometimes run into situations where you would like to override the functionality of the Magento core contro...

Toggling Default Value of Textbox on Focus

4 comments
You might have noticed the textboxes on most of good looking sites that have some default value written in them. When you click on the textb...

Creating Custom Configuration Options in Magento Admin

30 comments
As a Magento developer you frequently encounter the Configuration page of Magento admin backend. But have you ever noticed how these configu...
Learn Simple Method Chaining in PHP

Learn Simple Method Chaining in PHP

6 comments
In this article we will learn an advanced OOPS programming concept in PHP known as Method chaining. If you have worked on PHP frameworks lik...
Disabling Right Click on Web Page/DIV, Disabling Text Copy From a Web Page

Disabling Right Click on Web Page/DIV, Disabling Text Copy From a Web Page

5 comments
Here are few JavaScript code snippets that can be useful on your web pages if you want to diasable right click on your page or on a particul...
Implementing Alphabetical Search in Magento

Implementing Alphabetical Search in Magento

14 comments
Implementing alphabetical search in Magento can be tedious if you dont know the right approach. But its as easy as anything. You just need t...
Quick tips for Magento Developers

Quick tips for Magento Developers

7 comments
Here I am presenting a list of some useful code snippets for Magento developers that are required here and there in code development. These ...
Create 'Place an Order API' in Magento

Create 'Place an Order API' in Magento

5 comments
Magento provides a number of web services to ease the life of programmers and users. You will find web services for adding, deleting, listin...
Cross Domain Posting using PHP and JavaScript: ITS POSSIBLE!

Cross Domain Posting using PHP and JavaScript: ITS POSSIBLE!

3 comments
Well.....finally i have worked out how to post cross-domain data which is restricted by browser's security policies. WHAT IS IT?? This...

JavaScript

Magento

back to top