matogolf Posted September 16, 2017 Share Posted September 16, 2017 Hello, how can I add some icon (or text) to PDF column in orders list page? I would like to add some icon or something (it does not matter what. just some indication) to PDF column after I click on Return products or Partial refund in order detail.So when I click on e.g. Partial refund then it should indicate that some refund happened on orders list page in the row of the order... I don't know which files I should edit or override. Thanks! Link to comment Share on other sites More sharing options...
NemoPS Posted September 17, 2017 Share Posted September 17, 2017 Interesting question. It's not too complex but definitely hard to explain. It would take an override of the adminOrdersController class. You'd have to go over the products list, see if any has been returned or refunded, and trigger the new column's content.I might come up with a tut about it next week or so 1 Link to comment Share on other sites More sharing options...
matogolf Posted September 17, 2017 Author Share Posted September 17, 2017 Ok thanks! Link to comment Share on other sites More sharing options...
matogolf Posted September 25, 2017 Author Share Posted September 25, 2017 up? Link to comment Share on other sites More sharing options...
NemoPS Posted September 27, 2017 Share Posted September 27, 2017 Hey,I haven't had enough time to write it yet, so I guess it will be for next week Link to comment Share on other sites More sharing options...
NemoPS Posted October 2, 2017 Share Posted October 2, 2017 Alright, here it is. It works with returned products though, not with partial refundshttp://nemops.com/thirtybees-prestashop-mark-returned-orders/ Link to comment Share on other sites More sharing options...
matogolf Posted October 4, 2017 Author Share Posted October 4, 2017 Ok thanks! Nice and simple. What is problem with partial refunds? It would be even better if it would work with partial refunds too. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now