VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: eclipsada on August 31, 2017, 17:15:14 PM

Title: Ask for login on cart's page and checkout
Post by: eclipsada on August 31, 2017, 17:15:14 PM
Virtuemart 3.2.4
Joomla 3.7.4
PHP 3.7.11

Hi,
This may be a very basic question, but I can't figure it out.
VM1 version, in "view cart" page use to show only the list of added products. If a client chose to checkout, it was sent to a page with the options "Already registered? Login here" and "new member? Please register".

In the version I'm using (3.2.2), cart's page seems a bit confusing for registered users.
A user adds a product to cart; goes to cart page. In the top there is a field to login and another one to add/edit a shipment and billing address. However, one may think that needs to add the address again. Same thing when "checking out now", because users are also sent to a page to add/edit billing address information.

Is it possible to have an option like in VM1 (where the user had clearly to choose between one or another)?

Thank you.
Title: Re: Ask for login on cart's page and checkout
Post by: jenkinhill on August 31, 2017, 17:48:17 PM
You can lay out the page however you want to using template overrides, or maybe use one of the many onepage checkout plugins.
Title: Re: Ask for login on cart's page and checkout
Post by: eclipsada on August 31, 2017, 19:51:43 PM
Thank you for your answer.

I can't code, so make that kind of override is not that easy for me.
I'll check the existing plugins.
Title: Re: Ask for login on cart's page and checkout
Post by: Jumbo! on August 31, 2017, 20:41:08 PM
You can take a look at VP One Page Checkout - https://www.virtueplanet.com/extensions/vp-one-page-checkout Style-1 and Style-2 layouts of the plugin gives you exactly what you want.
Title: Re: Ask for login on cart's page and checkout
Post by: eclipsada on September 01, 2017, 16:07:37 PM
Thank you Jumbo!. I was precisely taking a look at that one.
I'm just sorry that VM lost this feature.
Title: Re: Ask for login on cart's page and checkout
Post by: Milbo on September 02, 2017, 23:41:10 PM
Actually, maybe we need just a bit more description. Of course the upper area is meant for this job. And of course, I invested a lot ours in vm2 and some in vm3 so that all data between account and cart is "the same".
Title: Re: Ask for login on cart's page and checkout
Post by: eclipsada on September 04, 2017, 16:32:25 PM
Thank you, Milbo.

Take this website as an example (if there isn't any product please add one first):
http://www.petmanias.com/index.php?option=com_virtuemart&page=shop.cart&product_id=6582&Itemid=64
Choose "terminar encomenda" (checkout). From there you are taken to a page with two options: login or create new account.

For me, this process is less confuse for users: cart view first, then two clearly different options to choose from and what each one is suppose to do.
I think is redundant to have login/create user in cart's page, where the checkout button takes them to a page with those options anyway.
From my users behaviour I noticed that the ideal should keep de VM1 process: review cart > login or create account > shipment options.

Nevertheless, I was able to improve a bit my cart view page. I added a "Already registered?" before login section and "Not registered yet?" before the add/edit shipment address section.
I'll also try to remove those sections from cart's page, making them only available when customers press "checkout", but I still need to figure out how to take users back to the cart after login (but only if they login from checkout page).

So the ideal would be: review cart -> login -> shipment options.
Title: Re: Ask for login on cart's page and checkout
Post by: Studio 42 on September 05, 2017, 00:17:16 AM
You can use a javascript and hide the account creation and display the login part only with a button that show the account creation on click.
Check how amazon or ebay do this for eg.