[Typo3-shop] New Features prepared for implementation
Bernie Pfister
bernie at pixelsound.com
Mon May 16 10:33:36 CEST 2005
Hi Franz, hi list
I've implemented some new (hopefully) useful features. Please have a
look for an example on my test server http://www.pixelsound.com/generic/?209
I've commented everything out, so merging it into the public version
shouldn't be a problem.
Added Features:
******************************************
Parent/Child Products:
Products can be children of another product. Children get displayed in a
table inside the parent product. Eg.
---------------------------------------
| Item No | Size | Price | Qty |
---------------------------------------
| 123 | 60cm | $44.00 | _____ |
---------------------------------------
| 124 | 80cm | $65.00 | _____ |
---------------------------------------
| 125 | 100cm | $88.00 | _____ |
---------------------------------------
This allows you to have different prices for different sizes, color etc.
Customers can order different quantities of different variations.
Reseller price and discount still works.
ChildDisplay can be turned on or off via constants.
*****
Automatic template selection for column display:
When defined 2 or more columns for list display, then the template gets
switched automatically.
*****
Max Height for Images:
Now not only the maximum width for images can be defined, but also the
maximum height (List, Single, Basket)
*****
CSS template:
The template is currently a mix between the old fashioned way and a new
way using CSS (I only use CSS).
*****
Other new features include:
- select boxes for color, size and accessory only get displayed if the
field is filled in
- added more constants including Reseller Group ID, Price Number for
Resellers and Order By (but I soon found out that the list gets too long)
- company name and URL are inserted into Finalizing templates from
TypoScript
- Fixed: Displaying quantities of products that are in basket didn't
work on my installation. I don't know if this was a general problem, but
now it works for me.
*******
TODO:
- The display of the child table is hardcoded in the class file. Should
be implemented with templates
- Accessories and Memo: I couldn't figure out how this should work
- Template needs to be cleaned up
*******
The changes I've made should be fully backwards compatible (except of
the template)
You can download the updated version and an example pagetree here:
http://www.pixelsound.com/generic/index.php?id=210
I hope this helps.
cheers,
Bernie
More information about the TYPO3-project-tt-products
mailing list