News and articles
Best-selling templates and extensions in July 2025

Best-selling templates and extensions in July 2025: Microdata, ChatGPT, Server Video, Mango template

 
 
 
 
 
A selection of new modules for OpenCart in July 2025

New in July 2025: Remember Me, Quick Social Login, Smart Recommendations

 
 
 
 
 
Error after installing the Simple module in OpenCart 3: Twig_Loader_Array not found

The Simple module is one of the most popular modules for simplifying checkout and registration in OpenCart 3. However, after its installation, a critical error may occur related to an outdated modification of the Twig template engine.

 
 
 
 
 
Best-selling Templates and Extensions in June 2025

Best-selling templates and extensions in June 2025: cookie notice, Yandex.Goods in search, sitemap.

 
 
 
 
 

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

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