VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: ajayworld20 on October 17, 2015, 17:15:17 PM

Title: Access rights of guests in Virtuemart 3.0.10
Post by: ajayworld20 on October 17, 2015, 17:15:17 PM
Hello,

Can someone please help with the correct access rights of guest users in the VM 3.0.10 ACL preference. I upgraded to virtuemart 3.0.10 on joomla 2.5.28 and since then i can't seem to have the right ACL for my shop site. The shop is supposed to allow the public browse the products and use the shopping cart, allowing registration checkout only on registration.

Thanks in advance for your help.
Title: Re: Access rights of guests in Virtuemart 3.0.10
Post by: jjk on October 18, 2015, 15:38:44 PM
Quote from: ajayworld20 on October 17, 2015, 17:15:17 PM
...allowing registration checkout only on registration.
I'm not sure what you mean. Did you enable 'Only registered users can checkout' in VM configuration > Checkout tab?
Title: Re: Access rights of guests in Virtuemart 3.0.10
Post by: ajayworld20 on October 18, 2015, 18:16:38 PM
Thanks for your response jjk.

Yes, I did. I thought that should force guests to register before checkout. Is this wrong?
Title: Re: Access rights of guests in Virtuemart 3.0.10
Post by: jjk on October 18, 2015, 19:12:23 PM
Should work if you also enable 'On checkout, ask for registration'. See here: http://docs.virtuemart.net/manual/configuration-menu/configuration.html#checkout
Title: Re: Access rights of guests in Virtuemart 3.0.10
Post by: ajayworld20 on October 18, 2015, 20:18:44 PM
Yes. I also enabled 'on checkout ask for registration'. The problem is that guests can add to cart without viewing product details and they cannot go beyond the frontend home page without being asked for registration.
Title: Re: Access rights of guests in Virtuemart 3.0.10
Post by: jjk on October 18, 2015, 21:59:46 PM
Do you need customers to register before they buy a product or do you just want them to have to go to the product details view before they add something to the cart?
Title: Re: Access rights of guests in Virtuemart 3.0.10
Post by: ajayworld20 on October 19, 2015, 15:39:34 PM
I need for customers to be able to browse products, ask questions and view details as well as ratings and customers feedback and add items to cart as if they are already signed in but they have to either sign in or register to be able to checkout. Also only signed in customers can review a product etc.

Thank you.
Title: Re: Access rights of guests in Virtuemart 3.0.10
Post by: jenkinhill on October 19, 2015, 16:07:22 PM
Do you mean to say that you have misconfigured things so that unregistered users cannot browse products & add to cart?  I don't see why you were playing with ACL. No special settings are needed to do what you appear to want, except for setting 'On checkout, ask for registration' and 'Only registered users can checkout'
Title: Re: Access rights of guests in Virtuemart 3.0.10
Post by: ajayworld20 on October 19, 2015, 19:50:53 PM
Thanks for your response Jenkinhill. I'm sure i pretty much had this working ok until i upgraded to 3.0.10. No i wasn't fumbling with the ACL until i discovered that guests couldn't do anything apart from add to cart (which was not populating the cart anyway) without being asked to login. Yes, after that i tried to configure the ACL setting but no changes.
Title: Re: Access rights of guests in Virtuemart 3.0.10
Post by: jjk on October 19, 2015, 21:11:27 PM
Quote from: ajayworld20 on October 19, 2015, 19:50:53 PM
No i wasn't fumbling with the ACL until i discovered that guests couldn't do anything apart from add to cart (which was not populating the cart anyway) without being asked to login.
Might be a problem with a third party extension not compatible with VM 3.0.10 yet. Also it's easy to mess up the Joomla/VM ACL. Perhaps comparing the ACL settings to a fresh installation helps.
Title: Re: Access rights of guests in Virtuemart 3.0.10
Post by: ajayworld20 on October 21, 2015, 14:41:19 PM
Ok, so i've checkwd acl settings with another installation that doesn't have same problem and reversed my settings, but nothing has changed. Any other suggestons please.
Thanks guys for helping so far.
Title: Re: Access rights of guests in Virtuemart 3.0.10
Post by: ajayworld20 on October 21, 2015, 22:39:11 PM
Finally Resoled this. I had set up submenus accessible to only admins at development stage which the system was taking info from and  preventing guests from access.

Thanks everyone for your help.