Skip to content

Instantly share code, notes, and snippets.

@alfredbez
Last active April 18, 2020 16:33
Show Gist options
  • Save alfredbez/6375406 to your computer and use it in GitHub Desktop.
Save alfredbez/6375406 to your computer and use it in GitHub Desktop.
Kopiert Theme-Einstellungen von Azure Theme zu eigenem Theme (Oxid-Kochbuch)
SET @sourceTheme='theme:azure';
SET @targetTheme='theme:kochbuch';
INSERT INTO oxconfig (OXID, OXSHOPID, OXMODULE, OXVARNAME, OXVARTYPE, OXVARVALUE )
(SELECT UUID(), OXSHOPID, @targetTheme, OXVARNAME, OXVARTYPE, OXVARVALUE FROM oxconfig WHERE OXMODULE = @sourceTheme);
INSERT INTO oxconfigdisplay (OXID, OXCFGMODULE, OXCFGVARNAME, OXGROUPING, OXVARCONSTRAINT, OXPOS)
(SELECT UUID(), @targetTheme,OXCFGVARNAME, OXGROUPING, OXVARCONSTRAINT, OXPOS FROM oxconfigdisplay WHERE OXCFGMODULE = @sourceTheme);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment