m.n.thomassen Posted March 12, 2008 Posted March 12, 2008 I installed OSCommerce together with SPPC and it works perfect for my customer groups. Byt for several customers i have specific agreements, so i need a kind of 'customers_products' functionality. Customer A has a price X for product A. Customer B has a price Y for product A. If there a solution or contribution for the issue i mentioned above? Thanks, Marcel
Jack_mcs Posted March 12, 2008 Posted March 12, 2008 Create a group for customer of type A and type B and assign the prices accordingly. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
m.n.thomassen Posted March 12, 2008 Author Posted March 12, 2008 Jack, if it was that easy ..... We are talking about 10000 products for about 5 customer groups (50000 rows in products_groups). Thats necessary. But for about 50 customers i have about 100 products customer specific agreements. With then option you mentioned i have to define 50 customer specific customer groups, which means 500000 rows in products_groups. The advantage is that it is what i want, but there are a few disadvantages. 1) More maintenance (can be automated, maybe) 2) Less performance (in theory. I don't have experience with mysql databases of this size on a webserver) 3) More disc-space (in theory. I don't have experience with mysql databases of this size on a webserver) If you think and can confirm that the disadvantages mentioned are due to the fact that i don't have the experience, but in fact are no issue at all, i would be very happy. Thanks, Marcel
Jan Zonjee Posted March 12, 2008 Posted March 12, 2008 I installed OSCommerce together with SPPC and it works perfect for my customer groups. Byt for several customers i have specific agreements, so i need a kind of 'customers_products' functionality. Customer A has a price X for product A. Customer B has a price Y for product A. If there a solution or contribution for the issue i mentioned above? No, it doesn't exist. Should not be too hard on the catalog side to implement but making an admin page to administer this would be ... a challenge.
m.n.thomassen Posted March 14, 2008 Author Posted March 14, 2008 I created a table named products_cusomers, with the fields name customers_id, products_id, customers_price, but because i don't have a lof of experience with php, i would like someone to help/guide me in a few php-files. I suggest: 1) oscommerce/products_new.php 2) oscommerce/includes/classes/products_shopping_chart.php I allready tried to modify the code between // BOF Separate Pricing Per Customer and // EOF Separate Pricing Per Customer but with no succes Thanks, Marcel
Recommended Posts
Archived
This topic is now archived and is closed to further replies.