VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Development & Testing => Topic started by: gba on April 15, 2015, 16:45:18 PM

Title: [SOLVED] TOS problem in checkout
Post by: gba on April 15, 2015, 16:45:18 PM
Hi all!

I am facing following issue in VM3.0.4:
I have activated 'One-Page-Checkout'.
In config the setting 'Agree to TOS for every order' is set to true.
Altough in the cart TOS is not checked, I can make an order.

Can anyone confirm this behaviour?

Kind regards,
Gerald
Title: Re: TOS problem in checkout
Post by: gba on May 26, 2015, 13:48:04 PM
Hi again!

I am using VM3.0.9 now.
But still I am facing the issue described above.
Also with FE template Beez5.

Please let me know, if you can confirm that or not - thanks a lot in advance!

Kind regards,
Gerald

EDIT:
The same issue appears also in the current fullpackage installation (VM3.0.9 and Joomla!2.5.28).
Here is the test installation with this version: http://vt2.gb-s.at/ (http://vt2.gb-s.at/)
Title: Re: TOS problem in checkout
Post by: jenkinhill on May 26, 2015, 15:10:56 PM
No I cannot confirm that. Make sure the shopper fields Agreed and TOS are set to required and that the Default value is blank or zero.
Title: Re: TOS problem in checkout
Post by: gba on May 26, 2015, 16:59:43 PM
Hi Kelvyn!

Thank you for your quick reply!
TOS and Agreed are required, the default value is blank with each of them. (see attached ss02.jpg)
When I do not check 'Terms of service' in checkout and click 'Check out now', VM should cry out, shouldn't it? (see attached ss03.jpg)
But instead VM shows the billing address page. (see attached ss04.jpg).
You can try it yourself in the stated above installation.

What do you think about that?

Kind regards,
Gerald

Title: Re: TOS problem in checkout
Post by: jenkinhill on May 26, 2015, 17:39:00 PM
The only difference I see is that I have set Agreed to Show in cart form. This is what I get, also with the VM/J package & VMBeez template.
Title: Re: TOS problem in checkout
Post by: gba on June 01, 2015, 16:07:22 PM
Hi!

'Show in cart form' is now activated, too.
Now I noticed, that the TOS message appears indeed, but after clicking i.e. 'Checkout as guest' on the address page.
The check should be done before proceeding to the address page!

Kind regards,
Gerald
Title: Re: TOS problem in checkout
Post by: jenkinhill on June 01, 2015, 17:58:04 PM
No, it is legally required to be the last action on confirming the purchase in many countries.
Title: Re: TOS problem in checkout
Post by: gba on June 02, 2015, 13:49:26 PM
Hi!

Partially I can agree with you.
Actually, if VM is configured to require TOS to be accepted, VM should not leave the cart page with the TOS agree checkbox on it at all, not having it set to YES.
Don't you agree?

Kind regards,
Gerald
Title: Re: TOS problem in checkout
Post by: Milbo on June 02, 2015, 14:03:34 PM
It should not leave the as "confirm", but of course as "checkout".
Title: Re: TOS problem in checkout
Post by: gba on June 02, 2015, 14:38:57 PM
Hi!

Thank you.
For possible future readers of this thread, here the default VM workflow:
- Add item to cart
- Do NOT click TOS checkbox, click 'Checkout now'
- You are required to fill in your address data
- When you click i.e. 'Checkout as guest' now, VM correctly requires you to set 'TOS' checkbox to YES
- After this you can 'Confirm Purchase'

Additionally Max pointed me to the feature of custom sublayouts, if the shop should have a different workflow.

Very good job VM team!
Thank you!

Best regards,
Gerald