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

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to