News and articles
How to properly structure modules for OpenCart 3

A module for OpenCart 3 is not only working functionality but also a competent approach to description and support. A poor description can scare off buyers, while the right presentation style increases trust and makes it easier to work with your product.

 
 
 
 
 
How to properly create modules for OpenCart 3

A well-made module for OpenCart 3 is clean and structured code with a unified style. This reduces the number of questions, increases trust, and helps sell the module more effectively.

 
 
 
 
 
New OpenCart Modules Collection for August 2025

New for August 2025: Email and subscription confirmation, Admin panel protection, Short links module, Distance-based delivery within the region.

 
 
 
 
 
Хостинг для вашего интернет-магазина

Best-selling templates and extensions in August 2025: Dream Filter product filter, Strizh: social login, Telegram notifications, Dynamic Color template.

 
 
 
 
 
Best-selling templates and extensions in August 2025

Best-selling templates and extensions in August 2025: Dream Filter product filter, Strizh: social login, Telegram notifications, Dynamic Color template.

 
 
 
 
 

Prefixes catalog and product for OpenCart/ocStore

 
Prefixes catalog and product for OpenCart/ocStore

When migrating from other CMS to OpenCart, it is often necessary to preserve old URLs for categories and products to avoid SEO issues and redirects. In such cases, it is required to add prefixes, such as catalog for categories and product for products (other options like item or tovar can also be used). This helps maintain the old link structure. The free modifier from halfhope allows adding such prefixes to URLs for category and product pages in OpenCart/OcStore versions 2.x and 3.x.

The modifier is compatible with SEO_URL and SEO_PRO. The SQL query for adding prefixes is located in the XML file. It is distributed as is, meaning there are no guarantees for support or updates.

site/catalog/category
site/product/product

Additionally, there is a solution from Tom for those using SEOPro who need a prefix applied to all pages, including products within categories. For example, you can configure the link structure as follows:

site/catalog/category
site/catalog/category/product

The catalog prefix can be replaced with any other suitable for your system. More detailed information and installation instructions are available in the readme file included in the archive.

If you are using the catalog prefix and a custom build rather than ocstore, to avoid conflicts with the existing OpenCart catalog folder, you may need to add the following line to your .htaccess file:

RewriteCond %{REQUEST_FILENAME} !-d

Рекомендуем посмотреть
Рекомендуем прочитать