New Zenner
- Join Date:
- Feb 2008
- Posts:
- 6
- Plugin Contributions:
- 0
Group pricing field in invoice
First thanks for Zen Cart and the great support forum!!!
I have also installed and using mod Group Pricing (per Item) with no problems.
I would now like the field customers_group_pricing from TABLE_CUSTOMERS to be visible inside admin orders or just the admin printable** invoice.**
The reason is that the admin should know if the order of the particular customer belongs to a discounted Group pricing group.
It seems the affected files are admin/invoice.php
and maybe admin/includes/classes/order.php
admin/orders.php
The field customers_group_pricing of table CUSTOMERS is what I need to be printed on the invoice (since it is the id of the group. For example Group A has id 2, no discount group customers have id 0).
My problem is that table ORDERS holds the information orders_id and customers_id but it doesn't hold the field customers_group_pricing. So I do not know how to reference the customers_group_pricing from table CUSTOMERS inside admin/invoice.php