Experimental project
This is a sandbox project, which contains experimental code for developer use only.
This module will allow users to compare drupal commerce products.
The initial plan is to do the following:
- Install the module -- success message will contain a link to the comparable products page
- Configurable product types page lists all product types that can be compared
- Create views of products or edit existing views of products -- Add to compare is a field that can be added to the view
- When the view is displayed (in block or in page) -- the “Add to Compare” checkbox will appear against products that are comparable
- Clicking on Add to Compare will take you to the top of the page where through JS you’ll see a compare box with a smaller image of the product and the title of the product.. this section will have 3 more slots free and a compare button (Number of items that can be compared at a time will be configurable)
- Clicking on Add to Compare for a product with a different product type than the one which is already added to compare, a new row will be created
- Each item added to compare should have a cross button to remove it from compare list
- Each row of comparable products can be cleared via a “Clear/Remove” button/link
- Clicking on Compare button should take you to a view where the items added to compare should be columns and the properties of the products should be in rows
- Compare page should be views with displays for every product type where in by default all the fields of the product are added to the view and the site administrator can change it completely
- The compared items could be shared as a link on social networks, etc
Project information
- Created by mukesh.agarwal17 on , updated

