{"id":27618030,"url":"https://github.com/markshust/magento2-module-product-qa","last_synced_at":"2025-04-23T04:59:20.919Z","repository":{"id":282552415,"uuid":"948964246","full_name":"markshust/magento2-module-product-qa","owner":"markshust","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-15T11:18:56.000Z","size":28,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-23T04:59:15.304Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/markshust.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-15T11:15:00.000Z","updated_at":"2025-03-21T20:25:55.000Z","dependencies_parsed_at":"2025-03-15T11:46:37.571Z","dependency_job_id":"1739f6f6-966c-4525-9e96-24e047760166","html_url":"https://github.com/markshust/magento2-module-product-qa","commit_stats":null,"previous_names":["markshust/magento2-module-product-qa"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markshust%2Fmagento2-module-product-qa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markshust%2Fmagento2-module-product-qa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markshust%2Fmagento2-module-product-qa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markshust%2Fmagento2-module-product-qa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/markshust","download_url":"https://codeload.github.com/markshust/magento2-module-product-qa/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250372920,"owners_count":21419722,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-04-23T04:59:20.511Z","updated_at":"2025-04-23T04:59:20.902Z","avatar_url":"https://github.com/markshust.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Magento 2 Product Q\u0026A Module\n\nA Magento 2 module that implements a Q\u0026A feature on product pages where customers can ask and answer questions.\n\n## Features\n\n- Questions and answers on product pages\n- User-friendly forms for question and answer submission\n- Admin management of questions and answers\n- Moderation system with approval workflow\n- Works for guest users and logged-in customers\n- Full emoji support\n- Fully responsive design\n\n## Installation\n\n```bash\n# Install via composer\ncomposer require markshust/magento2-module-product-qa\n\n# Enable the module\nbin/magento module:enable MarkShust_ProductQA\n\n# Run setup upgrade\nbin/magento setup:upgrade\n\n# Flush cache\nbin/magento cache:flush\n```\n\n## Database Configuration\n\nFor full emoji support, you must configure your database connection to use `utf8mb4` encoding. Edit your `app/etc/env.php` file and modify the database connection section:\n\n```php\n'db' =\u003e [\n    'table_prefix' =\u003e '',\n    'connection' =\u003e [\n        'default' =\u003e [\n            'host' =\u003e 'db',\n            'dbname' =\u003e 'magento',\n            'username' =\u003e 'magento',\n            'password' =\u003e 'magento',\n            'model' =\u003e 'mysql4',\n            'engine' =\u003e 'innodb',\n            'initStatements' =\u003e 'SET NAMES utf8mb4;',\n            'active' =\u003e '1',\n            'driver_options' =\u003e [\n                1014 =\u003e false,\n                \\PDO::MYSQL_ATTR_INIT_COMMAND =\u003e 'SET NAMES utf8mb4'\n            ]\n        ]\n    ]\n],\n```\n\nAfter making these changes, clean the cache and restart your PHP process:\n\n```bash\nbin/magento cache:clean\n```\n\n## Usage\n\n1. Navigate to the product page to see the Q\u0026A tab\n2. Users can submit questions about the product\n3. Other users can answer the questions\n4. Admins can moderate questions and answers from the admin panel under Catalog \u003e Product Q\u0026A\n\n## Admin Configuration\n\nThe module provides administrative interfaces at:\n\n- **Catalog \u003e Product Q\u0026A \u003e Questions** - Manage product questions\n- **Catalog \u003e Product Q\u0026A \u003e Answers** - Manage answers to questions\n\nQuestions and answers require admin approval before appearing on the frontend.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkshust%2Fmagento2-module-product-qa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkshust%2Fmagento2-module-product-qa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkshust%2Fmagento2-module-product-qa/lists"}