PDA

View Full Version : Seperate Pricing Per Customer



michael_s
04-14-2008, 01:00 PM
Forgot to replace the following modified files in the package for 4.2.1 (download removed - this replaces it):

admin/orders.php
admin/products_attributes.php (the one that changed so much)
admin/specials.php
admin/includes/filenames.php

Version 4.2.1a is a full package and the included modified files are based on osC v2.2 Release Candidate 2a (December 2007).

The only new functionality is support for making order_total modules customer group selectable.

Changes in:
- admin/products_attributes.php In RC2 there were quite a few changes made to fix a register globals issue in RC1 for the pagination. Therefore a number of changes in the instructions for adding the code for SPPC needed to be made.
- includes/modules/featured.php: missed something in a query where products from subsubcategories wouldn't be displayed
- includes/modules/products_listing_col.php updated for bugs, added support for actual attribute price in drop-down
- catalog/includes/classes/order_total.php This is new in 4.2.1: support for making order_total modules customer group selectable.
- admin/customers.php added support for the order_total modules, changed the code for sorting customers (with the arrow icons) and added the text for title tags of the arrows to defines in the language file.
Put the arrow icons in admin/images and renamed them to icon_up.gif and icon_down.gif (there are more contributions out there who use these icons in this way).
Moved the query for existing_customer_groups to just above where the results are fetched (from around line 340 to around line 838).
- admin/customers_groups.php bugfix in code for inserting a new group
Also changed all occurences of $HTTP_POST_VARS to $_POST, $HTTP_GET_VARS to $_GET, and $PHP_SELF to $_SERVER['PHP_SELF']
Changed all occurrences of 'customers_group.php' (in tep_href_link for example) to the more proper way of using FILENAME_CUSTOMERS_GROUPS. The define FILENAME_CUSTOMERS_GROUPS was not in admin/includes/filenames.php yet.
Added support for making order_total modules customer group selectable.
- admin/includes/filenames.php: the define FILENAME_CUSTOMERS_GROUPS was added to it.
- catalog/includes/shopping_cart.php Correction of the way the calculation of price for attributes is done. The code that was changed already in RC1 was not changed in SPPC.

See the included changelog_v421a.txt for a few more details.

Separate Pricing Per Customer (SPPC) Version 4.2.1a


More... (http://addons.oscommerce.com/info/716)