Developer forum

Forum » Ecommerce - Standard features » Impersonation - discounts and cart

Impersonation - discounts and cart

Rene Poulsen
Reply

Hi,

I've never used impersonation in DW before, but we have a customer who wants to know about the features and maybe use it.

I've testet a little bit and have three questions:

1) I have a user (tk1) that has 5% discount on all products. When I log in with a user (salesuser) and impersonate the tk1 user, the discounts does not show. Is it possible to show these discounts?
 

2) If we set up liveintegration to an ERP system we have to show the right prices for the right users. If i log in with a user (salesuser) and impersonate the tk1 user, will dw then be able to show the right prices from the ERP system? Or will it show the prices for the salesuser?
 

3) If I log in as the salesuser, impersonate tk1 user and add products to the cart - will the salesuser then be able to save the cart for the tk1 user?


Replies

 
Asger Munkholm Højfeldt
Reply

Hi Rene,

For now the impersonation functionality works so your salesuser will be the logged in user and orders he places will be placed with the tk1 name on it (but marked as placed by salesuser). This will not give you discounts for tk1 or the ability to save the cart as tk1. Talking about the integration it's rather simple to extend the standard to use at the secondary user which tk1 will be in your scenario - this gives you the possibility to use the prices based on tk1 from the ERP system. 

For your point 1 and 3 to work, we will need to implement another (more complex) impersonation method. We have talked about this internally but the use cases we have been presented were all about the current functionality. 

I will be more than happy to discuss the other implementation with you - just drop me a mail or call me! 

//Asger

 
Rene Poulsen
Reply

Hi Asger,

Thank you for your reply. It sounds great that it's possible through integration.

Right now we actually don't need point 1 and 3 to work (because we are going to do it through integration), but I could imagine that something like that would be useful in the future. Maybe it could be a settings somewhere, where you can choose if discounts should be available when impersonating another user.

 
Asger Munkholm Højfeldt
Reply

Ok glad to hear it solves your case - in terms of implementing the other scenario we will evaluate it again. 

//Asger

 

You must be logged in to post in the forum