Order Counter on Admin Orders List
I am looking for some coding help from my fellow X-Carters. I am trying to incorporate a feature that on the surface doesn't seem very advanced, however my PHP skills are lacking. Basically I was wanting to be able to add a column to the "main/orders_list.tpl" that is a visual indication as to whether or not that particular customer has ordered before. I am trying to reference the {{COUNT_ORDERS}} function that counts orders to determine this, but I cannot find its values in any database.
Any help would be extremely appreciated.
Thank you all for your contributions to this forum, you have no idea how much threads in these forums have helped me the past few years in customizing the product we all love and love to hate, X-Cart.
Michael
__________________
Michael
Development
X-Cart Gold Plus v4.7.12
- php 7.3
- reBOOT reDUX
- other goodies
X-Cart Gold v4.7.7
- reBOOT Template
- XPayments 3.0.2
- Abandoned Cart Reminder
- BCSE Reward Points
- BCSE Stock Notify
- XPDF Invoices
|