VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: EvanGR on February 19, 2015, 19:17:59 PM

Title: Register from cart, order not saved in user account?
Post by: EvanGR on February 19, 2015, 19:17:59 PM
[Joomla 2.5.27, VM 2.6.12]

I have the following issue:

When the guest goes to cart, and decides to register alongside the purchase, the account is created (good), the order is placed (good), but the order is not assigned to the user's account (bad). If the user logs in and goes to orders list, the order is not there. And in the backend, the order is visible, assigned to the proper shopper username, but the username is not clickable to take you to the shopper defails. In other words, VM does not connect the order with the shopper account.

Again, this problem happens when the guest decides to register from the cart, when completing the order.


btw... We are scheduling a Joomla/VM update to newer versions [J2.5.28/VM2.6.14] in a few days, I don't know if this will solve the issue. Thanks!
Title: Re: Register from cart, order not saved in user account?
Post by: EvanGR on February 25, 2015, 15:30:43 PM
I guess there's no answer to the issue. So I am looking for a workaround now...

How can I associate a "guest" order, to a specific shopper, after the order has been placed?

Thanks
Title: Re: Register from cart, order not saved in user account?
Post by: GJC Web Design on February 25, 2015, 23:07:35 PM
If I'm reading you right this appears to be just a problem on yours..
when you say decides to register from Cart - I would think 99% of VM installs work this way - it's normal - most shop owners don't show any other way to register except in the cart during the purchase

Or am I not understanding you correctly?
Title: Re: Register from cart, order not saved in user account?
Post by: EvanGR on February 26, 2015, 16:06:59 PM
GJC, here are the steps to reproduce the problem...

[J2.5.27 + VM 2.6.14, clean install from the VM package]


1. Make sure default Joomla user settings i.e. Registered users have to activate their account after registration (either via an email link, or via administrator activation)

2. Put items to cart (make sure you are not logged in, in the front-end).

3. Go to checkout. Go to Bill To and choose to register. Create a new account.

(Virtuemart informs you that one of the advantages of registration is that you maintain an order history, keep this in mind)

4. Complete order.

Now go activate and log-in your new account. Go to orders list... there are no orders. In other words, the order you just made, you made it as guest. It wasn't recorded to the account you made.

How confusing is this?
Title: Re: Register from cart, order not saved in user account?
Post by: jenkinhill on February 26, 2015, 16:40:20 PM
Quote from: EvanGR on February 26, 2015, 16:06:59 PM

1. Make sure default Joomla user settings i.e. Registered users have to activate their account after registration (either via an email link, or via administrator activation)


For a store? That is something I have never done - and never will do. The aim is to allow customers to buy quickly and easily, not to have to go through hoops.

AFAIK what you describe has always been the way VM works. Those who need registration confirmation, for whatever reason, can have a menu link/prompt to pre-register, and make the add to cart hidden unless the shopper is registered and logged in.
Title: Re: Register from cart, order not saved in user account?
Post by: GJC Web Design on February 26, 2015, 17:06:23 PM
Quote1. Make sure default Joomla user settings i.e. Registered users have to activate their account after registration (either via an email link, or via administrator activation)

Exactly - if you do this you will loose 90% of your customers -- why on earth would you do this?????

To achieve what?  So I'm a spammer/hacker/****hole - I put something in the cart - register - receive the auth. email to my 100's of email addresses i have - and I authenticate ..  so what was the point? Now I send you my custard messages...

Rest assured  - a hacker/spammer/****hole has far more patience and tech ability than most of your potential customers

Don't you want their money?
Title: Re: Register from cart, order not saved in user account?
Post by: EvanGR on February 26, 2015, 18:12:16 PM
Thanks guys, I appreciate the feedback.