Forums / Developer / Shop - custom options / Comment49917
Pascal Specht
Wednesday 30 July 2008 12:13:21 am
Hi Norman,
well, I understand your frustration about having to touch the kernel, I was confronted to the same dilemma:
my experience is that whenever it comes to seriously modifying the pricing model, (i.e. I added price ramps (Staffelpreise in german), different prices per siteaccess, usergroup and currency, missing prices, coupons and product bundles), the work overhead to circumvent hacking is greater that the maintenance issue. At the end of the day it was way more work to prevent hacking the kernel than maintaining 9 modified kernel files. So I wouldn't bother too much about having to modify these, as long as they are correctly handled in SVN, documented etc.
kernel/shop/ezshopoperationcollection.php kernel/shop/add.php kernel/classes/ezbasket.php kernel/shop/basket.php kernel/shop/operation_definition.php kernel/shop/classes/ezsimpleprice.php kernel/shop/confirmorder.php kernel/classes/ezorder.php kernel/classes/ezproductcollectionitem.php
Best regards,</Pascal>