Could I just check out if I'm understanding this properly.
I'm looking at automating creating new product types, just a simple situation.
AFAICT there are two main reasons for using product types :
1) To have a group of products use separate values for the standard settings
2) To have completely new values for a new types of products.
The second one is quite involved, requiring new tables and stuff to handle all those.
The first one looks pretty easy.
The easiest situation just uses the default product values.
It looks to me as if to automate this all that's needed is
1) New product type name
2) Existing product type to base the new type on
And then the process is
1) Copy files based on existing product types or fallback to product default
2) Insert one line into zen_product_type
3) Optionally add lines into zen_product _type_layout and
autogenerate constant names and the corresponding file
Am I missing something?
Looks pretty simple, which is worrying me
I know it's just covering the simple case, but the basic set of layout values look pretty good to me, and certainly I don't need anything else for my first couple of extra product types.
It's only in the more complicated case that all the paraphernalia of boxes and filters &tc are required, shirley?
Regards
Mark
Bookmarks