hi friends.
how to make unsafe customer red color on order list ?
Hiii
In admin customer list i can do something like this for you
If there is any customer is unsafe then that line will in red color
Otherwise it comes with normal white as usavavl
Thanks
Sachin
Attachments
unsafe customer in red in customer list in admin - unsafe customer.png (17.57 KiB) Viewed 1713 times
Hi
Go to admin -> controller -> customer and open the customer.php file
then search the below code in the file
$data['customers'][] = array(
Then add the below line under that line
'safe' => $result['safe'],
Now go to admin -> view -> template -> customer and open the customer_list.tpl
Then search the below code in the file
<?php foreach ($customers as $customer) { ?>
Under that line you will find on <tr> tag just replace that <tr> tag with the below code
<?php if($customer['safe'] == '0') { ?>
<tr style="background:#F00;color:#fff">
<?php } else { ?>
</tr>
<?php } ?>
All The best
taking the back up of the file is a good habit to do any custom
Thanks
Sachin
Hii
Well For That i need some more custom for the order
Now i am leave for a day now from my office desktop so...
But i Will Surely Help You by 2marrow Morning
Keep Checking the Post
Thanks
Sachin
Who is online
Users browsing this forum: Ahrefs [Bot] and 20 guests