Listed below are the implementation and deliverables for Phase 2 for the Google Summer of Code 2018 project Affiliates Connect:

Phase 2:

  1. Creating three custom modules for Amazon, Flipkart and Ebay using our above created affiliates_connect module which contains all the main/core functionalities. Custom modules use native_api and scraper_api for the data source, only e-commerce site related configurations are handled by these custom modules.

  2. Appending Affiliate Ids to product's url scraped by the created Scraper API and saving them in the database based on the user configuration and settings. Additionally creating related hooks to alter the result of the data fetched by the APIs as required. Would also have to feed in the necessary conditions where the other API works immediately in case of failure of the assigned API.

  3. Write Unit Tests for previously created Scraper API to test class methods combined with Kernel Tests for the integration of Scraper and Native APIs.

  4. To check if Plugin Scans work perfectly, a complete testing of all the created Native and Scraper APIs needs to be done. Furthermore, checking the report when they work simultaneously and in case of no results, fixing errors and dependency issues.

  5. Building a Form widget, which uses AJAX call for the product_advertisement_browser.

  6. Creating browser views for displaying data fetched via AJAX and return HTML markup which will be displayed as a renderable array in a ‘wrapper’ element defined in AJAX.

  7. Submit data with the selected options from the browser for creating content. The product’s info will be saved as a custom entity so that it can be updated in real time when Ultimate Cron runs and updates other entities.



Deliverables: 3 custom modules affiliates_connect_amazon, affiliates_connect_flipkart & affiliates_connect_ebay to integrate with Amazon, Flipkart and Ebay respectively.

Comments

chiranjeeb2410 created an issue. See original summary.

chiranjeeb2410’s picture

Issue summary: View changes
chiranjeeb2410’s picture

Issue summary: View changes
chiranjeeb2410’s picture

Issue summary: View changes