Documentation
Feedback
Guides
VTEX IO Apps

VTEX IO Apps
B2B components
Quickorder
Official extension
Version: 0.7.2
Latest version: 3.14.0

This page is about version 0.7.2 of the app, which is not the most recent version. The latest stable version is 3.14.0.

{"base64":"  ","img":{"width":110,"height":20,"type":"svg","mime":"image/svg+xml","wUnits":"px","hUnits":"px","url":"https://img.shields.io/badge/all_contributors-0-orange.svg?style=flat-square"}}

The Quickorder app is entirely designed for B2B scenarios. It creates a custom page in your store aimed at purchases in bulk, offering tools such as uploading a spreadsheet to make bulk orders more agile.

{"base64":"  ","img":{"width":2876,"height":1572,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":236085,"url":"https://user-images.githubusercontent.com/52087100/82382559-8fb77b00-9a02-11ea-8803-1d36c4cf5d13.png"}}
Example of a quick order page without customization

Configuration

  1. Add the Quickorder app to your theme's dependencies in manifest.json. For example:

_10
dependencies: {
_10
+ "vtex.quickorder": "0.x"
_10
}

Once Quickorder is added as a dependency, a new route called /quickorder will be automatically created for your store, creating the Quickorder custom page that allows bulk orders.

  1. Access the admin of the VTEX account in which your are working to access the CMS section. Then, enter Site Editor;
  2. In the admin's Site Editor, look up the /quickorder route in the Site Editor's URL field;
  3. Edit the page's Quickorder block according to the desired scenarios and save your changes. You can change the page title, as well as define which bulk order options will be made available to users: autocomplete, textarea, category or upload.

An error occurred while trying to load the image. ./image/Editor-Admin.png

For more on each of the available options and their respective functionalities, check the Modus Operandi section below.

Modus Operandi

In practice, the QuickOrder custom page works just like any other store page - with a unique route and its own components.

This means that you can display a link to it in components from other pages, such as the Homepage, so that your users can access it faster.

When configuring the page itself, we recommend that you choose a maximum of 2 bulk order options (from the total of 4 available) to establish clear communication with users. Remember: the more options on the UI, the more complex the order process becomes.

The available options are as follows:

Copy/Paste SKU

The Copy/Paste SKU allows user to paste a list of desired SKUs in a text box following the structure [Sku's Code],[Quantity], where:

  • SKU'S code = SKU Reference ID SKU (be aware that this is not the SKU ID displayed in your admin's catalog);
  • Quantity = SKU quantity you wish to add to the cart.

For example:

An error occurred while trying to load the image. ./image/Copy-n-Paste.gif

:information_source: Remember that you need to validate the list after pasting it. Validating the Reference IDs will let you know if the selected SKUs are in fact available for purchase.

One By One

The One By One option works as a custom search bar. Simply add the name of the desired SKU, then select it and set the amount you wish to add to the cart.

Remember to add each selected item to the cart by clicking on Add.

An error occurred while trying to load the image. ./image/One-by-One.gif

:information_source: This option does not require any validation, since selecting the SKUs using a search bar already ensures that they are available to purchase.

Categories

The Categories option allow users to choose their desired SKUs and respective quantities using the store's categories tree, adding all the selected options to the cart at once.

An error occurred while trying to load the image. ./image/Category.gif

Be careful however: this option is only recommended if you don't have more than 50 SKUs for each category in your catalog, otherwise the component will take too long to load and will negatively affect your store's UX.

:information_source: This scenario also does not require validating the SKUs that you've added to the cart, since selecting them directly from the store's categories tree ensures their availability.

Upload

Another possible option that replaces the Copy/Paste SKU option is to upload a spreadsheet containing two columns (SKU and Quantity) to the Upload component.

An error occurred while trying to load the image. ./image/Spreadsheet.png

The spreadsheet will work in the same way as the list pasted using the Copy/Paste SKU option, as follows:

  • SKU column = SKU Reference ID (be aware that this is not the SKU ID displayed in your admin's catalog);
  • Quantity column = SKU quantity you wish to add to the cart.

:information_source: Once uploaded, the spreadsheet is then validated. Based on the filled in Reference IDs, Quickorder will confirm whether the SKUs are in fact available for purchase.

Customization

In order to apply CSS customizations to this and other blocks, follow the instructions given in the recipe on Using CSS Handles for store customization.

CSS Handles
container
title
copyPasteBlock
autocompleteBlock
reviewBlock
buttonsBlock
buttonValidate
skuSelection
productThumb
productLabel
inputQuantity
buttonAdd
categoryContainer
categoryTitle
categoryHelper
categoryProductLabel
categoryInputQuantity
categoryButtonAdd
categoriesSubCategory
categoriesProductContainer
categoryLoadingProducts
dropzoneContainer
dropzoneText
dropzoneLink
See also
VTEX App Store
VTEX IO Apps