Enterprise Edition Subshop(s) Hauptkategorien

Hallo :slight_smile:

ich frage mich gerade ob es ein muss ist bei jedem Subshop eigene Kategorien anzulegen?

Da im Mall Tab unter -> Stammdaten -> Grundeinstellungen die Kategorien fehlen in der Vererbung.

Meine Frage hat folgenden Hintergrund:
Über das Feld oxobject2category.OXTIME ermittelt man die Hauptkategorie eines Artikels. Wenn aber ein Artikel eine andere Hauptkategorie im Subshop besitzt als im Hauptshop, dann muss ich dies zusätzlich an einem weiteren Feld festmachen dies wäre das Feld oxobject2category.OXSHOPID oder?

Kann ich daher folgende Regel aufstellen und besitzt diese in einem Standard EE Shop immer Gültigkeit?

Regel:
Die Hauptkategorie eines Artikels in einem EE Shop kann ich über die oxobject2category.OXSHOPID und die Sortierung oxobject2category.OXTIME ermitteln?

Viele Grüße
indianer3c

Ah es gibt bei EE Shops bei Kategorien unter -> Artikel verwalten -> Kategorien den Mall Tab für die Vererbung “Verknüpft mit folg. Subshops” aber was bedeutet diese Verknüpfung genau?

Liegt dort ein Fehler vor?
Ich nutze OXID EE 5.1.4 und bekomme bei folgender Abfrage


SELECT
oxv_oxarticles_2_de.oxid,
oxv_oxobject2category_2.oxcatnid,
oxv_oxobject2category_2.oxshopid,
oxv_oxobject2category_2.oxshopincl,
oxv_oxobject2category_2.oxshopexcl,
oxv_oxobject2category_2.oxtime,
oxv_oxarticles_2_de.oxshopid,
oxv_oxarticles_2_de.oxshopincl,
oxv_oxarticles_2_de.oxshopexcl
FROM oxv_oxarticles_2_de
LEFT JOIN oxv_oxobject2category_2 ON ( oxv_oxarticles_2_de.OXID = oxv_oxobject2category_2.OXOBJECTID )
WHERE oxv_oxarticles_2_de.oxid = '05848170643ab0deb9914566391c0c63'
AND oxv_oxarticles_2_de.OXPARENTID = ''
AND oxv_oxarticles_2_de.OXACTIVE = '1'
AND ( ( oxv_oxarticles_2_de.OXSTOCK + oxv_oxarticles_2_de.OXVARSTOCK ) > 0 OR oxv_oxarticles_2_de.OXSTOCKFLAG='4'  ) 
ORDER BY oxv_oxobject2category_2.OXTIME ASC

Folgendes Ergebnis:


OXID, OXCATNID, OXSHOPID, OXSHOPINCL, OXSHOPEXCL, OXTIME, OXSHOPID, OXSHOPINCL, OXSHOPEXCL
05848170643ab0deb9914566391c0c63, 31ab5da7e5750b254c088881c5b98ee9, 2, 2, 0, 0, 1, 1, 0
05848170643ab0deb9914566391c0c63, 0f41a4463b227c437f6e6bf57b1697c4, 1, 18446744073709551615, 0, 10, 1, 1, 0

Anhand welchen Wertes soll ich diskriminieren und wissen das der 2 Eintrag des Ergebnisses nicht im Subshop vorkommt? Müssten dort nicht andere Werte in OXSHOPINCL und OXSHOPEXCL stehen?

Warum kann ich für vererbte Artikel nicht Subshop spezifisch eine Hauptkategorie setzen?

ruf mal beim Support an, wir sind hier nur kleine Community Edition Nutzer :slight_smile: