Magento Upsell Product Enhancement with PredictionIO
PHP
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 32 commits ahead of richdynamix:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
shell
.gitignore
README.md
modman

README.md

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

  • Replace upsell products with products defined by PredictionIO
  • Reverts to admin defined upsells when there is no data returned by PredictionIO
  • Product View Actions
  • Product Sale Actions
  • Product Review Actions
  • Guest Action Logging
  • Import Existing Sales

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