Documentation Custom Templates

Allows you to set a specific template for a product, category, manufacturer (brand), or informational pages. You can also assign one template for all products in a particular category and, if necessary, override this template for a specific product.

Version: 1.3
Release: 19.11.2023

Information to users

Please carefully review this information before starting to use our products. We have endeavored to provide maximum compatibility and user convenience, but some aspects may require your attention and configuration. Do not hesitate to contact us with any questions or if you need assistance.

  • The modification has been tested on the standard Opencart template but may require adaptations for other templates.
  • Upon installation, additional fields are created in the database. We recommend making a backup of the data before installation to allow for data restoration if needed.
  • Please note that when mentioning a TEMPLATE, it refers to individual template files in your theme, not the entire theme. You cannot set different themes for each element using this extension.
  • If you have installed a third-party theme on Opencart 3.x with extension files in «.tpl
    the modification will NOT work.
  • The created files must have the file extension «.twig.

Try first installing «Localcopy OCMOD», and then attempt to install our modification again. This sequence may resolve potential conflicts and help you successfully implement our changes on your website.

Modification Installation

To install the modification, follow these steps:

  • Log in to the Admin panel and go to Menu -> Extensions -> Extension Installer;
  • Upload and install the archive file Custom_Templates_x_Opencart_x.ocmod.zip;
  • After successful installation, go to Menu -> Extensions -> Modifications and click the «Refresh» button in the upper right corner.
  • Once you've completed these steps, go to Menu -> Extensions -> Modules and install the Custom Templates module.

Modification configuration

To configure the modification, navigate to Menu -> Extensions -> Modules -> Custom Templates and change the modification status to «Enable».

How to Install Your Own File:

  • After installation on the server, the custom_templates folder will automatically appear at the following path:

    catalog/view/theme/default/template/custom_templates/

    If you are using a different theme, make sure to create this folder and the subfolders category, information, manufacturer, product.

  • Add the file with changes to the corresponding folder (file name in Latin, extension .twig).

Settings in the Section:

To configure the extension for a specific section, go to Menu -> Catalog -> (Products, Categories, Information, Manufacturers). The settings are located in Design.

  • Select the desired template from the list;
  • In categories, assign the template for all products in this category;
  • In products, choose or change the template;
  • In manufacturers and information articles, set a new template.

Problems and solutions

If you have any questions or problems, we have collected in this section answers to frequently asked questions and solutions to the most common and common problems.

List of changes

  • v1.319.11.2023

    Latest Release

    Changes:

    • Code optimization.
  • v1.231.05.2023

    Changes:

    • Correction in the code.
  • v1.15.12.2022

    Changes:

    • Defects fixed.
  • v1.010.06.2021

    Added:

    • Allows selecting an individual template (.twig) for products, categories, manufacturers, and informational pages;
    • Overrides templates at the product or category level, making bulk design changes more straightforward.