|
CustomizationsBestPracticesDoc
Recommendations for how to make your changes to the product
Moved to http://plone.org/products/getpaid/documentation/how-to/best-practices-for-customizing-getpaid |
Sign in to add a comment
|
|
Search
|
|
CustomizationsBestPracticesDoc
Recommendations for how to make your changes to the product
Moved to http://plone.org/products/getpaid/documentation/how-to/best-practices-for-customizing-getpaid |
Sign in to add a comment
Here is an other example
<configure xmlns="http://namespaces.zope.org/zope" xmlns:browser="http://namespaces.zope.org/browser"> <browser:viewlet name="10cart-listing" manager="Products.PloneGetPaid.interfaces.IGetPaidCartViewletManager" template="skins/cart-listing.pt" class="Products.MyProduct.browser.WRJShoppingCartListing" permission="zope2.View" /> </configure>from Products.PloneGetPaid.browser.cart import ShoppingCartListing class WRJShoppingCartListing(ShoppingCartListing): """ """ template = ZopeTwoPageTemplateFile('skins/cart-listing.pt') def __init__( self, *args, **kw): super( WRJShoppingCartListing, self ).__init__( *args, **kw )