Does anybody know if it is possible to create a new type of coupon or extend coupon behavior without modifying the core commercebuilder code? For example, I would like to create an order coupon that will apply 40% discount to the highest priced product basket item and 10% discount to all other product basket items. I can achieve this by customizing the AC core code (my company purchased the source), but I believe this would prevent us from accepting any upgrades.
Many thanks!
Custom Coupons
Re: Custom Coupons
I am not sure but one thing AbleCommerce recalculates coupon discounts from time to time and updates the information in database. So even if you somehow made to adjust front end to inject something like that there is a possibility that information can be changed back to default behavior of AbleCommerce at some point during checkout. I think you will be needed to fix it in source code.
Re: Custom Coupons
It's possible, but you have to write your own coupon code system separate from the built-in AC7 coupon system. I did it for a client last year and it worked pretty well. It wasn't a simple change though - took a few new data tables and some signficant changes to the checkout page. It was all part of a rewards-system integration the client needed to give bonuses to sales reps.
Mazhar is right though - modification to the existing coupon system requires full source code and would create issues for you when it's time to upgrade your AC7 site to the next release.
Mazhar is right though - modification to the existing coupon system requires full source code and would create issues for you when it's time to upgrade your AC7 site to the next release.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com