Different prices for Shoppergroups -anonymous- and -default- This helped!

Started by IntrepidClassChicken, April 10, 2013, 12:18:25 PM

Previous topic - Next topic

IntrepidClassChicken

I had the need to create a retail and a wholesale price and to have the wholesale price shown only to a select few. I found the information on how to do this was pretty sketchy.

This may seem obvious to some but if you are like me, working on your first Virtuemart installation and think in terms of possibilities, the -anonymous- and -default- shoppergroups that are pre-loaded might cause confusion. Especially when there is also a function to change which shoppergroup acts as a global default over them all.

It took a bit of playing around for me to figure this out but the -anonymous- shoppergroup can be used to store and show the prices that are seen when people are NOT logged in. The -default- shoppergroup can be used to store and show prices that are seen when people create their own account and then log in with it.

I have used both of them to store and show the retail prices.
Why do I need to use two shoppergroups to store one retail price I hear you ask? I have no idea. I'm just going with the flow here. Maybe there is a more efficient way? ;)

I then created a custom shoppergroup that I called "Wholesalers" which I use to store and show the wholesale prices. Since the users who are wholesalers are far fewer and are privileged, invited users, it is OK to have to set them manually to the Wholesaler shoppergroup.

I don't yet know what is achieved by marking one or another of the shoppergroups as default in the shoppergroup list.

Hopefully this will be all that I need to know for now. Hopefully I have set up my shoppergroups correctly and I will have no more issues.
If someone knows more than me, please can you write more detailed instructions?

Thanks all :)

Milbo

As far I can see you got the idea to 90%.

We have one shoppergroup, called anonymous, bad name, yes. We should rename it to not logged in, or so. Maybe one of the english natives has a good name for it.

The other group, default is the one which is automatically given to any shopper which is logged in and without any shoppergroup. There are extensions available, which push for you automatically the users into a whole sale, or to be taxed group and so on (see http://extensions.virtuemart.net/vm-orders/eu-vat-checker-detail and http://extensions.virtuemart.net/promotions/shopper-group-changer-detail. You may also read here http://docs.virtuemart.net/manual/17-products-menu/30-taxes-and-calculation-rules.html
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

IntrepidClassChicken

Interesting. Thanks for that Milbo  :)

Another idea I have thought to implement:

I have created two price rules: "Price Increase - Wholesale" and "Price Increase - Retail"

At the moment they are each set to add a value of zero to the product prices before tax. But to save a lot of work in the future, if we decide to increase either of these prices (as will likely happen over time with inflation etc.), I can increase them across the whole of the shop.

It does occur to me though that shop wide price adjustments are something that has probably already been built into VM. Would that be correct? How might that work?

easy4u

Hi there.

One quick question related to the different shopper groups. Lets say i leave "anon" and "default" the way they are (for logged in and out users - NORMAL prices) and set different pricing for "wholesalers" (a new group altogether). Now my question >

When the "wholesaler" logs in, i want him to see 2 prices!. i.e.. the normal prices and the special prices he gets which makes him special :)

How can i do this?
Thanks for your answer, much appreciated.

Regards