When I try to assign customers to a coupon and click on the Customers drop down, the list I get to choose from consists of user names. Most of the user names are not identifiable. How do I get the Customer Add to bring up the actual customer names?
Choose customers only lists user names, not customer names
- Hello,
You can do it by customizing the code.
If using virtuemart
www/administrator/components/com_awocoupon/helpers/estore/virtuemart/helper.php, around line 269 is this:<?php
$sql = 'SELECT id,username as label FROM #__users
?>
You could change it to something like this<?php
$sql = 'SELECT id,name as label FROM #__users
?> - There is no need for the hack in the latest version, AwoCoupon 2.1.9.