Adding Custom Data for Products During Add To Cart

Adding Custom data to WooCommerce Order during ‘Add to cart’

I was working on an E-Commerce application using WooCommerce WordPress plugin. Here the requirement was users can add custom information for each product they ‘add to cart’. The task seemed difficult at the beginning but after understanding the various hooks it was just a series of steps that needed to be followed and it worked like a charm.

In this post, you will find a step-by-step detailed explanation which will definitely help you to achieve the objective of adding custom information for products during ordering.

Read more…

optimizing-php-web- application

Practical and useful tips on speeding up your web applications

Speed of a website matters !

You’re using a web application, it takes 5-10 sec to load each page or to complete ajax requests. How does it feels ? Awful, isnt’ it ? You will lose up your patience and will switch to a suitable alternative.

Similarly, you own a SaaS application with a good user interface and many useful functionalities. A end-user sign-up and found it to be slow enough for his use. Every page keeps on loading for 5-10 seconds.
Will she come back again to your ? Will she upgrade her package from free to a paid member ?

This is why speed of a website matters.
Read more…

saas-application-must-have-checklist

Top features which must be present in Every SaaS application

Every software as a service application (SaaS) are built to solve certain problem, to ease the life of users and to help drive the business of users, all without having them invest thousand of dollars in software development, maintenance, upgradation and hardware cost.

Despite having vast useful industry specific features, many lags some small common feature which if added can increase their customer base multi folds and will provide better user satistication.
Read more…

environment-variable-best-way-save-configuration-variables-php-application

Environment variables: Best way to save configuration variables in a PHP application

Introduction

Almost all PHP application use configuration variables to store configurations; like database credentials, memcache details, 3rd part api details and many others.

According to The Twelve-factor App all these config should Never be committed to SCM and developers should keep it separate from codebase. Further they suggest that config should be stored in environment variables (env vars or env).

Read more…

display-user-devices-application-currently-logged-option-logout-laravel

Display user devices there application is currently logged in and option to logout in Laravel

Often users login into an application from multiple devices, but forget to logout. Or sometimes they want to logout from a particular devices because of any reason whatsoever or they want to check the devices their application is currently logged in.

You might have seen similar features in facebook, twitter and many other applications, which allows you to see all browsers and devices from which you are currently logged in with options to logout from that device.

In this post we will look into implementing this feature in our Laravel application using session.

Read more…

What’s new in the latest Woocommerce 2.6 “Zipping Zebra” ??

As we know with the growing demand for eCommerce in today’s world Woocommerce is the most popular free eCommerce solution which provides ready to go solutions for creating virtual shops beautifully and damn easily.Users having less coding knowledge can also develop beautiful web based shops in minutes.

Finally after development for 5 months and around 1700 commits from 25 authors Woocommerce has released its latest WooCommerce 2.6 “Zipping Zebra”. Sounds cool !! Don’t it..
Here I have listed some useful points you should know before upgrading to the latest version..
Read more…

php 7 features and benchmark

php-7 new features, improvements, and benchmark

PHP 7.0 released on December 2015, still there are changes/fixes in progress with current version being PHP 7.0.9 (change log)

No doubt PHP development is easy, with PHP 7 it has become more developer friendly, 2x faster performance and 50% better memory consumption than PHP 5.6. In turn it allows to server more concurrent request without adding extra hardware.

In the article I will highlight some of the useful feature in php 7.0 , improvement in PHP 7.0 and benchmark of php 7.0 with Magento, Drupal, Wordpress, Laravel, Zend Framework2 and sugarCRM.

Read more…