News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

terms of service message show show at the cart page

Started by rizecorp, September 25, 2013, 06:35:14 AM

Previous topic - Next topic

rizecorp

Hi All,

The message "Please accept the terms of service to confirm" show at the cart page even before We click the check out now button.
http://www.example.com/index.php?option=com_virtuemart&view=cart&Itemid=266

Please let me know how to stop that message before clicking on the "check out now" button

My configuration on checkout tab are below:
One Page Checkout enabled                                   --> No
Show checkout steps                                              --> Yes
Enable Automatic Selected Shipment?                    --> Yes
Enable Automatic Selected Payment?                     --> Yes
Must agree to Terms of Service on EVERY ORDER?  --> No
Show Terms of Service on the cart/checkout?         --> Yes
On checkout, ask for registration                            --> Yes
Only registered users can checkout                        --> Yes

Version Details:
PHP Version: 5.3.23
MySQL ver:   5.5.30
Virtuemart ver: 2.0.22b

sohopros

Does someone has some input for this thread.
We need to prevent this message from showing on the Modal System Messages plugin every time open the checkout page.

http://thekrotek.com/index.php?option=com_content&view=article&id=5:modal-system-messages-2-0&catid=2&Itemid=120

Thanks,
SOHO Prospecting Team

Maxim Pishnyak

Quote from: rizecorp on September 25, 2013, 06:35:14 AM
The message "Please accept the terms of service to confirm" show at the cart page even before We click the check out now button.
Forum knows how to disable this checkbox at all. Did you look at those threads?
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

sohopros

We have to keep the check box for legal reasons. We just need it to no trigger the message every time we get to the checkout process. For the reasons descried earlier.

Thanks,
SOHO Prospecting Team

jenkinhill

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

sohopros

Hi jenkinhill!

Having a blank message is not a solution for us, for legal reasons we need to have the user to accept the terms. What we don't understand is why the message is triggered once we access the cart page. It should only display when pressing the checkout button.

1 - Is there any reason why the message gets triggered once the cart page is access?
2 - How can we prevent from showing when access the cart page and have it display when clicking the checkout button (when applicable)?

Thanks,
SOHO Prospecting Team

Maxim Pishnyak

So you need to correct those rows in components\com_virtuemart\helpers\cart.php
with vminfo and COM_VIRTUEMART_CART_PLEASE_ACCEPT_TOS
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

sohopros

Is this a known bug then?  Obviously, the message is being triggered at the wrong process point.  The message is only appropriate when the page is submitted without the box being checked.  Is there a prescribed hack to fix this?  We are quite leery of hacking shopping cart software.

jenkinhill

I have now had time to try to reproduce this. Using the current version, VM2.0.24 on J2.4.14 with no overrides, the message before the "checkout now" button is " Click here to read terms of service and check the box to accept them" which is correct. Not the message that you describe, "Please accept the terms of service to confirm"
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

sohopros

Maybe we didn't explain the fully.  The problem is not what that message says, it is the fact that VM is sending the message to the queue when the cart page is loaded and it is therefore triggering our modal message window to show it.  The proper timing for a reminder to accept ts and cs is when the user proceeds to the checkout process, if the acceptance box is not already checked.

sohopros

Still hoping for help on this:

When a shopper goes to their cart, they see the message: "Please accept the terms of service to confirm."  We don't want this message to be queued unless the shopper clicks Check out now without checking the Terms and Conditions checkbox, which is the proper point in the workflow to queue this message.  How do we fix this?

nhinzky

I have the same problem, have you found a solution to this? anyone?

sohopros

we can't seem to find anyone that even demonstrates an understanding of the problem, much less offer any help.   :(

abc123

#13
I also have this problem.
The things is when i go to cart it always shows message that i need to accept tos.
This message should only be shown if i checkout my cart and didn't check the tos box, but it shows already when i enter cart.


If i don't check tos box and try to checkout the messege is shown twice.


So it's not the string it's that it shows when i access cart rather then when i checkout with unchecked tos agreement.

PS. My pictures are in non english (swedish) but the problem is the same.

Maxim Pishnyak

You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart