How do I show an order receipt after checkout?

  • Posts: 2
  • Thank you received: 0
11 years 11 months ago #79934

Once I enter the payment information and hit next.. I get a message that says "Thank you for your purchase" This looks unprofessional. How can I show my customers a receipt page with their order number.. Something like the Summary of your order email.. Do I have to add something to the checkout workflow?

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

  • Posts: 13201
  • Thank you received: 2322
11 years 11 months ago #79990

Hi,

You have to edit the content of your paymentMethod_end.php file to add the wanted informations.
An example is available in the check payment method plugin, you can have a look on the file "check_end.php".

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

  • Posts: 2
  • Thank you received: 0
11 years 11 months ago #80111

I want to show a purchase receipt.. is there a way I can do this?

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

  • Posts: 13201
  • Thank you received: 2322
11 years 11 months ago #80161

Hi,

What you can do is copy the content of the file "order / invoice" in HikaShop > Display > Views (backend template) to the view "checkout / after_end" (frontend template).
By this way, you will have the invoice display in the view called after the payment. You will have to edit the variables, all the informations should be stored in the object "$this->order";

Else you can change the return url in the plugin configuration to redirect to the view displaying the order of the customer (via a menu user control panel).
Or add a redirection in the page "checkout / after_end" to redirect to this same page.

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

Time to create page: 0.067 seconds
Powered by Kunena Forum