hello sir,

my question about file in this path : /oc-includes/osclass/installer/basic_data.php


Code: [Select]
<?php

$categories 
= array(
    array(
'pk_i_id' => 1,   'i_position' => 1,  'fk_i_parent_id' => NULL's_name' => __('Electronics & Home Appliances')),

above line is to make an category

Code: [Select]
array('pk_i_id' => 14,  'i_position' => 1,  'fk_i_parent_id' => 1,     's_name' => __('TV - Audio - Video')),
above line is to make subcategory inside main category

my question is :

1- how can i make  category inside the sub category inside main category

2- how can i make category inside category inside subcategory inside main

3-how can i make  category inside category inside category inside subcategory inside main category

i know i can do it from admin dasboard but the categories and sub categories and sub sub * categories alot for that i want to write them on script to avoid creating them every time i want to install osclass script

i am waiting your reply as soon as possible thanks in advanced  :)

*

MB Themes

Re: about to make subcategories in osclass script before installation
« Reply #1 on: September 04, 2023, 05:57:57 PM »
Well you need to know ID, in this case it was just manually create /or exported from database.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots