Daryl, Very glad you are thinking about this. This is a very common need with GetPaid and absolutely needs an easier, more robust solution. Sorry I can't offer any technical guidance or feedback, but you do have my hurrahs for taking it on!!
Maybe if you catch the Italian crew sprinting in Bolzano they can give a look...? Best, Chris On Wed, Nov 12, 2008 at 5:11 PM, Darryl Dixon <[EMAIL PROTECTED]>wrote: > Hi All, > > I discovered today that to override part of the display of the checkout > cart page (eg, the subtotal, tax, shipping table) it is necessary to > override/subclass/hotfix and reimplement a variety of fundamental > classes/functions deep in Products.PloneGetPaid.browser .checkout and .cart, > because the HTML is being generated with Python code, and it's *not* in e.g. > a browserview, it's in a utility class. > > Does someone have a better approach already up their sleeves that I have > overlooked, or will fixing this require more fundamental changes? > > I envision a possible change like in: > Products.PloneGetPaid.browser.checkout.CheckoutReviewAndPay.renderCart line > 551 of the latest PloneGetPaid egg, where currently the code says: formatter > = OrderFormatter(...), instead it might say: formatter = getAdapter(order, > IOrderFormatter), or getMultiAdapter((order, request), IOrderFormatter) ... > So that this functionality can be more easily overridden. > > > Darryl Dixon > Winterhouse Consulting Ltd > http://www.winterhouseconsulting.com > > > > -- Cofounder and CEO ifPeople - Innovation for People www.ifpeople.net t: 678-608-3408 130 Boulevard NE, #6 Atlanta, GA 30312 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "getpaid-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/getpaid-dev?hl=en -~----------~----~----~----~------~----~------~--~---
