Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.
Basically I want to limit a user of specific role upto certain sale limit. So a user with role x can sell upto $y. Is there anyway or module which can do the task. Thanks
The only way to calculate sale is through some custom coding as far as I see. But I know there must be some way out using rules module. Like It will store the value in variable when ever the the product is added to cart or the order is completed. What do you think?
Get user id and then can identify all that sell attached with that user id
its not clear how you have linked with sell and user id how you linked
user id can identify
global $user;
$user->uid