gdfwilliams Posted January 20, 2006 Posted January 20, 2006 (edited) I recently installed the Quantity Price Breaks Per Product contribution. The installation was well documented and went smoothly. After installing it, though, I've discovered a need to broaden its function. While it works as advertised on individual products, I want to apply quantity discounts across products in a category. In my case, I have a category called "Soaps" that contains 6 bars of scented soap. Each sells for $4, but you can get 3 for $10. (Really, it's 3 for $9.99, $3.33 each when qty >= 3) My challenge is that Qty Price Breaks applies the discounted only price when 3 or more of the same product is purchased, regardless of whether the other products in the cart also share the same qantity discount. 1 Soap A/B/C = $12 3 Soap A/B/C = $9.99 ($3.33 each) 1 Soap A + 1 Soap B + 1 Soap C ------------- TOTAL: $12 (I want to make it $9.99) I'm developing a site for a friend and really want to address this issue. We have some (limited) development funds, so I MIGHT farm it out, but I'll try getting my hands dirty if anyone has any suggestions on how best to start. If you have any ideas to get me started, or if you'd like to propose a quote, I'll contibute all development back to OSC. Thanks, GDW Edited January 20, 2006 by gdfwilliams Quote
Jan Zonjee Posted January 22, 2006 Posted January 22, 2006 If you have any ideas to get me started, or if you'd like to propose a quote, I'll contibute all development back to OSC. Old news. Directions on how to do that are allready in Quantity Price Breaks for Separate Pricing Per Customer although there are some errors in it: There is one in the class PriceFormatter and the other one in includes/classes/shopping_cart.php around line 50 (only a problem when you work with attributes, but still). Quote
gdfwilliams Posted January 24, 2006 Author Posted January 24, 2006 Janz, Thanks so much for your help. I was able to hack the SPPC Qty Price Breaks into my site. Question: I'd like to exclude a product within a category when its SPECIAL price < its Qty Price Break price. Thoughts? Thank you again. GDW Quote
rickylam Posted July 22, 2006 Posted July 22, 2006 would be great if your improvement is available ! I have a problem even installing the contribution. Please help ...... Notice: Undefined index: submit in d:\inet\catalog\fastpricebreak.php on line 37 Database Parsing.....Please wait.... Notice: Use of undefined constant localhost - assumed 'localhost' in d:\inet\catalog\fastpricebreak.php on line 68 Price Break Easy Updater Thanks !! Ricky PS. I am using win 2K IIS Quote
Jan Zonjee Posted July 22, 2006 Posted July 22, 2006 I have a problem even installing the contribution. Please help ...... Notice: Undefined index: submit in d:\inet\catalog\fastpricebreak.php on line 37 Database Parsing.....Please wait.... Notice: Use of undefined constant localhost - assumed 'localhost' in d:\inet\catalog\fastpricebreak.php on line 68 Price Break Easy Updater You were not installing the Quantity Price Breaks Per Product contribution, you were installing a terribly insecure script that is supposed to be used to update prices and price breaks for a large number of products in one go (last addition to Quantity Price Breaks Per Product page, July 21, 2006). Anyone in the world who finds out about the name and place of your admin folder and asks for the file fastpricebreak.php will get this file and the possibility to empty and or subtly change (more insidious) your prices. Better leave it alone. Why somebody wants to promote his shop so blatantly in this way is something I don't understand either <_< I don't think there is a thread for the QPBPB contribution in the Contribution Support forum but your question shouldn't be in this thread either, really. Quote
rickylam Posted July 22, 2006 Posted July 22, 2006 You were not installing the Quantity Price Breaks Per Product contribution, you were installing a terribly insecure script that is supposed to be used to update prices and price breaks for a large number of products in one go (last addition to Quantity Price Breaks Per Product page, July 21, 2006). Anyone in the world who finds out about the name and place of your admin folder and asks for the file fastpricebreak.php will get this file and the possibility to empty and or subtly change (more insidious) your prices. Better leave it alone. Why somebody wants to promote his shop so blatantly in this way is something I don't understand either <_< I don't think there is a thread for the QPBPB contribution in the Contribution Support forum but your question shouldn't be in this thread either, really. Thank You very much for your comments. I see my error now. Thanks !! Ricky Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.