TREEWALKER LEARNING CENTER

A blog to learn about Apps, Barcode, RFID, POS, IOT, Beacons and much more.....

Add custom amount in order total in Magento

In one of the project I was supposed to use the custom tax instead of magento tax and it was used for the display purpose. In our case Tax percent was associated with each product through custom attribute field .. To achieve this I have analyzed magento default tax...

read more

Closure in Javascript

Closures is concept functions have access to variables that were available in the scope where the function was created. To understand it fully below are the set of examples which will help you to understand: var Car = function(model){ this.model = model; // member...

read more

Objects in javascript for beginners

Objects in JavaScript, just as in many other programming languages, can be compared to objects in real life.In JavaScript, an object is a standalone entity, with properties and type. A JavaScript object has properties associated with it. A property of an object can be...

read more

Persistent connections in PHP with MySQL

Persistent connections are links that do not close when the execution of your script ends. When a persistent connection is requested, PHP checks if there's already an identical persistent connection (that remained open from earlier) - and if it exists, it uses it. If...

read more

Parsing xml data and converting to array in php

Some time we come accross a situation where we have to parse the xml data to array. To achieve that we have used the "SimpleXML" Library available in php. This extension is enabled by default in php. Sample xml : [codesyntax lang="php"] $xml_data = " 001 Product 1 100...

read more