Google Summer of Code 2017 | Drupal
The UC wish list module, adds wish list/gift registry support to the Ubercart store, an open source e-commerce solution fully integrated with the leading open source CMS, Drupal. This module, for instance, would specifically allow customers to create and administer personalized wish list of products in their Ubercart store. Other potential customers could then refer to those wish lists to get a better understanding about what items they should be purchasing and thereby purchase items on behalf of the wish list creators.
The UC wish list, would involve the use of the Form API (FAPI), which provides a definitive, easy to use, easy to extend and secure way of adding forms to your Drupal website. It functions alongside the normal shopping cart, presenting the customer with an "Add to wish list" button beside the normal "Add to cart" button on product pages.
Installing/Configuring the module:
For a LINUX-based system:
The Uc Wishlist module installation involves the following procedure:
- Dependencies involved: The following essentials are required for a successful installation/configuration of the Uc Wishlist module:
- Installing/Configuring the module:
Enter the drupal root installation directory and
Execute the drush command
drush dl ubercartfor downloading the latest compatible version of Ubercart for Drupal 8.
drush en ubercartfor installing/enabling the Ubercart module.
Clear caches for the impending changes to take place by executing
drush cr. This command would also display the probable errors (if there are any) faced during installation of the module thereby temporarily terminating the installation.
Assuming no errors faced during the installation of Ubercart, the next step would be to download the Uc Wishlist module. Clone the
8.x-1.xrelease branch of the repository in that folder
git clone --branch 8.x-1.x email@example.com:sandbox/chiranjeeb2410/2880059.git uc_wishlist.
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.
Drush would return a confirmation for the successful installation of the module. The next step would be to clear the caches for the module using drush cr to get registered to the system and function successfully.
Once installed the module can be used to perform the following actions:
Add Administrator wishlist settings: Provides a set of salient features to the site administrator to enable certain functionalities for a wishlist in general. Accessed through the address
Enable ‘Add to Cart’ and ‘Add to wishlist’ features: These functions enable products to be added to the cart or a wish list, with the help of the mentioned buttons.
Enable user to view/update a wish list: This functionality would entitle the user to access/view a specific wish list and modify it as per the options listed. Accessed through
Enable ‘Search Wishlist’ functionality: Allows the user to search an individual wishlist amongst the list of wish lists and access/modify it later. Accessed through
Option to email wishlist to other users: This functionality enables the user with the possibility of e-mailing any specific wishlist to other users or potential customers. Directed through the address
Add user wishlist settings: Extend the user with the option to modify/update a wish list and include specific features for individual wishlists. Directed through the link