wahmkow Posted September 27, 2023 Share Posted September 27, 2023 Hello, I would like to make some changes to the order list in the backend. My customer would like to show the price with a red background in case the order has not been paid, but only for certain statuses. So far I have found out, that there seems to be no specific template for the order list. I assume that a generic list template is used for that. I also found out, that the green background is done by some kind of batch-success css class. I believe that there is also a batch-error class which I guess is red. The question is where to find the php code in order to feed a different css class into the template. I was not able to find that. I would appreciate it a lot if someone can point me in the right direction. Thanks and best regards, Jörg PS: I'm using prestashop version 8.0.4 Link to comment Share on other sites More sharing options...
musicmaster Posted September 27, 2023 Share Posted September 27, 2023 I don't understand your question. What you want is already standard functionality. The background of the total amount is colored when the order was paid. Link to comment Share on other sites More sharing options...
wahmkow Posted September 28, 2023 Author Share Posted September 28, 2023 10 hours ago, musicmaster said: I don't understand your question. What you want is already standard functionality. The background of the total amount is colored when the order was paid. It is the exact opposite situation. My client wants the price to be red in case the order is NOT yet paid. 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