Thank You Page without Wizard Bar

  • Posts: 109
  • Thank you received: 5
9 years 6 months ago #202279

-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.8.11

Hello, there.

Good evening!

Please could you help answer the following questions I have regarding the "thank you" page?

The questions are:

1) How to have a customized "thank you" page without the wizard bar? I.e. the wizard bar is required for all the other steps in the checkout.
The customized "thank you" page must be generic (i.e. whatever payment method is selected, it will display the same page).
Also, the user must not be allowed to access the "thank you" page by typing in the link in the URL.

2) What is the order of precedence for checkout/end.php, checkout/after_end.php and the payment method "end.php" file (e.g. check_end.php)?

Thanks.

Take care!

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

  • Posts: 13201
  • Thank you received: 2322
9 years 6 months ago #202301

Hi,

1. You can potentially edit the view "checkout / step" and at the top of the code, add something like that:

<?php
if($this->step == '3'){
  $this->display_checkout_bar = false;
}
?>
Please replace "3" by the step number of the thank you page.

2. It depend on the payment method used, and its setting, for example the order status once payment done.
Some methods will use the "checkout / end" page, some others don't. If the payment method got a "xx_end.php" file so this one will be used, else the "checkout / after_end" can be called. This is based too on the return url set in the settings of the payment method.

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

  • Posts: 109
  • Thank you received: 5
9 years 6 months ago #202379

Thanks, Xavier. Your answers are very helpful.

Take care!

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

Time to create page: 0.068 seconds
Powered by Kunena Forum