Hey guys,
I'm trying to add fk to categories which is linked with regions. This way I can load category content according to the region.
I've already added the key to the category table in the database, but I'm running into a problem because I don't know where you keep your methods for the form.
so this is the new field i added to the category form
<div class="FormElement">
<div class="FormElementName"><?php echo __('Province'); ?></div>
<div class="FormElementInput">
<?php CategoryForm::region_category_select($categories, $category, __("---"), "fk_c_region") ; ?>
</div>
</div>
This is the error I get, which I understand since I don't know where you define your methods.
Fatal error: Call to undefined method CategoryForm::region_category_select() in /var/www/vhosts/sellmyunibooks.com/httpdocs/oc-admin/themes/modern/categories/frm.php on line 70