View Issue Details

IDProjectCategoryView StatusLast Update
0006911OXID eShop (all versions)2.2. Shop settingspublic2024-06-05 09:51
Reporterpbenke Assigned To 
PrioritylowSeverityminorReproducibilityalways
Status resolvedResolutionwon't fix 
Product Version6.1.0 
Summary0006911: Configuration error in shop
DescriptionThere are a lot of settings, if flow theme (ore another theme) is used.
But there are some parameters already stored in table oxconfig by installing the shop, which are also settings in flow theme:

- sThumbnailsize
- sCatThumbnailsize
- sIconsize
- sZoomImageSize
- aDetailImageSizes

Defined in file: oxidshop-ce => source/Setup/Sql/initial_data.sql

INSERT INTO `oxconfig` (`OXID`, `OXSHOPID`, `OXMODULE`, `OXVARNAME`, `OXVARTYPE`, `OXVARVALUE`) VALUES
('8563fba1baec57c19.08644217', 1, '', 'sThumbnailsize', 'str', 0x07c4b144c7b838),
('8563fba1baec599d5.89404456', 1, '', 'sCatThumbnailsize', 'str', 0x5d43334072bf3f),
('6ec4235c2aaa45d77.87437919', 1, '', 'sIconsize', 'str', 0x5d09ae6470),
('62642dfaa1d88b1b2.94593071', 1, '', 'sZoomImageSize', 'str', 0xfb42b1443b3e38),
('62642dfaa1d87d064.50653921', 1, '', 'aDetailImageSizes', 'aarr', ...

Maybe these rows could be deleted, just depends on the theme.

Thanks
TagsNo tags attached.
ThemeFlow
BrowserNot defined
PHP VersionNot defined
Database VersionNot defined

Activities

SvenBrunk

2024-06-05 09:50

administrator   ~0016945

In principle you are right, but these values are used in places like the Article model and provide a fallback in case there are no proper values set by the theme.