VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: Kevin 89 on February 02, 2012, 20:19:56 PM

Title: assign guestst to a Customer group?
Post by: Kevin 89 on February 02, 2012, 20:19:56 PM
I have 2 customer groups (Group A and Group B). I have assigned products to these groups.

When you'r not signed in (guests) they must se the  products out group A.

When customers assigned to group B logs in, they she the products in that group.

The problem: Guests wil also se the products out Group B...  while the product is set to be visible for customers in Group B. How can i make Group B only visable after log in?

I have set Group A to default in the Customer Group




I have correctly assigend the products to customer groups.  I think the guests are not asaigned to a group???



Title: Re: assign guestst to a Customer group?
Post by: Milbo on February 02, 2012, 21:14:14 PM
Which version you are using? Vm2 maps guests automatically to the "anonymous" shoppergroup, so.
Title: Re: assign guestst to a Customer group?
Post by: Kevin 89 on February 02, 2012, 22:41:51 PM
I use vm2 on the latest joomla,

Thats the problem, guests are not mapped to anonymous.. is there a way to check this in the code?

I olse have installed a new instalation of joomla and vm2 on a other webserver, and the problem remains.. The only change i made is installing the Dutch Languages for store and backend. Tomorrow i wil try without de languages packige.

Title: Re: assign guestst to a Customer group?
Post by: Milbo on February 02, 2012, 23:10:33 PM
Do you use the 2.0.1.c? I think it is time for it.
Title: Re: assign guestst to a Customer group?
Post by: Kevin 89 on February 03, 2012, 11:30:05 AM
i just installed a fresh joomla 1.7.5 with VM 2.0.1.c and the problem stays.. guests see products from ShopperGroups...

This is how i tested it: I set the SHOVEL and HAMMER to GOLD LEVEL Shoppergroup,

http://kevinkleyn.nl/test/index.php/shop (http://kevinkleyn.nl/test/index.php/shop)

Did i miss something?
Title: Re: assign guestst to a Customer group?
Post by: Milbo on February 03, 2012, 13:25:04 PM
No, you did everything right. It was just a missing (array). So it worked with multiple shoppergroups, but not with one. Expect next hours 2.0.1.d
Title: Re: assign guestst to a Customer group?
Post by: Kevin 89 on February 04, 2012, 00:15:41 AM
Thnx! This solved my issue 8)

Keep up the great work