Contributions
Product Accessory Multiplier
This package will allow the admin to multiply the "option value" against the price of the product. For example: if a wooden statue(10cm) costs 39.99 and you have an option on the statue that the 20cm model costs 1.1 or ten percent more and the "prefix" is set to "*" then 39.99 * 1.1 = 43.98$ would be the total price. This is extremely useful when used with: http://www.oscommerce.com/community/contributions,1700
XPricesPerProduct because you can then multiply all prices by one modifier regardless of what the base price is.
| 18 Apr 2007 |
easy fix, find the entire section in catalog/includes/classes/shopping_cart.php and replace with the text below
this will fix the order of opperations to multiply first. this is not my code, it was taken from here
http://forums.oscommerce.com/index.php?showtopic=150729&hl=Product+Accessory+Multiplier
by Jess2406.
it worked fine on mine AFTER I installed both the Product Accessory Multiplier and PATCH by Kalle Sirsch. just replace the section below.
BACKUP BACKUP BACKUP BACKUP BACKUP BACKUP BACKUP
DONT DELETE YOUR ORIGINAL, JUST RENAME IT TO SOMTHING FAMILIAR SO YOU CAN GO BACK TO IT IF NEED BE. this is one of the easiest installs, but you can totally jack things up if you dont do it right.
see it in action at www.aftermarketgraphics.com
Ryan Matthews
FULL PACKAGE WITH DETAILED INSTRUCTIONS.
| Kalle Sirsch | 6 Aug 2004 |
| William Wightman | 12 Mar 2004 |
Note: Contributions are used at own risk.
