Neues Produkttyp ohne attributen
Ich möchte eine Erweiterung machen welche ich einfach für neue Webshops installieren könte. Eine der Anforderungen eines bestimmten Produkttyp ist, dass es immer bestimmte Attributen hatte, die nicht Standard sind ins Isotope. Zur Vereinfachung der Installation der Erweiterung und für die Geschwindigkeit der PHP Code möchte ich die Felder auf das Produkt hinzu, um die Datenbank und DCA.
Kann mir jemand erklären, wie die Paletten für Produkttypen zusammengesetzt sind, da sie nicht in der tl_iso_products DCA Datei steht. Ich weiß wie ich ein Feld mache so das es wird aufgenommen, aber ich brauche einige Felder nur in eine Produkttyp und habe nicht gefunden, wie das zu erreichen.
bearbeited:
Besser gesagt, ich will bestimmte Attribute für bestimmte Produktklassen erfordern. Die Attribute werden nicht für andere Produkte erfordert, vielleicht sogar unsichtbar.
In English:
I'd like to create an extension I can easily install for new webshops. One of the requirements of a certain product type is that it will allways have certain attributes that are not standard. For ease of installation of the extension and for speed of all code I'd like to add the fields to the product type to the database and dca.
Can someone explain to me how the palettes for producttypes are composed, as they are not in the tl_iso_products dca file. I know I can set a field so it will be included, but I need some fields in 1 product type only and haven't found how to achieve that.
edit:
Better put; I want to force certain attributes for certain product classes. The attributes are not required for other products, perhaps even invisible if possible.