The module is an extended version of the "Custom Templates" module. It differs in that it works without ocmod, can replace any tpl / twig file in the engine, has an extended set of conditions for replacing templates and is distributed under a different license. It is a close relative of the "Extended layout" module.
Benefits
- Uses events, works without embedding into files
- Compatible with 99% of themes
- Doesn't affect performance
- User-friendly interface
- The module allows you to replace any template files (tpl/twig) in OpenCart, depending on the conditions
- Shows a list of modifiers and strings that make changes to the file of the template being replaced
You can set the selected template (tpl/twig):
- for a page of a specific product, category, manufacturer, products in the selected category, etc.
- for the site header, for the selected customer group
- slideshow module for mobile devices (and any other modules and devices)
- for the module of recommended products in the selected categories
- for specific blog posts of any news / article module
- for the product page of the manufacturer Apple, only for registered users who logged in from a mobile device using the USD currency (all at the same time)
- Categories (for category and product pages)
- Manufacturers (for manufacturer and product pages)
- Information pages (for information pages)
- Products (for product pages)
- Languages
- Currencies
- Customer groups
- Stores (multi-store)
- Ranges (from 0 to a, from a to b, from b or more) - Cost of items in the cart, number of items in the cart, subtotal, weight,
- Device type (Mobile, Tablet, Desktop)
- Platform (Windows, Linux, MacOS and others)
- Browser (Chrome, FireFox, Opera and others)
- Custom $ _GET parameter. For example, gallery_id=2 or record_id=12 or route=gallery/gallery, you can use multiple values separated by commas
- OpenCart/OcStore 2.3 and 3.x.
- Languages Russian, English
- Compatible with 99% of themes
- Admin panel https://ctp.shth.ru/admin/
- Catalog https://ctp.shth.ru/
9 templates are replaced in the demo module:
- Template of the home page, for desktop PCs (Desktop)
- Template of categories Windows, PC, MP3 Players
- Template of manufacturers Apple, Hewlett-Packard, Sony, for Russian language
- Template of products from the category Windows, Macs
- Template of products from Canon manufacturers
- Template of selected products - Apple Cinema 30, HP LP3065
- Featured Products module template for Canon, Palm products
- Featured Products Module template for Windows, Macs Category Pages
- Featured Products Module template for Guests
- The license covers one store / multi-store + subdomain.
- The purchase of the module entitles you to receive updates for 1 year.
- custom_templates_pro_v1.1_oc_v2.3.ocmod.zip md5 c5ab746383393a8dea094e4537c3f689
- custom_templates_pro_v1.1_oc_v3.x.ocmod.zip md5 74304e289e90ac0ed9dc566bf4d13370
- Install the module through the "Extension Manager".
- After installation, go to "Extensions > Modules" and install the "Custom templates Pro" module.
- Template paths are specified without file extension. For example, common/home or extension/module/featured.
- The template to be replaced is assigned in the first pop-up window. The template that will replace it is in the second (in the form with conditions).
- Be careful not to forget about third-party modifiers that make changes to the template files. The module has a function of displaying a list of modifiers that make changes to the file of the replaced template.