How do I get current status of all customers GV accounts? I need to know how much I'm in for.
How do I get current status of all customers GV accounts? I need to know how much I'm in for.
In your Zen Cart Admin, go to Customers ... Customers ... and all GV balances are listed there for your customers ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Correct answer, but not helpful, as it would require me to manually count each value to be able to know "how much I'm in for".
Around line 98 of /admin/index.php you have:
Add the following after it:Code:echo '<div class="row"><span class="left">' . BOX_ENTRY_SALEMAKER_ACTIVE . '</span><span class="rigth"> ' . $salemaker_act->fields['count']. '</span></div>';
Now the amount will show on your admin home page.Code:$gvresult = $db->Execute("SELECT sum(amount) as gvsum FROM " . TABLE_COUPON_GV_CUSTOMER); if ($gvresult->RecordCount()) { require(DIR_WS_CLASSES . 'currencies.php'); $currencies = new currencies(); echo '<div class="row"><span class="left">' . 'GV Queue Balance' . '</span><span class="rigth"> ' . $currencies->format($gvresult->fields['gvsum']) . '</span></div>'; }
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Just what the doctor ordered - thanks.
Bookmarks