Highlighting incomplete fields in checkout process

  • Posts: 7
  • Thank you received: 0
12 years 9 months ago #45838

When going through the checkout, if a user does not enter his credit card information or doesn't check the box accepting our terms of service, he is simple brought back to the page to the checkout page and it isn't clear what is missing. Is there a way of adding a message such as "Please enter your credit card information" or "Please accept our TOS" when the user is returned to the page because of a field error?

Thanks
Tim

Please Log in or Create an account to join the conversation.

  • Posts: 83103
  • Thank you received: 13418
  • MODERATOR
12 years 9 months ago #46049

There are actually such messages. If you don't see them, it's probably because of your template:
www.hikashop.com/en/support/documentatio...issues.html#messages

Please Log in or Create an account to join the conversation.

  • Posts: 7
  • Thank you received: 0
12 years 9 months ago #46168

Yes, once I configured more payment methods I saw the messages at the top. It seem to be a problem when you require the user accepts your terms of service with payment methods such as Paypal, Google Checkout or any of the others when you don't have to enter any payment credentials on the checkout screen. If you don't accept the terms of service on these payment methods then it brings you back to the screen as it should, but there is no "Please accept the terms and conditions before proceeding".

Please Log in or Create an account to join the conversation.

  • Posts: 83103
  • Thank you received: 13418
  • MODERATOR
12 years 9 months ago #46283

Could you try to add the code:

if(!$this->cart_update){
			return $this->check_terms();
		}
after the code:
$app->setUserState( HIKASHOP_COMPONENT.'.checkout_terms', JRequest::getInt('hikashop_checkout_terms',0) );
in the file components/com_hikashop/controllers/checkout.php ?

That should display the message not only at the end of the checkout but also after the terms checkbox step and so works more logically with your checkout workflow and settings.

Please Log in or Create an account to join the conversation.

  • Posts: 7
  • Thank you received: 0
12 years 9 months ago #46499

Finally had a chance to try it. I like the original code better. I found it is only an issue if you are already registered and logged in, which 95% of our customers are not. Thanks for the information.

Please Log in or Create an account to join the conversation.

Time to create page: 0.060 seconds
Powered by Kunena Forum