Documentation
Feedback
Guides

Gift List

A gift list is a list of products a shopper creates and sends to guests (other shoppers) asking them to buy the products. The app can be useful for events like birthdays, weddings, and baby showers. When a guest buys one or more products from the list, virtual credit is generated that can be converted into a gift card. The list’s creator has a wallet with information about the generated credit and the gift card. Then, the creator of the list can use the gift card to purchase the desired items.

The Gift List app allows you to create an environment that contains gift lists. In this environment, shoppers can create gift lists, send them to guests, manage credit on their wallets, and see their bank statements. This app makes an Admin interface available where the shopkeeper can manage the progress of the lists, with information like the number of lists created, track information from multiple customers, and how much money was generated from the gift lists among other essential measures. You can watch a demo of this app in this video.

{"base64":"  ","img":{"width":1679,"height":836,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":103779,"url":"https://cdn.jsdelivr.net/gh/vtexdocs/dev-portal-content@main/images/gift-list-app-allow-shoppers-to-create-lists-of-store-items-and-receive-them-as-gifts-1.png"}}

{"base64":"  ","img":{"width":1745,"height":771,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":275597,"url":"https://cdn.jsdelivr.net/gh/vtexdocs/dev-portal-content@main/images/gift-list-app-allow-shoppers-to-create-lists-of-store-items-and-receive-them-as-gifts-5.png"}}

All orders made through gift lists have their value converted to credits as a gift card. The gift cards used in gift lists are VTEX native ones. Gift cards from external providers are not supported by the app.

Before you start

The Gift List app is a paid VTEX app. Before using it on your store, you must acquire it on the VTEX App Store. The app has a fixed monthly fee that varies country by country, which can be found on the app page.

VTEX Checkout does not differentiate gift cards generated by the Gift List app or other means. Thus, when using the Gift List’s gift cards to purchase the products, it is possible to combine them with other gift cards at the Checkout.

Gift List also works with marketplace items from third-party vendors. It is possible to integrate VTEX sellers into the marketplace account and add their products to the gift lists. However, all the orders will be converted into gift list credits.

Getting started

Creating a subaccount

The Gift List app must run in an environment separate from the main store. Thus, you need to create a subaccount inside the main account. The main account can be in IO or Legacy CMS Portal, but the subaccount must be in IO. You can check the instructions in the How to create a multistore / multidomain article.

ℹ Subaccounts are not charged by VTEX as a monthly fixed fee. We only charge the take rate as a percentage of the orders received by the subaccounts, which is what was agreed in the contract with VTEX.

After creating the subaccount, it is necessary to open a ticket to the VTEX support team requesting the installation of the vtex.edition-store@5.x app at the new subaccount. See the Edition App article for more information.

Creating an application key

Another requirement is to create an application key on your subaccount to configure the order hook. You can check the instructions in the Application Keys article. You also need to add a role to the application key with access to the Feed v3 and Hook Admin resource. You can check the instructions to create and manage roles in the Roles article.

Remember to save the app key and the app token for further configuration steps.

Setting up the app

To set up Gift List in your store, follow these steps:

  1. Access your subaccount Admin.
  2. On the left panel, click on Apps.
  3. Access the Gift List App Settings menu. The conversion of the values ​​received from the gifts will be sent to a Gift Voucher that can be used in your official store. But for that, we have to configure it. When accessing the previously specified menu, the following screen will be displayed:
    {"base64":"  ","img":{"width":1568,"height":510,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":48717,"url":"https://cdn.jsdelivr.net/gh/vtexdocs/dev-portal-content@main/images/vtex-gift-list-0.png"}}
  4. In the Account Setting tab, click on the Main account name field and choose the account which is the official store where the generated gift cards will be used.
  5. Click on SAVE.
  6. Go to the Advanced Settings tab.
  7. Use the app key and the app token created previously in the VTEX App Key and VTEX App Token fields respectively for the order hook. This application key must have no hook registered to it.
  8. Click on SAVE.
    {"base64":"  ","img":{"width":1572,"height":822,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":57545,"url":"https://cdn.jsdelivr.net/gh/vtexdocs/dev-portal-content@main/images/vtex-gift-list-1.png"}}
  9. In the left panel of the Admin, go to Store Settings > Intelligent Search > Integrations. Here you will configure the Intelligent Search so that your entire store catalog is indexed in the subaccount.
    {"base64":"  ","img":{"width":1592,"height":590,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":115221,"url":"https://cdn.jsdelivr.net/gh/vtexdocs/dev-portal-content@main/images/vtex-gift-list-2.png"}}
  10. Click on START INTEGRATION and wait until all the integration to complete successfully as shown in the image below.
    {"base64":"  ","img":{"width":1592,"height":504,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":88574,"url":"https://cdn.jsdelivr.net/gh/vtexdocs/dev-portal-content@main/images/vtex-gift-list-3.png"}}

After these steps, the app is configured and the gift lists are available to shoppers in the store.

Components

The Gift List interface is composed of many front-end components, which you can customize for your store needs. Below is a list of all the components in the Gift List app:

Add To Cart Button

Displays a button that allows users to add products in the Minicart from a guest page if the quantity purchased has not yet reached the limit.
See more

Add to List Button

Displays a button that allows owners of the list to add products and remove products inside their list.
See more

Auth Condition

Performs validation that the user is logged in to render different layouts.
See more

Add New Item

Displays a button to direct the list owner to the search page for adding new items to their list.
See more

Breadcrumbs

Displays the path to the user's navigation list.
See more

List Modal

Displays a modal for editing or creating lists.
See more

Gallery List Items

Displays the gallery with the products contained in a list.
See more

Gifted Button

Displays the counter of purchases that have already been made for a product within the list.
See more

Go Back To List

Allows the user to return to the list.
See more

List Info

Is made up of three blocks (list-info.name, list-info.event-date and list-info.owner) and each one represents a type of information associated with the list, which are the name of the list, date of the event and name of the owner of the list respectively.
See more

Product Modal

Displays a modal with detailed information (such as size and color) about the product the costumer wants to add to the lists they own.
See more

Autocomplete Result List

Represents the autocomplete from the search bar.
See more

Quantity Selector

Is made up of three blocks (quantity-selector-minicart, quantity-selector-shelf-guest and quantity-selector-shelf-owner-list) and each of them represents a quantity selector for different contexts which are use in mini-cart, guest shelf, list owner shelf and selection modal on search page.
See more

Search List

Displays a search box for public lists according to the name of the owner of the list or the name of the list.
See more

Store Wallet List

Renders the virtual wallet that contains the user's credit and gift card information.
See more

Share List

Displays a button to automatically copy the URL to send the list to guests.
See more

Users List

Displays the lists the user has with their names and privacy information. It has as title and a subtitle and a link button to generate new lists.
See more

Wrappers

Are used to call the context Provider for other components and they are made of three blocks (wner-list-wrapper , guest-list-wrapper and user-lists-wrapper) and each one represents a context, which are owners, guests and users respectively.
See more

List Items Order By

Allows the user to sort the items of an list. The options for ordering are alphabetically or addition date.
See more

Besides installing, making the basic setup and customizing the components, we also have some recommended settings available to improve the experience of using the app for the shopper and managing the app for the merchant. These settings are not mandatory (optional), but highly recommended.

Trade Policy

To better control the functioning of the gift list, we strongly recommend creating a new trade policy. The trade policy helps you with gift list management through:

  1. Stock control: There are two different moments of purchase on gift flow. The first occurs when guests realize a purchase related to the list. The second occurs when the list owner realizes a purchase, using the credits received by the guests on the first purchase.
    Because of this flow, two items can be removed for the same gift, generating an imbalance in stock control. Attentive to this problem, we suggest one stock to be used only for gift list purchases. For this matter, it is mandatory an exclusive trade policy for linking stock with the store catalog.
  2. Specific assortment: You could want to define a specific assortment of items to be added to clients' lists. For this purpose, you will need a separate trade policy.
  3. Different prices: Another common situation is to define a specific price table for items sold by gift list. A new trade policy helps you to enable this particular price table.

To create a new trade policy, please fill out this form. For more information about commercial policies, check the Creating a trade policy article on our Help Center.

Ready-made theme

You can use a ready-made theme with these components or customize the theme to better suit your needs. If you want to use the mentioned theme, you can install it directly using the command:


_10
vtex install vtex.list-theme@3.x

After the theme is created, go to Storefront > Site Editor in the Admin and add which category the list owner will be redirected to when adding a product to your list, as can be seen below:

{"base64":"  ","img":{"width":1620,"height":918,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":93301,"url":"https://cdn.jsdelivr.net/gh/vtexdocs/dev-portal-content@main/images/vtex-gift-list-4.png"}}

Checkout

We recommend using the checkout created to use with the Gift List app, as it will allow some personalized features to be added, such as the possibility of sending personalized emails from a guest to the person to be gifted. To use the custom checkout:

  1. Open a terminal.
  2. Login to your store.
  3. Enter the command vtex install vtex.list-checkout@0.x.
  4. If you want to edit the previous checkout, install the checkout-ui-custom app. Follow the steps in the Checkout UI Custom article.
  5. After installing the Checkout UI Custom, if you want to enable the message field in the checkout:
    1. In the Admin of your store, go to Store Settings > Storefront > Checkout UI Custom.
    2. Click on the CSS tab.
    3. Inside the text box, insert the code:

      _10
      .note { display: block; }

{"base64":"  ","img":{"width":1588,"height":1032,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":48905,"url":"https://cdn.jsdelivr.net/gh/vtexdocs/dev-portal-content@main/images/vtex-gift-list-8.png"}}

Email for gift purchase

If you want to send the emails that are triggered with the checkout above, create a new template in the admin, in the Message Center > Templates page. The name of the template must be new-list-order and the recipient {{ownerListEmail}}.

{"base64":"  ","img":{"width":2272,"height":1468,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":250246,"url":"https://cdn.jsdelivr.net/gh/vtexdocs/dev-portal-content@main/images/vtex-gift-list-5.png"}}

An optional HTML code for the email template can be found here.

Login integration with the main account

With login unification, you can provide a unified navigation experience, since a login into the subaccount will also be a login into the main account and vice versa. Unify the login of the main account with the subaccount to provide a unified navigation experience. Logging into either account will grant access to both, ensuring a unified experience. By default, at VTEX a login to the main account is separated from a login to a subaccount. Without login unification, after a client is logged in to a store, they will need to log in again to access gift lists.

You can check the instructions for this configuration in the Unifying login for different accounts article, using the main account as the primary account and the subaccount as the secondary account.

Store owner interface

There is also an interface available for the shopkeeper to follow the metrics obtained by the list application. You can access it on the Admin by going to the Store owner interface menu. In this interface, you will see on the first screen all the users that contain a gift list, with their respective amounts of lists, the value they have already earned in gifts, the value converted into gift vouchers, and whether or not there is already an active list at the moment, respectively. You can also search for emails.

{"base64":"  ","img":{"width":1580,"height":1002,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":192726,"url":"https://cdn.jsdelivr.net/gh/vtexdocs/dev-portal-content@main/images/vtex-gift-list-6.png"}}

If you want more information about a specific user, just click on the arrow next to the user's name, which will redirect you to a second screen. On this new screen, you can find information from each list of this user, including the name of the list, the value gained in the list, the date of the event, and whether the event has already occurred or not.

There is also a totalizer with the number of lists, the amount invoiced on the lists, and the converted amount. It is worth adding that if a search is performed or a filter is used, the number of lists ​​and purchased values will be updated according to the result. The search can be done by the list title and the available filters are the status of the lists and the date of creation of the list. To see the list in question, you can click on the 👁 button and you will be redirected to the list in question in the guest view.

{"base64":"  ","img":{"width":1546,"height":1032,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":127136,"url":"https://cdn.jsdelivr.net/gh/vtexdocs/dev-portal-content@main/images/vtex-gift-list-7.png"}}

Contributors
3
Photo of the contributor
Photo of the contributor
Photo of the contributor
+ 3 contributors
Was this helpful?
Yes
No
Suggest edits (Github)
Contributors
3
Photo of the contributor
Photo of the contributor
Photo of the contributor
+ 3 contributors
On this page