Schogini - Amazon AWS, Magento and Mobile Developers
 

Magento 2 Enterprise Edition Gift Registry Customization

Magento Commerce is the leading provider of open omnichannel innovation. Its an open source, cloud-based digital commerce platform and omnichannel solutions empowers merchants to integrate digital and physical shopping experiences. Built for rapid innovation, the platform combines rich, out-of-the-box functionality with powerful business tools. This customizable platform seamlessly integrates with third-party solutions, can be deployed in any environment, and is backed by a vast network of commerce experts ready to help you.

The enterprise edition of Magento comes with many additional features to boost sales, customer interaction, retention and loyalty.

Objective:

Magento 2 EE Gift Registry allows buyers create gift registries for various events and add products from their wishlist to the registry. The client wanted to give their buyers the option to directly add products to the Gift Registry from the product details page.

Schogini’s Role:

Understand how the Gift Registry & Wishlist systems work and create a module that will extend the Gift Registry module to add a link to ‘Add to Gift Registry’ directly from the product details page.

Schogini’s Solution:

Create a new module extending the Gift Registry module which will act like its adding products directly to the Gift Registry. The module will not affect the default Gift Registry flow of Magento. Instead it will add the product to the wishlist behind the scenes giving the buyer the illusion that the product is added to the Gift Registry directly. If the customer if logged in, the ‘Add to Gift Registry’ link on the product details page will show a list ‘Gift Registries’ that the buyer has previously added so that they can quickly add to an existing registry. The list will also have a link to create a new registry, which will redirect the customer to Magento’s create registry form. In case, the customer is not logged in, the ‘Add to Gift Registry’ link will ask the buyer to login first.

The whole process happens in Ajax calls hence, the buyer doesn’t leave the product details page. In case, the buyer doesn’t select a product option, this module will alert the buyer. The buyer can see the list of products that they have added to the Gift Registry in their default wishlist.

Issues Faced:

The main issue was simulating the Wishlist flow without the customer knowing it. Multiple dependency injections had to be done to get the Wishlist & Gift Registry modules work behind the scenes. In case, the buyer didn’t have a wishlist then, a new wishlist had to be created behind the scenes.

Client Benefit:

The first benefit for the client is that their buyer can directly add products to Gift Registries via ajax giving them a seamless experience. The second, implicit benefit for the client is that, the default Gift Registry flow of Magento is not altered. This ensures that the module can be easily maintained through future Magento upgrades.

Author

Gayatri S Ajith - CEO/Cloud & DevOps Architect
Gayatri is a certified professional and highly experienced OpenSource eCommerce developer, team lead, and project manager. She is Magento Certified Developer Plus and Magento Certified Solutions Specialist. With over a decade of hands-on development experience in web technologies (LAMP & MEAN), she has a strong technical background with the ability to communicate those technicalities frequently and clearly. Gayatri is comfortable in proposing alternatives when necessary to ensure the client goals are met - always. Currently, she is mastering AngularJS & Ionic while heading the eCommerce division of Schogini.
Know more about the author.
 
 
 

CONTACT US

We love to talk to you, all enquires are replied to in under 4 hours.