|VM Shopper Group Login Redirect|
Virtuemart is the most powerful and most popular shoppign cart for the Joomla CMS. It has an awesome native shopper group capability that can be used to control the display of pricing and other important information in your shop. However, until now, there has been no way to direct shoppers to specific pages when they log in based on their Shopper Group. CorFun's VM Shopper Group Login Redirect closes that gap and now lets store owners direct shoppers of different shopper groups to the best pages for them.
CorFun, Inc. has used Virtuemart extensively to build shopping sites for customers for years. Often shops have multiple shopper classes such as Wholesale, Retail, Paid Member, or just Shopper. As a development team, we often found ourselves wanting to redirect Wholesale shoppers to a list of specials for them, while the regular Shoppers needed a different page. We were able to get around this by using JUGA and JACLPlus to create custom ACL groups and then using our regular login redirect component. However, this was not ideal, because it was too much effort and the Shopper Group was the natural place to control this process. Because we needed a simpler process that works with Virtuemart Shopper Groups directly, this component was created.
How to Demo This Component
For demo purposes, we have two shopper classes set to point to two different URLs. We are using the Virtuemart Login Module, but this is not required. This component will work with any Joomla Login Module. Login using one of the sets of creds below, then logout and use the other set of creds. These two sets are for users with two different Shopper Groups and redirect to two different URLs on login.
Default Shopper Group Login Demo
Sign in on the left using the Username and Password below to be directed to the main Virtuemart page based on the Default Shopper Group.
You will redirect to the category page in Virtuemart. Please log out and return to this page to test the login for a Wholesale shopper.
Wholesale Shopper Group
Sign in on the the left using the Username and Password below to be directed to a page with wholesale information and specials based on the Wholesale Shopper Group.
Please Note: We just used user usernames and passwords that match the Shopper Groups to make for an easy demo. That is not required, obviously. The component works based on Shopper Group, regardless of what the username and password are for the individual users.