Checkout work flow & Terms and Conditions

  • Posts: 69
  • Thank you received: 0
12 years 3 months ago #38499

Hi

I have the following checkout work flow


Cart Shipping
Login
Address
Payment
Fields Status

I would like to add terms and conditions before login, if I do it doesnt invoke until after the payment option screen, when I am then returned back to the start of checkout (cart).

I have tried adding (secondary option) after payment but I am still returned to start of checkout (cart).

Is it possible to have it just return back to the terms and conditions screen until the box is ticked ?

Thanks

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

  • Posts: 81662
  • Thank you received: 13092
  • MODERATOR
12 years 3 months ago #38647

Hi,

When we test on our end, the system returns to the correct step when the user didn't tick the box.


If you want to stop the user immediately on the terms view, you will have to edit the file components/com_hikashop/controllers/checkout.php and add the line:
return $this->check_terms();
after the line:
$app->setUserState( HIKASHOP_COMPONENT.'.checkout_terms', JRequest::getInt('hikashop_checkout_terms',0) );

The following user(s) said Thank You: Pit Pony

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

Time to create page: 0.058 seconds
Powered by Kunena Forum