magepsycho / magento2-gotocatalog

magepsycho/magento2-gotocatalog

Magento 2 Preview / Go To Catalog Extensions

magento2-module Compatibility: 2.4.7 Code Quality: Fail Tests: N/A Security: Pass OSL-3.0

Magento 2 Preview/Visit Catalog

Magento 2 Preview/Visit Catalog

Packagist Version
Packagist Downloads
Supported Magento Versions
License

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)

Magento 2 Preview/Visit Catalog - Admin Settings

Magento 2 Preview/Visit Catalog - Product Page

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.

Magento 2 Preview/Visit Catalog - Admin Settings

Magento 2 Preview/Visit Catalog - Product Page

🛠️ 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
  1. Flush the store cache
php bin/magento cache:flush
  1. Deploy static content - in Production mode only
rm -rf pub/static/* var/view_preprocessed/*
php bin/magento setup:static-content:deploy
  1. 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

  • Raj KB Twitter Follow

Contributors

Your Repository's Stats

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.

Versions
Version Stability QA Status Compatibility Released
1.0.0 stable Fail Magento 2.4.7 Details 2022-02-23 12:05:11

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.

Compatibility matrix (Magento × PHP)
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 Pass Pass
2.4.8 Pass Fail di error
2.4.9 Fail di error Fail di error

Code Quality

Advisory checks against the module's source. Static analysis runs once across the whole module; PHPStan re-runs per Magento + PHP version because resolvable symbols differ between releases. These NEVER affect the Compatibility badge. A phpcs finding can't make a module incompatible.

Static analysis

Coding standards (phpcs), mess detection (phpmd), copy-pasted code (cpd), PHP cross-version compatibility, composer.json validity. Each runs once for the whole module.

Static analysis results
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)

PHPStan

Type-checks the module's PHP against a real Magento install at the configured gate level. Re-runs per Magento and PHP version because resolvable symbols differ between releases.

PHPStan results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 22 22
2.4.8 23 26
2.4.9 26 26

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

Unit tests results by Magento and PHP version
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

Integration tests

Integration tests results by Magento and PHP version
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

Security

Security checks run directly against the module: an audit of its declared dependencies for known vulnerabilities (composer audit) and a scan of its source for malware and web-shell signatures. Each runs once. A malware detection fails the version outright.

Security results
Tool Status Findings Summary
Composer audit Pass 0
Malware scan Pass 0
License
OSL-3.0
Homepage
https://www.magepsycho.com/magento2-preview-catalog-visit-sku.html
Authors

More from magepsycho

View vendor
Make it pay

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.