Add parent category to product

Add parent category to product
This module contain script that need to be uploaded in opencart installation folder, same place where config.php file is.

If product is assigned to one category this script will add all parent categegories to 'product categories'.

For example if you have category A that is parent to category B.
A->B
And you have Product P that is assigned to category B.
B->P

After run of this script Product P will be assigned and to category A-

A->B->P and A->P will work.

Also if you have other category C that is parent to A than product will be assigned to A and C.

Make backup on database first.

This script will add assigns in Database and Admin. Not just in frontend.

It is good if you have some fee or coupon based on category.

Or you want to display category products in some custom module

Demo http://demo.plusmotiv.com/userextended/admin

login with admin / admin

Script is executed when visit http://demo.plusmotiv.com/userextended/add_parent_category.php




Price
$59.00

  • Developed by OpenCart Community
  • 12 Months Free Support
  • Documentation Included

Rating

Compatibility
1.5.5.1, 1.5.6, 1.5.6.1, 1.5.6.2, 1.5.6.3, 1.5.6.4, 2.0.0.0, 2.0.1.0, 2.0.1.1, 2.0.2.0, 2.0.3.1, 2.1.0.1, 2.1.0.2, 2.2.0.0, 2.3.0.0, 2.3.0.1, 2.3.0.2, 3.0.0.0, 3.0.1.1, 3.0.1.2, 3.0.2.0, 4.x.x.x, 3.0.3.0, 3.0.3.1, 3.0.3.2

Last Update
4 Nov 2019

Created
12 May 2018
4 Sales
4 Comments
dalibor
dalibor
Member since: 28 Oct 2013

View all extensions Get Support