Documentation
Feedback
Guides
VTEX IO Apps

VTEX IO Apps
Functional Apps
VTEX Telemarketing
Official extension
Version: 2.12.1
Latest version: 2.12.1

Description

The VTEX Telemarketing app is a store component that enables a call center operator impersonate a costumer in the store, and this app is used by store theme.

:loudspeaker: Disclaimer: Don't fork this project, use, contribute, or open issue with your feature request.

Release schedule

ReleaseStatusInitial ReleaseMaintenance LTS StartEnd-of-lifeStore Compatibility
[2.x]Current Release2018-11-082.x
[1.x]Maintenance LTS2018-08-152018-11-08March 20191.x

See our LTS policy for more information.

Table of Contents

Usage

This app uses our store builder with the blocks architecture. To know more about the Store Builder click here.

We add the telemarketing as a block in our Store Header.

To configure or customize this app, you need to import it in your dependencies in manifest.json.


_10
dependencies: {
_10
"vtex.telemarketing": "2.x"
_10
}

Then, add telemarketing block into your app theme as we do in our Store theme app.

:loudspeaker: Disclaimer: This component will only be displayed for the users that have the role of 2 - Televendas (Call center operator) in their access profile.

To give an user the permission of call center operator you need to follow these steps on VTEX admin management page:

  • Access the page: Account Management -> Access Profiles -> Click in New Profile -> Select 2 - Televendas (Call center operator)
  • Add the email of the users that are responsable for impersonating customers(call center operators).

Blocks API

When implementing this app as a block, various inner blocks may be available. The following interface lists the available blocks within telemarketing and describes if they are required or optional.


_10
{
_10
"telemarketing": {
_10
"component": "index"
_10
}
_10
}

As you can see, this app has no required or optional block.

Configuration

This app has no configuration yet.

Styles API

This app provides some CSS classes as an API for style customization.

To use this CSS API, you must add the styles builder and create an app styling CSS file.

  1. Add the styles builder to your manifest.json:

_10
"builders": {
_10
"styles": "1.x"
_10
}

  1. Create a file called vtex.telemarketing.css inside the styles/css folder. Add your custom styles:

_10
.container {
_10
margin-top: 10px;
_10
}

Customization

CSS Handles
container
popoverArrowUp
popoverBox
popoverContentContainer
popoverContainer
login
loginForm
loginFormMessage
emailInput
clientName
clientNameBar
logout
logoutForm
popoverHeaderIcon
popoverHeaderEmail
loginButton
loginAsText
popoverHeader
loginFormContainer
logoutInfoContainer
emailContainer
emailField
emailValue
documentContainer
documentField
documentValue
phoneContainer
phoneField
phoneValue
logoutButtonsContainer
wrapper
telemarketingBar
attendantContainer
attendantEmail

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

Troubleshooting

You can check if others are passing through similar issues here. Also feel free to open issues or contribute with pull requests.

Contributing

Check it out how to contribute with this project.

Tests

To execute our tests go to react/ folder and run yarn test

Travis CI

{"base64":"  ","img":{"width":98,"height":20,"type":"svg","mime":"image/svg+xml","wUnits":"px","hUnits":"px","length":730,"url":"https://api.travis-ci.com/vtex-apps/telemarketing.svg?branch=master"}}
{"base64":"  ","img":{"width":99,"height":20,"type":"svg","mime":"image/svg+xml","wUnits":"px","hUnits":"px","length":724,"url":"https://s3.amazonaws.com/assets.coveralls.io/badges/coveralls_77.svg"}}

See also
VTEX App Store
VTEX IO Apps