3.0.x-and-above/upload/catalog/controller/extension/module/facebook_business.php [518:532]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    private function getCategory($product_info) {
        $product_to_facebook = $this->model_extension_module_facebook_business->getProductToFacebook($product_info['product_id']);

        if ($product_to_facebook['google_product_category']) {
            return $product_to_facebook['google_product_category'];
        } else {
            $category = $product_info['category_name'];

            if (!$category) {
                $category = $this->config->get('config_name');
            }
    
            return $this->formatAndTrimString($category);
        }
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



2.3.x-and-above/upload/catalog/controller/extension/module/facebook_business.php [516:530]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    private function getCategory($product_info) {
        $product_to_facebook = $this->model_extension_module_facebook_business->getProductToFacebook($product_info['product_id']);

        if ($product_to_facebook['google_product_category']) {
            return $product_to_facebook['google_product_category'];
        } else {
            $category = $product_info['category_name'];

            if (!$category) {
                $category = $this->config->get('config_name');
            }
    
            return $this->formatAndTrimString($category);
        }
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



