Magento - changing the skin and package in the database

I am currently creating a full installation script for Magento and Node.js / Grunt I would like to skip the installation steps. One of my goals is to configure the skin and package directly without contacting the administrator (I know how to do this in magento admin) So, does anyone know which tables contain the package name and skin?

Thank you so much

+3
source share
4 answers

it is in core_config_data strong>, just check it with scope and scope_id if you have multi-line.

below the column is the path that you can find in the table

design / theme / leather

design / theme / template

//

hopw

+5

core_config_data, :

- design/theme/locale
- design/theme/template
- design/theme/skin
- design/theme/layout
+1

In Magento 2, the table key is core_config_dataas follows:

design/theme/theme_id

You need to find the topic id from the table theme.

To install it globally, use scope=defaultand scope_id=0- these settings will be different if you want to install the theme in a specific repository or in a view.

0
source

If you want to update a theme through a database, in Magento2 the theme settings are saved to design_config_grid_flatthe database design_config_grid_flat. The field theme_theme_idrefers to theme_idin the database table theme.

0
source

All Articles