- Posts: 74
- Thank you received: 7
Prevent a registered user from being able to order
1 year 3 months ago #367671
by marcmarc
Prevent a registered user from being able to order was created by marcmarc
-- HikaShop version -- : 5.1.5
-- Joomla version -- : 5.3
-- PHP version -- : 8.2.28
Hi,
I need to prevent a specific registered user from being able to order.
Is there a way?
thanks
-- Joomla version -- : 5.3
-- PHP version -- : 8.2.28
Hi,
I need to prevent a specific registered user from being able to order.
Is there a way?
thanks
Please Log in or Create an account to join the conversation.
1 year 2 months ago #367673
by nicolas
Replied by nicolas on topic Prevent a registered user from being able to order
Hi,
You could disable their user account via the Joomla user manager.
Another option would be to create a user group "can checkout", add it to all the other users, and restrict the payment methods to that "can checkout" user group.
That way, the user wouldn't have any payment method available during the checkout and he wouldn't be able to finish the checkout.
Another way would be to configure an auto loaded coupon restricted to that user with a percentage of -100000%. This would result in a coupon added to the cart of that user which would add a big amount to the cart of the user.
Then, you could set a maximum price in your payment methods so that they don't appear during the checkout because the cart total amount would be too big, and he wouldn't be able to finish the checkout.
You could disable their user account via the Joomla user manager.
Another option would be to create a user group "can checkout", add it to all the other users, and restrict the payment methods to that "can checkout" user group.
That way, the user wouldn't have any payment method available during the checkout and he wouldn't be able to finish the checkout.
Another way would be to configure an auto loaded coupon restricted to that user with a percentage of -100000%. This would result in a coupon added to the cart of that user which would add a big amount to the cart of the user.
Then, you could set a maximum price in your payment methods so that they don't appear during the checkout because the cart total amount would be too big, and he wouldn't be able to finish the checkout.
The following user(s) said Thank You: marcmarc
Please Log in or Create an account to join the conversation.
1 year 2 months ago #367675
by marcmarc
Replied by marcmarc on topic Prevent a registered user from being able to order
Thanks Nicolas,
my user pertains to a specific group with special tasks and I didn't think about the paiement restrictions to specific groups
so it's a easy way.
my user pertains to a specific group with special tasks and I didn't think about the paiement restrictions to specific groups
so it's a easy way.
The following user(s) said Thank You: nicolas
Please Log in or Create an account to join the conversation.
Time to create page: 0.228 seconds