magento-hackathon / Predictionio

Magento Upsell Product Enhancement with PredictionIO
31 stars 6 forks source link

PredictionIO (Similar Products, Recommendations) for Magento

Magento Upsell Product Enhancement, Recommendation with PredictionIO 0.8

Install

Clone the git repo - modman clone https://github.com/magento-hackathon/Predictionio.git

Requirements

Must have an instance of PredictionIO server setup and ready to accept data. Please see the docs for information. For a simple Vagrant installation, check out https://github.com/magento-hackathon/PredictionIO-Vagrant.

Features

Replacing Upsell Products

Configure the module to make API calls to your instance of PredictionIO, defining the host, port and engine (name and key) and data will be recorded when the user is logged in.

Revert to Default Upsells

When the module is disabled or the user is not logged in or PredictionIO has not returned any matching products then the module will silently revert to magento's built in upsell products allowing store admin to set these manually.

Product View Actions

When a customer views a product page the module will make an API call to add the product to the PredictionIO server as well as record the action of view

Product Sale Actions

When a customer places as an order then the module will get the parent product of the purchased simple product if available and post its ID to PredictionIO as only parent products can show the upsells.

Product Review Actions

When a customer reviews a product the module will get the average rating from all available ratings then make an API call to add the product rating to the PredictionIO server as well as record the action of rate

Guest Action Logging

Sometimes customers don't login till they get to the checkout so we log the customers actions in the session to post to PredictionIO when the customer logs in.

Import Existing Sales

Using the shell script included you can import all exiting sales data i.e Customers, Products and the action of conversion to kick start your data feeds. Just run the following command from your web root-

php shell/similarity.php --store store1,store2

Where --store looks for a comma seperated list of store names to import from. If you don't supply --store then all stores in your Magento installation will be imported.

PredictionIO

Authors