Contributions
Discount Groups
this contribution allows admins to create and manage customers groups and discount associated to those groups. all discount are percentage (positive integer). A group has a default discount and can be associated to specific category discounts. All discounts are applied to the customer's pages automatically. the customers will not know the group in wich they're in nor the discount percentage.
Expand All / Collapse All
I changed something to make it easier to install
All credits go to Enrico Drusiani and jbaakko
In admin/customers.php
Find
$sql_data_array = array('customers_firstname' => $customers_firstname,
'customers_lastname' => $customers_lastname,
'customers_email_address' => $customers_email_address,
'customers_telephone' => $customers_telephone,
'customers_fax' => $customers_fax,
'customers_newsletter' => $customers_newsletter);
Replace
$sql_data_array = array('customers_firstname' => $customers_firstname,
'customers_lastname' => $customers_lastname,
'customers_email_address' => $customers_email_address,
'customers_telephone' => $customers_telephone,
'customers_fax' => $customers_fax,
'customers_newsletter' => $customers_newsletter,
'customers_groups_id' => $customers_groups_id);
-Added previous bug fix identified by me
-Proper English folder
-English translation added to admin/customers_groups.php to some non-variables.
-Original Italian file included
**Choose IT or EN and rename file less IT or EN.
I had a bug when using the Groups page, and I think I pixed it. Updated customers_groups.php file included.
some Bugfixes in showing products listed by manufacturer. Now the products shown automatically report the best category discount from the categories they're in.
the INSTALL file is version 1.1
for modification from 1.0 to 1.1 see CHANGELOG
this contribution allows admins to create and manage customers groups and discount associated to those groups. all discount are percentage (positive integer). A group has a default discount and can be associated to specific category discounts. All discounts are applied to the customer's pages automatically. the customers will not know the group in wich they're in nor the discount percentage.
Note: Contributions are used at own risk.