File Upload function after checkout

  • Posts: 23
  • Thank you received: 0
11 years 7 months ago #97010

Hi,

I'm very new learner to php and a 1st timer to the eCommerce like Hikashop. Here's the situation:

I just added a new custom field known as: 'Bank Slip' into the table 'Order'.



The goal is to allow customer to upload their bank slip so that we can confirm the payment.

It appears in the additional field and works as expected in the shopping cart before checkout:



Here's my requirement:

When I click into any 1 of the orders:


How can I make the 'Bank Slip' custom field will appear ONLY in the order section after checkout instead of before checkout.


It is more convenient for my customer who made the payment after checkout are able to upload their bank slip.

I would like to know which file I should look into for code change, and hopefully specifically on which line of codes.
Thanks in advance.

Last edit: 11 years 7 months ago by renycheah.

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

  • Posts: 82785
  • Thank you received: 13353
  • MODERATOR
11 years 7 months ago #97054

Removing it from the checkout is easy. Simply remove the "fields" view from the checkout workflow option of the configuration.

However, adding it to the order details page will be complex. You can do it in the file "show" of the view "order" via the menu Display>Views for the display of the field itself, and then you will also need to handle the saving of the field value in the components/com_hikashop/controllers/order.php file.
I would recommend you to find a third party developer to help you with that project as it is not so easy as you seam to believe.

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

Time to create page: 0.055 seconds
Powered by Kunena Forum