[TYPO3-commerce] Products with several manufacturers

Ingo Schmitt is at marketing-factory.de
Wed Jul 27 16:44:04 CEST 2011


Hello Diego,

manufacturer is ment in TYPO3 to be only one manufacturer per product. I would implement the "authors" as different attributes for one product. If you choos multiple attribute you can have an many to many relation.

Regards

Ingo

> Hello,
> 
> I'm implementing an on-line bookshop with Commerce. Before going ahead with commerce I read a little bit about how to implement a bookshop using an on-line shop solution. Generally, people tend to use entity 'manufacturer' as book 'author'. I'd like to do the same mapping for Commerce. The point is that the relationship between products and manufacturers in Commerce is many-to-one (one product has only one manufacturer, and one manufacturer can have several products) and, in my system, a book can have several authors (mainly because almost all books are illustrated so they have a writer and an illustrator).
> 
> What's the best solution for this? Should I create a new table tx_commerce_product_manufacturer_mm and change commerce TCA so it's possible to assign several manufacturers to a product? Should I forget manufacturer and create my own 'author' entity?
> 
> Any piece of advice is welcome :)
> 
> Regards,
> 
> Diego
> _______________________________________________
> TYPO3-project-commerce mailing list
> TYPO3-project-commerce at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-commerce
> 
> 


Mit freundlichen Gruessen
Ingo Schmitt

-- 
Marketing Factory Consulting GmbH  *   mailto:is at marketing-factory.de
Marienstrasse 14                   *          Tel.: +49 211-361176-63
D-40212 Duesseldorf, Germany       *          Fax:  +49 211-361176-64
Amtsgericht Duesseldorf HRB 53971  * http://www.marketing-factory.de/

Geschaeftsfuehrer:    Peter Faisst   |   Katja Faisst
Karoline Steinfatt   |   Christoph Allefeld   |   Markus M. Kimmel



More information about the TYPO3-project-commerce mailing list