Jump to content

Customer Order Detail Not Working On Click the custom field I added in Order History


vbkharche

Recommended Posts

Hi guys,

we are using " PS version is 1.7.5 "

How we can render custom field value on History List (order history).

steps for we tried 

1)we need to display my custom field (custom code)on  customer order history.

image.png.7742669e80ee3cdf43e8250484d3f47f.png

 2) when we tried to display on back end (Admin side) it display the code.

3)we define variable in Order.php class "hq_order_id" also add the function in OrderDetailLazyArray.php and OrderLazyArray.php

 4)It get the in History.tpl file "hq_order_id" when I print_r it display in array we added the code histroy.tpl file are

" <td>{$order.details.hq_order_id}</td>"

image.png.017be2b442f0272691242492fdbe41b3.png

Please Help me

Thanks

Edited by vbkharche (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...