vtex-apps / store-discussion

VTEX IO store builders' community
80 stars 5 forks source link

Telemarketing - Feature/adding custom field #675

Open Suraj-Rajmane opened 2 years ago

Suraj-Rajmane commented 2 years ago

What problem are you trying to solve?. At present there are only 3 fields in the impersonating box such as Email, Document and Phone. Client want to add one extra field to the imersonating box called CustomerClass.

Describe the solution you'd like I am making an api call to get the orderForm Data. From that data we are extracting the CustomerClass and adding it to the impersonating box. Telemarketing-modification

Why do you think this feature should be available to all stores? I don't think this feature will be useful for all the stores. But VTEX team has suggested to make use of telemarketing app to solve this issue. So I came up with this. But I have taken care that this field will not render for other stores.

Describe alternatives you've considered I didn't find any alternative solution.

Created PR on Telemarketing Repo https://github.com/vtex-apps/telemarketing/pull/76