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.
📢 Disclaimer: Don't fork this project, use, contribute, or open issue with your feature request.
Release | Status | Initial Release | Maintenance LTS Start | End-of-life | Store Compatibility |
---|---|---|---|---|---|
[2.x] | Current Release | 2018-11-08 | 2.x | ||
[1.x] | Maintenance LTS | 2018-08-15 | 2018-11-08 | March 2019 | 1.x |
See our LTS policy for more information.
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
.
dependencies: {
"vtex.telemarketing": "2.x"
}
Then, add telemarketing
block into your app theme as we do in our Store theme app.
📢 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).
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.
{
"telemarketing": {
"component": "index"
}
}
As you can see, this app has no required or optional block.
This app has no configuration yet.
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.
- Add the
styles
builder to yourmanifest.json
:
"builders": {
"styles": "1.x"
}
- Create a file called
vtex.telemarketing.css
inside thestyles/css
folder. Add your custom styles:
.container {
margin-top: 10px;
}
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
You can check if others are passing through similar issues here. Also feel free to open issues or contribute with pull requests.
Check it out how to contribute with this project.
To execute our tests go to react/
folder and run yarn test