Skip to content

vtex-apps/telemarketing

Repository files navigation

📢 Use this project, contribute to it or open issues to help evolve it using Store Discussion.

Telemarketing

All Contributors

The Telemarketing app is a store component that enables a call center operator to represent a customer in the store and shop on their behalf.

telemarketing

⚠️ Warning

Learn more about this feature in our Telesales toolbar article.

Configuration

  1. In your theme's manifest.json, add the Telemarketing app as a dependency:
  dependencies: {
+   "vtex.telemarketing": "2.x"
  }
  1. Add the telemarketing block in your store's header. For example:
{
  "header": {
    "blocks": ["header-layout.desktop", "header-layout.mobile"]
  },
  "header.full": {
    "blocks": ["header-layout.desktop", "header-layout.mobile"]
  },
  "header-layout.desktop": {
    "children": [
      "flex-layout.row#1-desktop",
      "flex-layout.row#2-desktop",
      "flex-layout.row#3-desktop",
      "sticky-layout#4-desktop"
    ]
  },

  "flex-layout.row#1-desktop": {
    "children": ["telemarketing"],
    "props": {
      "fullWidth": true
    }
  },

Once you have added the block to the header, the Telemarketing component is ready to be rendered, since it does not require props.

⚠️ Warning

The telemarketing bar is accessed via browser by the following URL, where {accountName} should be replaced by the name of your account: {accountName}.myvtex.com

Modus Operandi

This component will only be displayed and properly work for users whose role is 2 - Televendas (Call center operator) in their access profile.

To understand how the permissions work for your account, including the call center operator permission, access the learning track on Accounts & Permissions on VTEX Help Center.

Customization

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

CSS Handles
clientName
clientNameBar
container
emailInput
login
loginForm
loginFormMessage
logout
logoutForm
popoverArrowUp
popoverBox
popoverContentContainer
popoverContainer
popoverHeaderIcon
popoverHeaderEmail

Related articles

Contributors ✨

Thanks goes to these wonderful people:

This project follows the all-contributors specification. Contributions of any kind are welcome!