This is a discussion on Quantity Price Breaks for Separate Pricing Per Customer within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; This *upgrade* for the basic version of Quantity Price Breaks for SPPC 1.0.2 only has a few changes but might ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| ||||
| ||||
| This *upgrade* for the basic version of Quantity Price Breaks for SPPC 1.0.2 only has a few changes but might make quite a difference in the number of queries once a customer starts adding products to the cart. You need to have installed the basic version of Quantity Price Breaks for SPPC 1.0.2 first! Changes: - added PriceFormatterStore.php as a class/object to store mysql results. For the shopping cart box PriceFormatter is called 5 times per product, each time using 2-3 queries (depending on the customer group). Now only two to three are used for all products in the cart. - changed PriceFormatter to take advantage of PriceFormatterStore (changes in function loadProduct, commented out functions encode and decode because they are not used anyway, added quotes around the $style in function getPriceString) - added instructions to change the function tep_get_stock to take advantage of PriceFormatterStore (instead of using 1 query per product in catalog/shopping_cart.php) More...
__________________ Michael Sasek osCMax Developer
|
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| add Quantity Price Breaks Per Product mod to OSCMAX | lazua | osCMax v2 Customization/Mods | 10 | 09-07-2007 06:16 PM |
| Quantity Price Breaks Per Product | michael_s | New osCommerce Contributions | 0 | 01-31-2007 02:54 PM |
| Separate Pricing Per Customer & Login.php | gamerigs | osCMax v2 Installation issues | 2 | 12-13-2005 10:16 PM |
| Separate Pricing Per Customer - SPPC | tastar | osCMax v2 Customization/Mods | 0 | 07-08-2005 03:09 AM |
| Where is Separate Pricing Per Customer? | adam71o | osCMax v1.7 Installation | 11 | 06-03-2005 12:25 PM |