Mr. Bro

OC server ID: oc-30603

If You want to find modules, which will be as compatible with the version of the online store, and also pay attention to the quality of the code, then we offer to view: product primary category, this solution was specifically designed for stores, working on the platform OpenCart, with the support of our company from every store that works on CMS Brocart.

When you download a free extension, we do not give 100% guarantee that it will work in your store, please be careful about the installation instructions!


In OpenCart products don't have primary category, only a list of ones. Sometimes it's quite confusing to implement new features based on product category, because one product can be assigned to multiple categories at once. For example, calculate shipping costs.

This little extension adds one single field to product editing page - Primary Category, in which you can select one category, which is considered to be primary.

How to use

When you install this extension, three new functions are added to product model in admin and catalog:

    addProductPrimaryCategory($product_id = 0, $category_id)
    editProductPrimaryCategory($product_id, $category_id)

Their names say for themselves and usage is very simple. Any developer or customer with some basic PHP knowledge can implement these functions easily. All our extensions already utilize them, when necessary.

Current version: 3.0.0 (change log)


You can see it working in admin section on our demo site (username: demo, password: demo). Go to Catalog -> Product, Links tab and you will see Primary Category field on top.


You will find documentation on extension's page. For support us via email or forum.


Please, read our support terms before purchase.

Артем – 29/08/2018

Добрый день. Встретил у вас на сайте архив, спасибо, всюду что то не рабочее, интересно, а на другие версии подойдёт ? Советую.