OpenCart Documentation
  • Home
  • About
  • Contact
  • Home
  • System Requirements
  • Installation
  • Updating OpenCart
  • Getting Started
  • Where to download
  • Browsing the Store Front
  • Admin Interface
    • Overview
    • Filter
    • Image Manager
    • Adding Multiple Languages
    • Creating a Multi-Store
    • Moving OpenCart to a New Server
    • SEO Keywords
    • SSL Certificates and HTTPS
    • Basic Security Practices
    • vQmod
  • Catalog
    • Categories
      • Overview
      • General
      • Data
      • Design
    • Products
      • Overview
      • General
      • Data
      • Links
      • Attribute
      • Option
      • Discount
      • Special
      • Image
      • Reward Points
      • Design
    • Filters
    • Profiles
    • Attributes
    • Options
    • Manufacturers
    • Downloads
    • Reviews
    • Information
  • Extensions
    • Modules
      • Core Modules
      • Install/Uninstall
      • Editing a Module
      • 3rd Party Modules
    • Shipping
    • Payments
    • Order Totals
    • Product Feeds
  • Sales
    • Orders
    • Returns
    • Customers
      • Overview
      • Customer Groups
      • IP Blacklist
    • Affiliates
    • Coupons
    • Gift Vouchers
    • Mail
  • Reports
    • Customer Reports
      • Order Report
      • Reward Points Report
      • Customer Credit Report
    • Affiliate Reports
      • Affiliate Commission Report
    • Product Reports
      • Products Viewed Report
    • Sales Report
      • Orders report
      • Tax report
      • Shipping report
      • Returns report
      • Coupon Report
  • System
    • Settings
      • General
      • Store
      • Local
      • Option
      • Image
      • Mail
      • Fraud
      • Server
    • Design
      • Layouts
      • Banners
    • Users
    • Localisation
      • Language
      • Currency
      • Stock status
      • Order status
      • Returns
      • Countries
      • Zone
      • Geo zone
      • Taxes
      • Length class
      • Weight class
    • Error logs
    • Backup/Restore
  • Developer Guide
    • Developing Modules
    • Developing new product feeds
    • Loading files in the controller

Editing a Module

Editing a Module

Modules can vary widely in purpose and function, so naturally, customizing a module to fit a particular store may vary between modules. In general, there are 4 main features of modules that can be tinkered with in the Module section:

  • Layout
  • Position
  • Status
  • Sort Order

Layout

The layout affects which pages the module will be included on. The pages available are listed in the screenshot below. If the module needs to be included on multiple pages, you must individually "Add Module" for each page. The Layout can only select one page at a time..

layout

The screenshot below shows the Featured module, which displays a list of specified products on the left side of a random Category page. This was achieved by selecting "Category" under Layout. The Featured Products box will be available on every Category page. Selecting a layout page type will add it to every page of that type. Core modules can be assigned to layout pages, but not individual pages.

featured layout

Position

The Position selection determines where the modules will be displayed on the page. On the page types selected in Layouts, the module box can be at the top, bottom, left, or right side of a page.

position

Using the same module from the Layout section, we will change the Featured box on the category page from the left column, to the top, by selecting "Content Top" under Position (below).

featured top

The Featured box with its specified products is listed above the category products in the category page, moved from its original position on the left side.

Status

Disabling or enabling the status of the module will affect the visibility of the module on the store website. Disabling a module is different from uninstalling the module. Disabling the module keeps all the module information available to be edited in the administration, while hiding it from the store front. Uninstalling the module will remove the store module information. Selecting "Enabled" will make this module publicly available on the pages selected for the store.

Status enable disable

Sort order

The sort order affects the order of a module in relation to other modules in the same position. A sorting order of 1 for a module would place it above another module placed in "Content Bottom" with a sorting order of 2. If two modules are in the same position and have the same sort order number, they will be arranged alphabetically according to the module name. A module named "Featured" would be placed above the Specials module

Published with GitHub Pages