THEME - Theme operations¶
info¶
Retrieves information about the specified theme.
shoper theme info [id]

Description: Displays details about the current theme.
init¶
Duplicates the specified theme.
You cannot duplicate a theme while in the skin directory. Exit the skin directory, then perform the operation by specifying the ID of the theme you want to duplicate.
shoper theme init [id]

Description: Creates a copy of an existing theme.
list¶
Display all store themes along with their IDs and status.
shoper theme list

Description: List of themes in the store (ID, name, status).
pull¶
Download theme directory to local environment
You cannot download the default store theme (main theme). Create a copy of it to continue working.
shoper theme pull [id]

Description: Downloads the current version of the theme and overwrites local files.
Explanation: The name of the downloaded directory has a specific structure:
ID_Theme-name_timestamp
- ID - theme identifier
- Theme-name - theme name
- timestamp - timestamp of theme download from the server
push¶
send all changes made in the theme directory to the server
shoper theme push

Description: Uploads local theme files to the store and overwrites the current version.

Explanation: It is important to do a push, you must enter the theme directory you want to upload to the server, otherwise the following error is returned.
verify¶
verification whether the indicated theme and its content are correct
The command is to allow verification whether the indicated skin directory and subdirectory structure, etc., are correct.
shoper theme verify
If the theme directory and its content are correct, the message is as follows:

If the theme directory and its content are incorrect, the message is as follows:



delete¶
permanent deletion of the indicated theme on the server.
shoper theme delete [id]

After selecting Y - yes, I want to delete for sure.
theme-delete-confirmation.png

Description: Deletes the theme with the specified ID.