Creating Theme from Scratch

From osCommerce Wiki
Revision as of 17:32, 25 August 2022 by Admin (talk | contribs)
Jump to navigation Jump to search

After you accessed the admin area of your website click on Design and CMS and Themes tabs. From this page you can add theme group, import theme and add theme by clicking on the corresponding buttons. You can also backup, move to group, copy or customize your existing themes by clicking on the corresponding buttons as well as change theme title, switch between information and image theme views and delete the theme by clicking on the corresponding icons. It will be much easier to create your own theme based on the existing one so we would recommend to copy the exising theme in order to create your own one.

Image 787.png


After the theme is copied (it may take some time), click on Customize button within this theme. Widgets can be added by poining the mouse to the required place and clicking on Add widgit option. After that click on Widgets button, find the required widget and click on it. Or the widget can be dragged and dropped to the required place without clicking on Add widgit option. The existing widget can be edited, dragged and dropped, exported or deleted by clicking on the corresponding icons.

Image 789.png

Widgets settings differ from one widget to another. For example, widget styles (font, background, padding) can be set up for the external widget div unless they are overriden by the styles within the widget.

Image 790.png

In the same way as widgets, widget groups can be added to the theme and managed.

Image 792.png

If a widget group is exported it is automatically added to the widget list and appears in the list under Widget groups tab. You can also add the new group by clicking on Add button and view/edit the name and page type or delete the exising group.

Image 793.png

If you click on Pages button you can find the required page, go to it by clicking on it or copy this page, edit its settings or delete it. You can also go to the required page by filling in its URL.

Image 794.png

If you click on Edit Texts button, direct your mouse and click on the required text link, you can edit it in the theme via translation tool..

Image 795.png
Image 797.png

Before you save the changes you can click on Preview in popup button to make sure everything meets your requirements.

Image 798.png

Under Backups tab the theme backups are done automatically or you can do it manually by clicking on New Backup button. You can also import or export a theme by clicking on the correspodning buttons. While exporting a theme it is possible to export menus or banners with a theme by checking the corresponding boxes.

Image 799.png

Under Theme settings and Main details tabs you can view/update the exising settings or add the new ones by clicking on the corresponding button.

Image 800.png