magepsycho / magento2-gotocatalog
magepsycho/magento2-gotocatalog
Magento 2 Preview / Go To Catalog Extensions

Magento 2 Preview/Visit Catalog
Overview
Magento 2 Preview/Visit Catalog allows the store owner to quickly preview the catalog (product & category) pages from the admin panel.
Also, it gives flexibility to the customers and the support & marketing team to visit the product page directly via SKU.
Key Features
- Preview product page in the storefront (as per store) from Admin's product edit page
- Preview category page in the storefront (as per store) from Admin's category edit page
- Visit the product page directly via SKU in the URL (with the configurable prefix)
Feature Highlights
Quick Preview for Catalogs
With this extension, store admin can quickly explore the product & category pages via related edit pages, as per store.
- Preview option can be turned off from settings
- Preview option is disabled if the product or category is not visible (disable or not visible individually)


Visit Product Page via SKU
Users can reach the product page directly via SKU in the URL.
- The prefix used in the URL can be configured from the extension settings.
- If SKU is not found or not visible, it will redirect to the search result page with SKU as the search-keyword.


🛠️ Installation
Using Composer
composer require magepsycho/magento2-gotocatalog
Using modman
modman init
modman clone [email protected]:MagePsycho/magento2-preview-visit-catalog.git
Using Zip
- Download the Zip File
- Extract & upload the files to
/path/to/magento2/app/code/MagePsycho/GoToCatalog/
After installation by either means, activate the extension by running following series of commands
php bin/magento module:enable MagePsycho_GoToCatalog --clear-static-content
php bin/magento setup:upgrade
- Flush the store cache
php bin/magento cache:flush
- Deploy static content - in Production mode only
rm -rf pub/static/* var/view_preprocessed/*
php bin/magento setup:static-content:deploy
- Go to Admin > STORES > Configuration > MAGEPSYCHO > Go To Catalog > Here you can configure settings
Live Demo:
Changelog
Version 1.0.0 (2021-03-15)
- Initial Release.
Authors
Contributors
To Contribute
Any contribution to the development of Magento 2 Preview/Visit Catalog is highly welcome.
The best possibility to provide any code is to open a pull request on GitHub.
Need Support?
If you encounter any problems or bugs, please create an issue on GitHub.
Please visit our store for more FREE / paid extensions OR contact us for customization / development services.
No changelog yet
The vendor hasn't published a changelog. Tagged releases appear in the Versions tab.
No dependencies declared
This package's composer.json doesn't declare any required, suggested, replaced, or conflicting packages.
Compatibility
Each Magento release line is installed on its supported PHP versions, then the module is built (DI compilation + static-content deploy) and its unit and integration suites are run. The matrix shows the lines and PHP versions the module is confirmed to install and run on. Code-quality results further down (phpstan, phpcs, …) are reported separately and never affect compatibility.
Code Quality - Static Tests
Checks run directly against the module's source code, independent of any Magento or PHP version: coding standards (phpcs), mess detection (phpmd), copy-pasted code (cpd), PHP cross-version compatibility, composer.json validity, and a security audit of its declared dependencies. Each runs once.
| Tool | Status | Findings | Summary |
|---|---|---|---|
| PHPCS | Warning | 82 | 82 warnings (ruleset: Magento2) — 61 auto-fixable with phpcbf |
| PHPMD | Warning | 7 | 7 rule violations (IfStatementAssignment:6, UnusedFormalParameter:1) |
| Cpd | Pass | 0 | |
| Composer validate | Info | 1 | valid; 1 advisory note (composer validate --strict) |
| Composer audit | Pass | 0 |
Code Quality - PHPStan
PHPStan type-checks the module's PHP against a real Magento install (so framework and core-module symbols resolve) at the configured gate level. Because the available symbols differ between releases, it runs separately for each Magento and PHP version. The grid below shows the result for each pairing; select one to see its findings. This never affects compatibility.
Tests
Unit and integration suites, run for each applicable Magento and PHP version. A test failure speaks to the module's behaviour, not its compatibility with a Magento line, so it is reported here separately and never reddens the compatibility matrix.
Unit tests
Integration tests
| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | N/A | N/A | ||
| 2.4.8 | N/A | N/A | ||
| 2.4.9 | N/A | N/A |
More from magepsycho
View vendorMagento 2 Disable Customer Registration
Magento 2 Discount Amount Limiter
Magento 2 FREE SEO Suite
Magento 2 Product Discount Label
Turn an existing module into recurring revenue.
If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.