DEV Community

Cover image for Gift Registry
Code Queen
Code Queen

Posted on

Gift Registry

This is a submission for the Wix Studio Challenge .

What We Built

We built a functionality that is compatible with the majority of e-commerce websites. It is meant to be easy and simple to use, even though it is created using hundreds of lines of code. Imagine having to shop for someone but you don't know what they want? By adding a Gift Registry functionality to any e-commerce website you take the guessing out of gift giving.

Shop My Registry does exactly what it says. You are able to shop someone's registry list. For this hackathon challenge we created the 3 most popular options: baby registry, wedding registry and birthday registry. Anyone can sign up as a member, add products to their list and share the URL so their friends and family can shop.

Any product can belong to any registry of your registry lists at the same time. In other words, you can add a "lamp" for the baby's registry list but you can also add it to your wedding registry list.

Once you share your registry list URL, anyone can add items to the cart. Once an item is in anyone's cart, the page will let you know this item was already added to someone's shopping cart (to prevent buying duplicates).

A simple solution run by intricate logic.

Demo & Screenshots

www.shopmyregistry.com

Image description

Image description

Image description

Image description

Development

It was challenging getting used to all of the new API's syntax after realizing so many API's were deprecated.

API's Used

  • import wixUsers from 'wix-users';
  • import wixData from "wix-data";
  • import wixWindow from 'wix-window';
  • import wixLocationFrontend from "wix-location-frontend";
  • import { authentication } from 'wix-members-frontend';
  • backend / .js
  • Datasets / Filtering
  • Wix Stores
  • Reference fields

Team Members:

@codequeen and @hasan_abidi_74909b0da898a

Top comments (3)

Collapse
 
william_bernal_076f5ff6aa profile image
William Bernal

Brilliant! Just what I'm looking for!
Can I contact you to implement it on my website?

Collapse
 
phoedesign profile image
Duncan

Great project! A lot required across the board to build this functionality. You mentioned it's flexibility, looking at a packaging into a block/app market for this?

Collapse
 
codequeen profile image
Code Queen

Yes, I am hoping to block it up for Wix Stores!