Friday, August 8, 2014

Changing default category sort order in Magento


SortBy
















Category toolbar has many options. By default it shows how many items are in the category, you can choose how many products you wish to be displayed per page, you can change the listing type (List or Grid) and you may choose Sort Order. This “Sort Order” can be confusing. The default “Sort Order” is “Best Value”. What does it mean? How is the Best value determined? Can we change the default sort order?

Setting default Sort Order for category

1.When you go to Category page in Magento administration (Catalog/Manage Categories),
 you’ll see “Display Settings” tab. From there you can modify “Available Product Listing 
Sort By” and “Default Product Listing Sort By” values.

2.Let’s modify “Default Product Listing Sort By”. If you deselect “Use Config 
Settings” and if you select “Price” for “Default Product Listing Sort By”, on frontend for 
specified category you’ll see that all items are now sorted by price ascending (growing upward). If you have Magento CE 1.7 with Sample Data you can modify sorting by Price for, i.e. Foods category. 

3. Additionally you can deselect “Use All Available Attributes” for “Available Product 
Listing Sort By” and if you check only few of them (“Best Value” and “Price”), on 
frontend you’ll be able to sort only by selected options. Now click “Save Category” 
button.

You should see something like this:





































There is another approach using you can change the default sorting order:

1. When you go to System / Configuration / Catalog (left menu) / Frontend you’ll see “Product Listing Sort by” drop down menu. You can select the option you want for your site.

2. This will apply to all categories but notice that by override rule (fallback) this has lower priority than “Sort Order for category”.
















Saturday, August 2, 2014

Adding Featured Brands in Magento

Today i am going to tell you about adding featured brands in magento using static blocks.

Here are the Steps:

1.Login to your Admin Panel.

2.go to CMS--> Static Blocks



3.Create static block with the name "Featured Brands" or if already created then open featured brand block to edit .



4.To add Image in Featured Brands block. Click on the Image icon in the editor.

5.after that, you will see a box where you have to select an image as shown in below screenshot:



6.After selecting browse button, you will see another box to upload a image from the local drive or you can select it from the server as shown below.

7.Click on browse button to upload an image.after selecting image then just click on Upload button to upload files on server.

8.After uploading, Click on image and insert the image in static block.


9.save the block and you're done.


Wednesday, July 30, 2014

The Tizen smartphone flopped -- and open source is to blame

A parade of failed open source smartphone OSes should cause the open source community to rethink its mobile strategy.


You know the saying: Fool me once, shame on you. Fool me twice, shame on me. Now that Samsung has "indefinitely" delayed the launch of its first Tizen smartphone, can anyone believe any more open source mobile promises?
Open source mobile efforts have a history of failure: Moblin, Maemo, MeeGo, and Tizen are all examples that have been shepherded into oblivion by the Linux Foundation and an assembly of vendors. Canonical's Ubuntu Touch, Mozilla's Firefox OS, and Jolla's Sailfish (derived from MeeGo) all seem to be following similar trajectories to nowhere.
Most open source mobile efforts haven't been that seriousThe open source Tizen OS has been delayed many times over the last three years, bouncing from Nokia to Intel to Samsung and apparently not going anywhere despite all that movement. Its current mission is to power devices in the Internet of things, which is everything's mission these days. It's an easy aspiration in which to hide a sputtering project.
A year ago, Canonical made a lot of noise about its Ubuntu Touch open source OS, with promises of smartphones in early 2014 -- but the phones haven't appeared. More telling, the Ubuntu Touch material on the Canonical's website is woefully out of date (shipping in late 2013? -- uh uh) or furiouslty backpedaling on when the first smartphones will supposedly ship, and Ubuntu Touch was nowhere on the agenda at last week's OSCON open source conference, which a year ago trumpeted the Canonical mobile OS.
The Sailfish effort seems more of a hobby by former Nokia engineers who can't let go of their MeeGo ambitions. It's all about aspiration, not devices. Or progress.
If any of these open source smartphones has a shot in the market, it's the Mozilla Firefox OS, which is available on real devices in several countries from Alcatel, Hauwei, LG, and ZTE. They don't show up in any market surveys or mobile Web traffic surveys, so sales are very tiny. But at least there are real Firefox OS smartphones in the wild.
What is it about the mobile world that has led to the parade of open source OSes that go nowhere? There are several reasons, which combine in varying degrees for each project.
One reason, I believe, is that these are treated as hobbyist engineering projects, not commercial endeavors. Volunteers (often unpaid) end up doing much of the work, so it becomes about them. That seems to be the issue at Sailfish and Canonical (whose desktop Linux ambitions have also sputtered). The open source community usually sees major fragmentation and stalling-out as a result of this "what I want" reality. We tend to forget that the vast majority of open source efforts go nowhere. When the community comes together under strong leadership, amazing things can happen. But that's a relatively rare occurrence, especially for a project as complex as a mobile OS.
But, you may say, Tizen and its Linux Foundation predecessors all had big-name companies behind them, so the leadership and funding has been there to treat the open source effort with corporate leadership. However, these big-name companies all are treating the open source OSes as backup bets, not as serious efforts. Intel, for example, missed the boat in mobile a decade ago, so it has dabbled -- and only dabbled -- in every platform that came after the iPhone to try to break in. Intel is a chip company at heart, not a maker of finished devices.
Half a decade ago, Nokia had nothing to replace its dying Symbian OS, but with their heads firmly buried in the sand, Nokia's execs couldn't accept the end of Symbian, so Maemo, MeeGo, and Tizen never got serious attention at the company. Instead, these projects saw a lot of press releases, then were spun out to an external organization, brought back in, and finally discarded. (Even Symbian bounced between company ownership and open source stewardship, a clear sign of Nokia's clueless management.) Nokia ultimately adopted Windows Phone, only to be bought and later gutted by Microsoft. For years, its management simply grasped at a series of straws, both open source and proprietary.
A couple years ago, Samsung dropped its Bada OS for Tizen to save money by getting Intel to help foot the development bill. Today, the two companies remain the major powers behind Tizen. But it was clear at the recent Tizen Developers Conference that neither company is serious about Tizen. For Intel, it's yet another mobile effort.

The Black Hat Quiz 2014



Black Hat draws the elite of the security world to one place and has earned a reputation for introducing shocking new security exploits, takeovers of seemingly secure gear, means of recruiting botnets and ways to steal identities. The flip side is that all of this malicious education can be used to help protect networks, devices and data. Here’s a brief set of questions about past Black Hats to test how well you know the contributions they have made to the infosec community. Keep track of your score and check at the end to see how well you did.


Tuesday, May 6, 2014

The Secret Messages Inside ( Chinese URLs Decoding 4008-517-517.com)

An American friend living in Beijing once said she refused to communicate with anyone whose email address consisted of a string of numbers, such as 62718298454@163.com. This made sense to me at the time—why make email addresses as difficult to remember as phone numbers? But I soon realized that issuing a blanket ban on number-based communications would mean cutting off just about every single Chinese person I knew.

In the U.S., you really only have to remember two long numbers, ever: Your phone number and your Social Security number. In China, you’re constantly barraged by digits: QQ numbers (QQ is China’s most popular chat service), email addresses, and even URLs. For example, the massive online retailer Jingdong Mall is at jd.com or, if that takes too long to type, 3.cn. Check out 4399.com to see one of China’s first and largest online gaming websites. Buy and sell used cars at 92.com. Want to purchase train tickets? It’s as easy as 12306.cn.

Why the preference for digits over letters? It mostly has to do with ease of memorization. To a native English-speaker, remembering a long string of digits might seem harder than memorizing a word. But that’s if you understand the word. For many Chinese, numbers are easier to remember than Latin characters. Sure, Chinese children learn the pinyin system that uses the Roman alphabet to spell out Mandarin words (for example, the word for “Internet,” 网络, is spelled wangluo in pinyin). And yes, Arabic numerals (1-2-3) are technically just as much a foreign import as the Roman alphabet (A-B-C). But most Chinese are more familiar with numbers than letters, especially those who didn’t go to college. To many, “Hotmail.com” might as well be Cyrillic.

The digits in a domain name usually aren’t random. The Internet company NetEase uses the web address 163.com—a throwback to the days of dial-up when Chinese Internet users had to enter 163 to get online. The phone companies China Telecom and China Unicom simply reappropriated their well-known customer service numbers as domain names, 10086.cn and 10010.cn, respectively.

Digits are even more convenient when you consider that the words for numbers are homophones for other words. The URL for the massive e-commerce site Alibaba, for example, is 1688.com, pronounced “yow-leeyoh-ba-ba”—close enough! Those digits can just as often have individual meanings. The video sharing site 6.cn works because the word for “six” is a near-homophone for the word “to stream.” The number five is pronounced wu, which sounds like wo, which means “I.” The number one is pronounced yao, which with a different tone means “want.” So the job-hunting site 51job.com sounds a lot like “I want a job.” Likewise, to order McDonalds’ delivery online, just go to 4008-517-517.com, the “517” of which sounds a bit like “I want to eat.” (An English equivalent might be the old radio jingle, “How many cookies did Andrew eat? Andrew 8-8000.”)

This kind of number-language has become an infinitely malleable shorthand among Chinese web users: 1 means “want,” 2 means “love,” 4 means “dead” or “world” or “is,” 5 means “I,” 7 means “wife” or “eat,” 8 means “get rich” or “not,” and 9 means “long time” or “alcohol.” The numbers 5201314, for example, mean 我爱你一生一世,or “I will love you forever”; 0748 means “go die”; and 687 means “I’m sorry.” (See here for more examples.) Chinese has plenty of other number-based slang, such as erbaiwu, or “250,” which means “idiot,” or “38,” pronounced sanba, which means “bitch.” And of course there’s the association of certain numbers with good or bad luck, and the subsequent demand for addresses and phone numbers with lots of 8s (“get rich”) and minimal 4s (“die”). Back in 2003, a Chinese airline paid $280,000 for the phone number 88888888.
Why don’t Chinese web addresses just use Mandarin characters? Because that’s a pain, too. The Internet Corporation for Assigned Names and Numbers (ICANN), which sets the rules for web addresses globally, has periodically hyped the expansion of domain names to include non-Latinate scripts, but Chinese web sites have yet to take full advantage. Some devices require a special plug-in to type in Chinese URLs, and even then it takes longer to type or write out characters than to input a few digits. Plus, for web sites that want to expand internationally but don’t want to alienate foreign audiences with unfamiliar characters, numbers are a decent compromise.
Still, the numbers/letters divide is emblematic of the Internet’s built-in bias: Even more than two decades after its birth, it’s still a fundamentally American system. (Sorry, Tim Berners-Lee.) ICANN is an American non-profit corporation, though the U.S. recently agreed  to hand it over to a “global multi-stakeholder community” in 2015. ASCII, the character-encoding scheme that was long used on most web pages, is short for the “American Standard Code for Information Interchange.” In 2012, the United States refused to sign an international telecommunications treaty, supported by both Russia and China, that would shift the Internet away from its current U.S.-centric form of governance. In other words, the structure of the Internet is a constant reminder of American digital hegemony, from WiFi standards to GPS. Even the “.cn” at the end of Chinese URLs comes from the English word for China, not the Chinese word for China. You can’t blame other countries for wanting to tell the American 250s to 0748.

Tuesday, April 8, 2014

What is mesh networking, and why Apple’s adoption in iOS 7 could change the world

With iOS 7, Apple snuck in a very interesting feature that has mostly gone unnoticed: Mesh networking for both WiFi and Bluetooth. It also seems that Google is working to add mesh networking to Android, too. When it comes to ubiquitous connectivity, mobile computing, and the growing interest in the internet of things, it is not hyperbolic to say that mesh networking could change the fabric of society. But, I hear you ask, what is mesh networking? I’m glad you asked.

What is mesh networking?

A star topology network
A star topology network. Imagine your home’s WiFi router in the middle, with all of your devices around the outside.
One of the most important factors when discussing networking is topology. In basic terms, the topology describes how the various members (nodes) of a network are connected together. Most small networks (your office, your home) use a star topology, with a central node (a switch/router) connected to a bunch of clients (your laptop, smartphone, Xbox, etc.) The star topology dictates that if one client wants to talk to another (say, you want to send a photo from your laptop to your Xbox), the data must go through the central point (the router).
The internet, in case you’re wondering, because it’s such a mess of different networks, is hard to label as a single topology. One proposal says the internet has a jellyfish topology, with a very densely connected core (backbone links between data centers), and long tendrils that represent the sparsely connected ISPs and last-mile connections. The image at the top of the story shows a map of the internet that supports the jellyfish concept.
A mesh topology is where each node in the network is connected to every other node around it. So, if you take the home network star topology, but then allow the smartphone, laptop, and Xbox to talk directly to each other, you have a mesh topology.
A fully connected mesh (left) and a partially connected mesh (right)
A fully connected mesh topology (left) and a partially connected mesh topology (right). Even in the partially connected mesh, each device can communicate with each other.

Why should you be excited about mesh networking?

The key reason for mesh networking being exciting is that it doesn’t require centralized infrastructure. If you turn off your WiFi router, chances are your entire home network would cease to work. If you had a mesh network instead, everything would continue to work just fine (assuming they’re still within range of each other, anyway). If you’ve used Miracast/WiDi to stream video directly from your smartphone/laptop to your TV, then you’ve already dabbled in mesh networking.
And so we finally get to iOS 7′s mesh networking capabilities, which Apple refers to asMultipeer Connectivity. Google hasn’t said a whole lot about its mesh networking efforts, though Sundar Pichai did mention it a couple of times at SXSW last week, in relation to itsAndroid Wear and home automation efforts. (Read: Ford working on car-to-car wireless mesh network for real-time telemetry, government use.)
With Multipeer Connectivity, iOS 7 can communicate to other iOS 7 devices without a centralized hub (WiFi router, cellular base station). If you’ve used AirDrop, you’ve probably used Multipeer Connectivity. Other than AirDrop, though, this functionality has gone mostly unused — until an app called FireChat hit the App Store this week.
AirDrop
FireChat is basically an app that lets you chat with other FireChat/iOS 7 users. The key difference, though, is that FireChat is fully decentralized and peer-to-peer — so, if you have two iPhones that are in Bluetooth or WiFi range of each other, they can communicate directly, without sending any data through a WiFi router or the internet. This is obviously rather useful, if you want to communicate privately, or want to transfer sensitive data.

Mesh networking is a game-changer

What’s interesting, though, is that iOS 7′s Multipeer Connectivity apparently allows for the chaining of peer-to-peer connections. So, for example, if Alice is connected to Bob, and Bob is connected to Carol, Alice and Carol can send messages to each other. Apparently, according to Cult of Mac, this chain can be indefinitely long — so, you might construct a chain of 10 or 25 or 50 devices. As long as no one device goes out of WiFi range, they can all communicate with each other. Furthermore, if one of those devices has an internet connection, every other member of the mesh can share that connection. You might imagine using this to extend internet access to rural or out-of-the-way (underground) locations — but I think installing a few WiFi repeaters is probably a more graceful solution than leaving an iPhone sitting on a chair somewhere.
Still, Apple’s inclusion of mesh networking in iOS 7 is an exciting indicator of things to come. For now, it’s just AirDrop and apps like FireChat — but tomorrow, it’s easy to see how your iPhone, Apple TV, MacBook, and the other internet-of-things around your home, use mesh networking to communicate with each other. Truly decentralized networking, especially if you throw in some cryptography, is one of the most disruptive technologies that you can imagine. If mesh networking takes off and the world’s billion smartphones suddenly start chattering to each other, I guarantee that you will see some mind-blowingly killer applications in the next few years.

Wednesday, March 26, 2014

Creating Color Switcher in Magento

Magento comes packed with a lot of options. But, no matter how many options you put into some product, you can never cover all of them. One of such options (for now) is a color switcher in Magento. To be more precise, an image switcher based on color selection. Firstly, you need to upload some images to your product.

Here are the steps:

  • Login to you Magento admin panel.
  • Add New Product with Images & give them some meaningful names like Red,Green,Blue,White depending on your product color.
  • When I say give them name, I mean label values.check the below Screenshot: 

  • Similarly you have to do it in Custom options.Choose Custom options tab from the list.
  • Click on the Add new Option tab in the right Corner.
  • Enter the Title as Color.Select input type as drop-down & create the same amount of drop-down options as you have images, giving them the same name Red, Green, Blue,white etc. Here are some images for you to see what I’m talking about:

















  • After this is done, we go to the code part.
  • You need to modify your /template/page/html/head.phtml file to include the jQuery script (or any other if you can code the same logic into it) and write down few lines of JavaScript to do the switching (you can download my version of file) i.e. head.phtml.
  •  After that, modify your /template/catalog/product/view/media.phtml to include all of the product images and dump them into some div. Here is the media file: media.phtml.
  • Clear the Cache & go to front end to check you product .you'll see something like this:





Tuesday, March 25, 2014

10 low-code tools for building mobile apps fast

1) Alpha AnyWhere

-> A low-code, rapid, wizard-driven, end-to-end builder with a Windows-based IDE, Alpha Anywhere supports many databases and targets Web, mobile (iOS, Android, and Windows Phone), and desktop applications. HTML apps can be built using a component-based designer and responsively adapt to screen sizes from 4 inches to 4 feet. Alpha Anywhere integrates with PhoneGap and Adobe PhoneGap Build, allowing the easy creation of hybrid mobile apps without requiring the developer to install multiple native development environments or purchase a Mac. The company is currently testing a unique solution for occasionally connected mobile apps that rely on remote databases. 

2)App Press

->App Press is a Web-based no-code app creator that targets iPhone, iPad, and Android applications. Geared for designers, App Press uses a Photoshop-like user interface for assembling screens from visual assets using layers. On the back end, App Press is an Amazon cloud-based service and platform. The company claims that designers can produce their first app in one day, that with experience designers can create five apps a day, and that experienced designers can train new designers on the platform.

3) App Architect

-> AppArchitect is a Web-based, no-code, drag-and-drop builder and platform for native iPhone and iPad apps, which can be previewed in the AppArchitect Preview App, downloadable from the iTunes App Store, and finished binaries can be downloaded to submit to the App Store. It assembles plug-in building blocks that are written in Objective-C, and an AppArchitect SDK will be available to extend the product's capabilities. The company plans to expand the product to generate Android and mobile Web apps in the future, and it plans to charge $40 to $100 per month once the product is released. 

4)  Form.com

-> Form.com is a Web-based enterprise platform for Web and mobile form solutions with a drag-and-drop forms builder and flexible back-end technology. The builder can create new forms or replicate existing paper forms, set up process-specific workflow and API integration, embed logical transitions, allow the capture of images within the forms, capture digital signatures, and enable form field autofill. Finished mobile forms can collect information when disconnected and transfer it when connection has been restored. 

5) iBuildApp

-> iBuildApp is a Web builder that offers customizable templates for iPhone, iPad, and Android apps and promises that you can create an app in five minutes. Your app can be free if you accept iBuildApp branding and very tight limits to the number of users and site visits, unlimited-user white-labeled tablet apps cost $299 a month, and there are several plans in between the extremes. For common app types, template-based systems like iBuildApp can sometimes produce usable results, as long as the selection of widgets includes the functionality you need. 

6) QuickBase

-> QuickBase is an online builder and platform for Web and mobile Web database applications. It offers more than 300 customizable application templates, including the Complete Project Manager shown in the slide. Users can build applications "from scratch" starting with a data design, and all QuickBase websites can also be viewed as mobile websites. While Mobile QuickBase is not currently available in app form, the mobile website is eminently usable. 

7) Salesforce1

-> Salesforce1 gives you the ability to accelerate the development and deployment of HTML5, iOS, and Android mobile apps, as well as Web apps. In the simplest model, you use a mobile website or downloadable generic Salesforce viewer app to work with your Force.com Web application. One step up from that is to create a jQuery Mobile (shown in the slide), Angular.js, Backbone.js, or Knockout HTML5 mobile app using a Salesforce Mobile Pack. At the most complicated level, you can create native or hybrid apps for iOS and Android using the Salesforce Mobile SDK for your mobile platform combined with the Native SDK tools. These apps all communicate with the back end through a Connected App in Salesforce. 


8) ViziApps

-> ViziApps combines an online visual designer and customizable sample apps with code generation for mobile Web, as well as iOS and Android native apps. The ViziApps designer has form fields and charts, 60 backgrounds, and 4,000 stock images. It supports maps, video, audio, navigation bars, and navigation panels, and it has lots of customizations and JavaScript extensions. Template apps show how fields, actions, and data interfaces are used. 

9) Mobile Chrome Development Kit

-> The Mobile Chrome Development Kit, recently released as a Developer Preview tool chain based on Apache Cordova, takes a hybrid app strategy. A single project targets iOS, Android, and Chrome apps. As you can see in the slide, the user interface is standard HTML and CSS, which is integrated into Android (shown) and iOS native toolkits. While this is definitely not a no-code tool, you can do a lot using any visual HTML page designer. Once you need to add mobile code, you have Chrome APIs and Cordova APIs at your disposal, from JavaScript to enhance the app without having to drop down to the platform-dependent native code level.

10) Appcelerator

-> Appcelerator combines an IDE, SDK, multiple frameworks, and back-end cloud services into an enterprise-level system for mobile development. The Titanium SDK lets you develop native, hybrid, and mobile Web applications from a single codebase.
Titanium Studio is an extensible, Eclipse-based IDE for building Titanium and Web apps, and Appcelerator Cloud Services provide an array of automatically scaled network features and data objects for your app. The Alloy framework is an Appcelerator framework designed to rapidly develop Titanium applications, based on the MVC architecture and containing built-in support for Backbone.js and Underscore.js. While Appcelerator is not a no-code solution, it provides JavaScript-based tooling for iOS, Android, Tizen, BlackBerry, and mobile Web applications in one place.
Appcelerator, free to develop; Appcelerator Platform priced at enterprise levels

Fast and flashy: Famo.us JavaScript framework revealed

Famo.us's product to bring complex 3D graphics, realistic motion to stock Web browsers and ordinary Web developers.


The biggest problem with most HTML5 apps is that they're slow. Not because JavaScript runs slowly, but because the overhead involved in manipulating your browser's DOM (Document Object Model) to do the kinds of useful things people expect from a modern app brings everything to a grinding crawl.
Back in October, InfoWorld's Eric Knorr wrote about a little San Francisco startup calledFamo.us. Its product, which has attracted some 70,000 developers for a private beta, is a framework for creating Web and mobile JavaScript applications that break the performance bottleneck without plug-ins or native code.
Today, Famo.us is announcing that it will be offering its framework under an open source Mozilla Public License Version 2.0 (MPLv2) license and is unveiling demonstration code on the Codepencode-sharing site. It is also partnering with Firebase, a database as a service for mobile and Web apps.
Why so much fuss over another JavaScript framework? Mainly because it is unlike any other framework out there: Famo.us replaces the browser's rendering engine with its own, which is written entirely in JavaScript, and fuels it with the GPU acceleration provided by CSS's 3D transformation functions. Most any device these days that can run a modern browser -- even a modest smartphone -- has some kind of GPU supporting it, so why not leverage that? Armed with Famo.us, developers can maintain a single code base that performs well across many platforms.
This isn't a hack, either. It's all industry-standard CSS3, and the library itself is pure JavaScript with no binaries or other add-ons.
Laying the groundwork
One sign of how Famo.us might be onto something is that it's managed to snag none other than David Fetterman, the former mobile engineering manager for Facebook. He originally pooh-poohed HTML5 for not performing well enough. And when he met with the folks at Famo.us for the first time, he was a skeptic. "I was going to tell them it was a bad idea [to build pure HTML5 apps]," he tells InfoWorld. "But I came in, learned how it worked, and got excited about it." He's now a full-time team member.

At its core, the Famo.us library consists of four elements: a rendering engine, a physics engine, a gesture engine for input, and an output engine -- again, all written entirely in JavaScript. The rendering engine uses CSS3's transform: matrix3d() and transform-style: preserve-3D() functions to do the heavy lifting, which allow CSS elements to be treated like 3D objects -- scaled, rotated, transformed, and so on. Right now, Internet Explorer has a couple of bugs withpreserve-3D, but Famo.us and Microsoft are working together to get that fixed.
The Famo.us rendering engine preprocesses everything, the results of which can be sent through DOM or WebGL -- the latter enabling much more finely rendered applications or graphical objects. WebGL isn't turned on by default in some browsers, but Famo.us is being written to anticipate that happening -- much the same way JavaScript was not at first on by default but now is. Famo.us CEO Steve Newcomb believes that when developers use frameworks like his to access the power of WebGL across the board, the Web will get a "facelift," with much richer applications and graphics becoming the default.
A new power tool
An easy criticism of Famo.us is that 3D on the Web is nothing new, but Fetterman argues that the larger point of Famo.us is not to reinvent the wheel. "We're not inventing 3D on the Web, nor are we inventing WebGL. Famo.us is just an integration of a lot of these technologies to make it easy for someone to build this stuff. It's hard to achieve the sort of level of sophistication and performance you see in a native iOS, Objective-C app by way of a Web technology."
The strategy, as he put it, is to "build beautiful things," get as many people as possible using them, "then have everyone else catch up -- which is better than having us boil ourselves down to the least common denominator."
The framework, along with a pack of templates to get people up and running with it quickly, is being released as an open source project under the Mozilla Public License Version 2.0. Famo.us is planning to make money from its work by offering a cloud-hosted analytics system, which app developers can hook into if they so choose -- it's not mandatory.
"When you build something in JavaScript," Fetterman says, "you make it by necessity open source and sharable and reusable. I'm excited that nothing is going to get in the way of our core goodness as a platform. ... What we're able to do at the core of Famo.us is build a really a screaming-fast rendering engine in JavaScript, apply a physics engine to that, and apply some bells and whistles and refined principles that mean you can build beautiful things using Web technology across a multitude of devices. Putting things in the way of that makes me unhappy," he says.

Monday, March 24, 2014

Related products, Up-sells, Cross-sells in Magento

In Magento there are three types of product relations: Up-sells, Related Products, and Cross-sell Products. Two of them appear while viewing a product, and one usually appears in the shopping cart.

Up-sells for a product are items that you would like your customer to buy instead of the product that he is viewing, and they are pricey, better quality, etc. Related products also appear in the product info page, but they are products that are meant to be purchased in addition to the one that the customer is viewing. Cross-sell items can appear both in the product page and in the shopping cart but they are a bit like an impulse buy – similar to items at the cash registers in grocery stores.

Up-sells

As it’s already mentioned, up-sells are meant to get customers to spend more money buying a model of the same type of product that is more expensive, to add some features to it, etc.
This is an example of the Up-sell created in Magento demo store. Situation in which customer wanted to buy cheaper monitor so you suggested him some more expensive ones.














Related products

This product recommendation is based on the product your customer is currently viewing and it intends to make customer buy more products including the one that he wanted in the first place.
In this case, products usually come with checkbox to make it even more easier for customer to add items in the cart. Of course, if the product is configurable, checkbox cannot be used because the configurable attributes must be defined first.
Here is an example of related products (source: clickableautomotive.com.au):










Cross-sells

Cross-sells are usually displayed in the shopping cart page, ie. after a product has been added to the cart but sometimes that’s not the case. This functionality is intended to make customers buy items they didn’t had in mind when they came to your site. It’s really similar to all those items you see at the cash register in stores that make you to buy something impulsively.
Cross-sells looks like this (source: www.scoutbags.com):



















What does all this mean?

To sum up, main difference between up-sells, cross-sells and related products is that up-sells point out products that are improved versions of the one your customer wanted to buy (ie. more expensive) and the other two are there to make customer buy more products including the one he came to buy. Related products through items that are related to the product he wants to buy and cross-sells with products that aren’t actually related to the item but it’s likely that customer will be interested in them (based on the one he wants to buy).
Usually, product recommendations are combined and sometimes up-sells and cross-sells are actually “hidden” within related items. But, on the other side, they can be divided with labels as: “Want to Upgrade?” for up-sells and “More Recommendations” for related/cross-sells. This will also allow you to track what types of suggestions are more effective.
How are you going to present all those recommendations to your customers is really up to you. Some common labels are: “You may also be interested in the following product(s)”, “Complete the look”, “May we suggest…”, etc.
Combined product recommendations (source:www.freshpurple.com):










It’s recommended to use labels that clearly communicate why are products being recommended (eg. “People like you liked this”, “These are top then sellers in this category”) than to use just “We recommend”.