OK for anyone else who wants to know:
The product view is a python class view so you need to override the
class and the template but only define the class in configure.zcml
so:
Copy
product.pt from src/easyshop.catalog/easyshop/catalog/viewlets/
to the browser folder of your theme and change it there.
Add/edit a viewlets.py class to the browser folder of the theme with
the following:
from Products.Five.browser.pagetemplatefile import
ViewPageTemplateFile
from easyshop.catalog.viewlets import product
class ProductViewlet(product.ProductViewlet):
"""A custom version of the product view class
"""
render = ViewPageTemplateFile('
product.pt')
Add/edit the configure.zcml in the browser folder of the theme to
include the following:
<browser:viewlet
name="easyshop.product-viewlet"
for="easyshop.core.interfaces.catalog.IProduct"
manager="easyshop.catalog.viewlets.interfaces.IProductViewletManager"
layer=".interfaces.IThemeSpecific"
class=".viewlets.ProductViewlet"
permission="zope2.View"
/>
Restart plone and if necessary reinstall the theme.
Now I just need to see how this should be done from ArgoUML... but
that's another story.
Thanks for the help.