News:

Looking for documentation? Take a look on our wiki

Main Menu

Registered user not added to vmusers table

Started by df23, June 11, 2015, 10:41:36 AM

Previous topic - Next topic

df23

Moved this from Administration and Configuration as i am not sure if that is the correct place...

I am testing a new installation of VM (v3.0.9 on Joomla! 2.5.19).

I have

  • visited the front end whilst not logged in
  • processed an order and completed it (using standard payment method)
  • selected to register and supplied the customer name and address details
This shows as successful.

However when i look at the list of shoppers the new user details are not present (and also not in virtuemart_vmusers table).  Obviously in order to have the registration option during checkout i have set "On checkout ask for registration". I have not set "Only registered users can checkout" as i wish to give the customer the choice of registering or not.

The virtuemart_vmusers table only contains the shop vendor user and the list of shoppers in the back end shows this and all the other Joomla! users but not any that are used when registering via VM checkout.

Could there be something in configuration that i have missed to prevent the new user being added or possibly some other cause?

Any help greatly appreciated

Dave

df23

I have found the reason why this is not working and have just finished screaming  >:(

The Joomla setting to require admin approval for new registrations appears to be blocking VM registration. Having unset that Joomla config i can now register in vmusers table when checking out a purchase. I can also see that the new VM user has also be registered in Joomla User table.

Background
I am attempting to upgrade a website for a small charity. It started with a main joomla 1.0 site and a separate joomla 1.0+vm 1.0 site for the shop. This is because registered access to the main charity site is restricted to members and the shop is open to all. This has been working very well for more years than a care to remember. The main site is now running on 2.5.19. I am replacing the old 1.0 shop site and am trying to integrate it with the main site.

Here is what the charity needs

  • Registration requests through Joomla logon to require adminstrator approval and for all approved to be automatically assigned to a custom user group - this is working functionality
  • Virtuemart users (not Joomla registered) to have the option to purchase as guests - this has been tested and is working
  • Joomla registered users who purchase from the shop can login either before entering the shop or as part of the checkout process - i need to fully test this but it should work as all Joomla users are recognised by VM as shoppers
  • Virtuemart users (not Joomla registered) to have the option to register with VM to access historic orders - this appears to be the stumbling block, i cant see how to do this whilst maintaining the required administrator confirmation for Joomla registration.
Is #4 a show stopper or is there a way that this can be done? It seems that this could be a set-up that a number of organisations may want but maybe i will just have to keep the main site and the shop site separate (which confuses some of the members as they have to remember two logon+passwords!)

Thanks
Dave

jenkinhill

Quote from: df23 on June 11, 2015, 12:40:45 PM
Virtuemart users (not Joomla registered) to have the option to register with VM to access historic orders - this appears to be the stumbling block, i cant see how to do this whilst maintaining the required administrator confirmation for Joomla registration.

VitueMart2/3 uses Joomla registration, as now do all other Joomla extensions that involve a login. If they previously purchased in VM1 then maybe they could be have a Joomla registration but be assigned to a Joomla group with limited access controlled by ACL.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

df23

Hi Kelvyn

thanks for your reply. This is a brand new installation of VM. I  have been looking at this further and i think the issue is linked to using Community Builder for login (so we can define custom fields to hold membership details). This requires the Joomla registration to be disabled and i think this is preventing VM registration to add the new user.
Given that the trigger for doing this is the impending switch off by SagePay of the data protocol that we are using, i think i will stick with running the shop as a separate site. There appear to be too many headaches integrating it into an already functioning Joomla site. This will give time to see how the merging can be done later either with VM or another shopping cart.

Dave

jenkinhill

With CB you needed to use the CB VirtueMart plugin, but I don't know if it is still available. It was only for Developer CB members last time I looked.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

df23

Thanks Kelvyn

will take a look when time permits

Dave