Opencart: Change the default theme of opencart.

Source: Internet
Author: User
Tags opencart

Do not directly edit the default theme. Otherwise, the opencart will be overwritten during upgrade.

You can copy the default theme as pizza, and select your store as the theme on the admin/settings store tab.

However, this is not recommended. During upgrade, many files in the custom theme directory are inconsistent with those in the default directory.

The best way is to find out which theme files you need to modify and just copy these files to the new theme folder.

In this way, the interfaces not in the new theme will be obtained from default. It will not be affected in future upgrades.

You can make changes in this copy version later.

The theme directory structure and simple description are as follows:

Default/content/*. TPL-Process all controller page template files: cart, login, product, checkout, etc.
Default/module/*. TPL-Process extended module template files: sideboxes, header, footer
Default/CSS/*. CSS-Process all the CSS files of controllers and moudles. For example, product.css is used to modify product. TPL. The global CSS file "default.css" is responsible for processing public CSS settings such as font color, overall layout, and structure.
Default/layout. TPL-Process how to place sideboxes and subject content on all pages. If a new sidebox exists, add it here.
Default/image /*.*-The images used by the template are stored here. And the flag icon that represents the language. This is separated from the storage location of product images.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.