Skip to content

Latest commit

 

History

History
69 lines (40 loc) · 2.86 KB

README.md

File metadata and controls

69 lines (40 loc) · 2.86 KB

Similar Products for Magento

Magento Upsell Product Enhancement with PredictionIO

Install

Clone the git repo - git clone git://github.com/richdynamix/Similar-Products.git - or https://github.com/richdynamix/Similar-Products/archive/master.zip

Once downloaded copy the contents (app) folders to your project root merging with your existing magento installation.

Requirements

Must have an instance of PredictionIO server setup and ready to accept data. Please see the docs for information.

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