Aus xtc-wiki
[Bearbeiten] Tabelle products_attributes
Die Tabelle products_attributes verbindet Artikel, Optionen und Optionswerte miteinander und legt fest für welchen Artikel welche Optionen zur Auswahl stehen.
| Feldname | Datentyp | Beschreibung
|
| products_attributes_id | int(11) | Datensatz ID (Primärschlüssel)
|
| products_id | int(11) | Artikel ID, Ref. Tab. products
|
| options_id | int(11) | Options ID, Ref.Tab.products_options
|
| options_values_id | int(11) | Optionswert ID, Ref.Tab.products_options_values
|
| options_values_price | decimal(15,4) | Attributpreis
|
| price_prefix | char(1) | Preis Prefix, "+" od. "-" (Kumulierung geg. Gesamtpreis)
|
| attributes_model | varchar(64) | Attribut Artikelnummer
|
| attributes_stock | int(4) | Attribut Lagerbestand
|
| options_values_weight | decimal(15,4) | Attribut Gewicht in kg
|
| weight_prefix | char(1) | Gewicht Prefix, "+" od. "-" (Kumulierung geg. Artikelgewicht)
|
| sortorder | int(11) | Sortierwert
|
siehe auch: Tutorial: Optionen und Attribute in Datenbank