Skip to main content

GSoC’17 Coding period | Week #12 | Uc Wishlist



 
The last week of Google Summer of Code 2017 is underway, with the commencement of the Final Evaluation period and the completion of porting the Uc Wishlist module, my project is conclusively ready for testing and community reviews. With the able guidance of my mentor, Naveen Valecha, all the sub-modules ports for the process have been practically achieved, save for few optional improvisations, which can be included upon additional community reviews.

Focusing on the current scenario, all patches concerning the port have been maintained drupal.org and Github. Furthermore, the patches for Phase I and II have been reviewed and committed to the project codebase by my mentor. An alpha version of the module would be released soon. Meanwhile, feel free to provide feedback and raise relevant issues regarding the port of the module here.
This final blog would primarily focus in a stepwise and conclusive walk-through regarding a successful installation and configuration of the module. The steps for a successful installation is included below with accompanied by a visual demo of the same. For additional information on the working structure of the module, feel free to consult here.

Installing/Configuring the module:
  1. Enter the Drupal root installation directory and cd into modules/ directory.
  1. Execute the Drush command drush dl ubercart for downloading the latest compatible version of Ubercart for Drupal 8.
  1. Run drush en ubercart for installing/enabling the Ubercart module.
  1. Clear caches for the impending changes to take place by executing drush cr (cache-rebuild). This command would also display the probable errors (if there are any) faced during installation of the module thereby temporarily terminating the installation.

  2. Assuming no errors faced during the installation of Ubercart, the next step would be to download the Uc Wishlist module. This can be done by executing the command drush dl uc_wishlist.
  1. With no further errors, uc_wishlist would get successfully installed. Enable the module by executing drush en uc_wishlist. Upon execution of the command, the following dependencies would be prompted to install/enable for successfully enabling the Uc Wishlist module: uc_wishlist, uc_country, uc_store, uc_product, uc_order and uc_cart. Enter y/yes in terminal to install the above dependencies along with uc_wishlist.
  1. Drush would return a confirmation for the successful installation of the module. The next step would be to clear the caches for the module to get registered to the system and function successfully.    
Once installed the module can be configured to perform the following actions:
The Uc wishlist module is thus ready to function as per the user requirements, once properly installed according to the above instructions. I would recommend Drupalers using this port to create an issue in the issue queue page, if any. I have also created an issue, regarding final work submission in drupal.org, which can be accessed here.

So far, the experience has been really commendable, keeping in mind the vast knowledge procured during the interning tenure. Summing up, I would like to extend a vote of thanks to the Drupal community for assisting me towards the completion of the project. Special thanks also to the org admin Matthew Lechleider for his timely instructions and my mentor Naveen Valecha for guiding me throughout the coding regime. Looking forward to more collaborations in the near future.

Till next time then.

Cheers!




Comments

Popular posts from this blog

GSoC'17 | Drupal

This year I had the utmost opportunity of getting selected for the prestigious Google Summer of Code 2017, as a part of Drupal, the open source organisation to which I contribute. Drupal, is a free and open source content-management framework written in PHP and distributed under the GNU General Public License, provides a back-end framework for at least 2.2% of all Web sites worldwide – ranging from personal blogs to corporate, political, and government sites. Systems also use Drupal for knowledge management and for business collaboration. The Google Summer of Code, often abbreviated to GSoC, is an international annual program, first held from May to August 2005, in which Google awards stipends, which depends on place of university of the student, to all students who successfully complete a requested free and open-source software coding project during the summer. The program is open to university students aged 18 or over. Students contact the mentor organization...

GSoC’17 Coding period | Week #8 | UC Wishlist

The eighth week of Google Summer of Code 2017 has come to a close, bringing forth the onset of the Second Evaluation Period. Presently, I've been working on porting the 'Uc Wishlist' module to Drupal 8, under the guidance of my mentor, Naveen Valecha . The conceptualization and understanding developed during the first phase of coding have been of immense help and has provided notable assistance for the completion of the assigned ports. This month, concerning this week in particular saw the completion of a significant amount of work concerning the ports assigned for the Second phase of the coding regime. The work done this week can be briefly described as follows: Fixed the 'Add to wishlist/Remove from wishlist' submit handler for the second port. Previously, on clicking on the add to wishlist button, the screen showed an error page, and the product couldn't get registered. However, the error has been fixed and products can now be adde...

GSoC’17 Coding period | Week #3 | Drupal

With the conclusion of the third week of Google Summer of Code 2017, the initial phase of the coding period is coming to a closure. The conceptualization developed during the previous weeks have been of immense help, and has been of notable assistance for the completion of the ports for the first phase. The previous week, as I had stated in my earlier blogpost , I had to port the following sub-modules regarding the UC Wish list framework: As I had mentioned in the previous blogpost , till week 2 I had almost completed the first port by configuring the administrator wish list settings and completing a substantial portion of managing user wish lists. With the conclusion of week 3, I have completed the port of the administrator wish list settings. Moreover, I have also included the ‘Add to wish list’ feature as part of the second port. Thereby I would briefly like to state the steps taken to port the above functionalities: Manage user wish lists: Implemen...