MikesCS Posted February 25, 2008 Posted February 25, 2008 I am undertaking a rewrite of the product price functions in Oscommerce 2.2. My point of sale program exports the following fields under the respective tables. customers.pos_pricing products.pos_discount1 products.pos_discount2 products.pos_discount3 I am going to attempt to rewrite the code to use the pos_discount# price levels if the customer record has a discount level assigned under pos_pricing. If none is assigned, then the stock retail pricing (products_price) will be used. Looking at the product_info.php code I can rewrite that to display the discount levels fairly easily using some if and else statements. This only accomplishes the display of the discount levels and not the code for the shopping cart, my account/orders page or any of the admin/orders pages. The questions I have for the Oscommerce community is: Are there functions I can rewrite to accomplish this? Will rewriting these functions break other parts of the site? Any advice or tips to help us in our code rewrite would be greatly appreciated. Thanks in advance.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.