View Issue Details

IDProjectCategoryView StatusLast Update
0004907OXID eShop (all versions)4.12. Subshop handlingpublic2022-03-25 11:06
Reportermichael_keiluweit Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version4.7.3 / 5.0.3 revision 54408 
Summary0004907: switching subshop via get parameter shp can cause problems
Descriptionscenario
three subshops:
german (id 2) www.some-oxid-ee-shop.de
english (id 3) www.some-oxid-ee-shop.com
spanish (id 4) www.some-oxid-ee-shop.sp

You can show the spanish content after adding the parameter shp=4 to to the german url: www.some-oxid-ee-shop.de/?shp=4


when you supply "shp" in the url - it switches to other subshop (even if domain is from other shop).
in this case the problem might occur with the languages, that in case if each subshop has some language assigned, and then you try to switch to some other shop (with other language) - it will try to load data with language, which is not existing for current shop... so it can display empty texts etc. or show some errors
TagsEE, Enterprise, Subshops
ThemeNot defined
BrowserAll
PHP VersionNot defined
Database VersionNot defined

Relationships

related to 0004888 resolvedLinas Kukulskis SEO URLs include lang key on subshop although lang was set as default 

Activities

jurate.baseviciene

2013-02-18 08:18

reporter   ~0008420

Hi,

Waiting for some feedback and then we'll decide how to proceed with solving this case.

Thank you for report.
Best regards,

svetlana

2014-03-28 10:04

reporter   ~0009749

waiting for the PO decision.

QA

2022-03-24 18:53

administrator   ~0013808

Last edited: 2022-03-24 19:00

I can't reproduce this.

Here you need to know that domains for subshops is only an identifier for the store instance, which knows that it should be directed to a subshop.

If in each subshop only one language is activated, then only this language is displayed. Even if I switch to another subshop via the shp parameter, which should not be reached via the domain, this has no influence on the available languages. I can reach all subshops in only one domain, but I cannot change the language within a subshop. If I force the language English in a German subshop e.g. by inserting the language abbreviation en in the URL (Domain/en/Kiteboarding/Kites/Kite-CORE-GTS.html) then only the German language version is displayed. Even if an English language exists but is disabled. Also if SEO URLs are used in a different language than the subshop you don't end up in the language.

The domain has no influence on the language only on the subshop redirection, but this can be overridden with the shp parameter.
Also, when switching to another subshop in a domain, the domain does not enforce the language.

MF