"accept terms and conditions" showing by default

  • Posts: 64
  • Thank you received: 5
11 years 9 months ago #122443

-- url of the page with the problem -- : littlelizzy.nl
-- HikaShop version -- : 2.2.1
-- Joomla version -- : 3.1.5
-- PHP version -- : x.x.x
-- Browser(s) name and version -- : chrome
-- Error-message(debug-mod must be tuned on) -- : Error_message

Hi,

When a client goes to checkout, he/she gets a joomla warning "accept terms and conditions" by default at the top of the checkout-page.

Can I get rid of that somehow?

Thanks.

Attachments:

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

  • Posts: 64
  • Thank you received: 5
11 years 8 months ago #122475

Additional info:

This happens after putting in the email and address (pay as guest) and then click on the continue button. You do get on the checkout-page. But with this warning at the top..

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

  • Posts: 26251
  • Thank you received: 4040
  • MODERATOR
11 years 8 months ago #122551

Hi,

You should have a checkbox for the terms and conditions in your checkout workflow.
If the user do not check it, the checkout won't go on the next step and it will display this warning.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 64
  • Thank you received: 5
11 years 8 months ago #122587

Thanks. Yes I got that, but this warning is just showing up before submitting the order.. So rightaway if you continue to checkout.

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

  • Posts: 12953
  • Thank you received: 1778
11 years 8 months ago #122644

Hi,
Can you show me a screenshots of how did you configured your checkout workflow through "Hikashop->System->Configuration->'Checkout'" ?

Last edit: 11 years 8 months ago by Mohamed Thelji.

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

  • Posts: 64
  • Thank you received: 5
11 years 8 months ago #122826

Yes here it is. I tried some different pages at "force menu on checkout" but no fix. It's set to none now.
Thanks.

Attachments:

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

  • Posts: 2334
  • Thank you received: 403
11 years 8 months ago #122838

Hi there,

Could you please give us more details about your issue? I'm not sure if the message display on the right page but not at the right place or if it display on a page where it should not be.
You also try a different workflow and tell us if it changes something.

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

  • Posts: 64
  • Thank you received: 5
11 years 8 months ago #123031

It's in the right place. On the checkout-page. But it should only show up if someone orders something and forgets to checkmark the t and c box. If you want to you can check it on the site, then it makes sense. It happens right after filling out your address.

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

  • Posts: 12953
  • Thank you received: 1778
11 years 8 months ago #123050

And can you try it with the "Auto select default shipping and payment methods" option of your "Hikashop->System->Configuration->Checkout" page, set to YES ?

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

  • Posts: 64
  • Thank you received: 5
11 years 8 months ago #123068

It was set to YES. I tried NO as well, no luck. It could be something in this area though.

These are the current settings (image)

Attachments:

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

  • Posts: 26251
  • Thank you received: 4040
  • MODERATOR
11 years 8 months ago #123124

Hi,

Can you please send me a private message with a link to your store and an test account so I will first see your problem and try to reproduce it.

Thanks,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 26251
  • Thank you received: 4040
  • MODERATOR
11 years 8 months ago #123268

Hi,

Please edit the file "components/com_hikashop/controllers/checkout.php" and replace the code

	function before_login(){
		if(count($this->controllers) == 1) {
			$user = JFactory::getUser();
			$app = JFactory::getApplication();
			$user_id = $app->getUserState( HIKASHOP_COMPONENT.'.user_id' );
			if(!$user->guest || $user_id){
				JRequest::setVar('step', $this->current+1);
By
	function before_login(){
		if(count($this->controllers) == 1) {
			$user = JFactory::getUser();
			$app = JFactory::getApplication();
			$user_id = $app->getUserState( HIKASHOP_COMPONENT.'.user_id' );
			if(!$user->guest || $user_id){
				//skip the login screen if already logged in
				JRequest::setVar('step', $this->current);
It will fix the problem.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: Dafilla

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

  • Posts: 64
  • Thank you received: 5
11 years 8 months ago #123316

Yes that did the job.
Thanks again for all the effort.

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

Time to create page: 0.099 seconds
Powered by Kunena Forum