Forum Replies Created
-
AuthorPosts
-
vijayParticipant
In the file
vendor_registration.php
Copy(located at
wp-content/plugins/dc-woocommerce-multi-vendor/templates/shortcode/vendor_registration.php
Copy), i have copied this file to (wp-content/themes/flatsome-child/MultiVendorX/shortcode/vendor_registration.php).
it’s evident that the
is_user_logged_in()
Copyfunction is being used. This implies that user authentication is already being managed to determine whether a user is logged in or not.
Now, my objective is to modify the user’s role to “dc_pending_vendor” if they are logged in.
vijayParticipantThankyou,
That WorkedvijayParticipantHi,
thanks for the quick reply
I am not talking about Order, Membership or anyMy scenario is like
1. I will send the Visitor to Vendor registration page whois interested to sell goods with us
2. Visitor will fill the form
3. Visitor will clcik on Register Butoon
4. Newly registered Vendor is on the user role of “Pending_Vendor” because i approve Vendors Manually(Till here flow is working properly, i want to change flow after this)
now the newly registered vendor(Pending_Vendor) is Redirecting to Vendor dashboard with a message “Congratulations! You have successfully applied as a Vendor. Please wait for further notifications from the admin.”
i want change the redirection to another Page, that page name is vendor-thankyou.
i dont want to show the Dashboard until vendor is approved.i hope I have explained clearly
-
AuthorPosts