About
This contribution allows to create Customers Groups, and to bind a discount rate to them. The administrator can set groups, group's discount, and bind customers to groups. This contribution adds a Discount Rate per Customers, the administrator can easily edit discounts from the administration Customers panel. Every Customers has it's own discount rate. It is also possible to select the special prices for customers groups or single customers. The products don't have only 1 price, but it is possible to set multiple prices for products. The administrator can create groups of users. Every users' group is associated to one product price. Every user has its own group associated. Every products manufacture will have a discount for a groups. The number of product prices can be set from: "Configuration / My Store/ Number of prices per product". Note: trying to reduce this value causes the automatic set of default price (price 1) of all those groups for which the reduction has caused an inconsistency with the prices. For ex.: if a group has price 3 and "Number of prices per product" is set to 2, this group will have as a new price the default price (price 1). Pricing policies: temp_product_price = IF the customer is in a group with price X IF price X for selected product exist = temp_product_price X ELSE = temp_product_price 1 (default price) ELSE = temp_product_price 1 (default price) product price = IF exist(customer special price) = customer special price ELSE IF exist(customer group special price) = customer group special price ELSE IF exist(special price) = special price ELSE IF exist(manufacturer discount for customer) = temp_product_price + manufacturer discount ELSE IF exist(manufacturer discount for customer's group) = temp_product_price + manufacturer discount ELSE IF exist(manufacturer discount) = temp_product_price + manufacturer discount ELSE = temp_product_price + customer discount + customer's group discount Prices priority is here visualized. For example suppose that a special price "X" is inserted for the product "PRODUCT" only for the customers "PINCO", bind to group "GROUP", and also a special price "Y" is insert for the product "PRODUCT" only for the group "GROUP". Price for customers "PINCO" of the product "PRODUCT" will be "X", not "Y"!. Other Features: - every user can see the personalized prices calculated using the pricing policies above. - administrator can: . add and set users groups - every group has: . a discount rate (only administrator can set the discount value) . if present a special personal price per product - every customers: . a discount rate (only administrator can set the discount value) . a group (only administrator can bind customers to groups) . if present a special personal price per product - admin can choose if a default price should be accessible by guests. True/false choice for "allow guest to see prices" property in admin >> configuration >> my store. prices displayed for guest will not be computed, only "guest discount", from admin >> configuration >> my store, will change this prices.














