selveq / route717
Magento 2 Router extension for ScandiPWA theme
3.0.0
2026-09-18 20:13 UTC
Requires
- php: ^8.3
- magento/framework: ^103.0
- magento/module-catalog: ^104.0
- magento/module-cms: ^104.0
- magento/module-customer: ^103.0
- magento/module-store: ^101.1
- magento/module-theme: ^101.1
- magento/module-url-rewrite: ^102.0
- magento/module-wishlist: ^101.2
- selveq/cms-graphql: ^2.0
- selveq/slider-graphql: ^3.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
README
Fork of scandipwa/route717 2.1.6, maintained by Selveq for Magento 2.4.9 and PHP 8.3. Module name and namespace are unchanged, and the package replaces scandipwa/route717 at every version, so it installs as a drop-in replacement. Selveq is not affiliated with or endorsed by Scandiweb.
What it does
- Answers every storefront URL with the ScandiPWA shell and the status the URL deserves: 200 for a product, category, CMS page or a route the theme owns, 404 otherwise, and a redirect where a URL rewrite says so.
- Carries the first view's data in
window.actionName— the entity's type, id, sku and name, a category's display mode, a CMS page's content and slider — and the store settings the theme reads inwindow.storeConfig, so the first render needs no round trip. - Lets the paths named in
ignoredURLsfall through to Magento's own controllers: the newsletter confirm and unsubscribe links by default, and whatever other modules add in frontend scope. - Decides which non-entity paths are the theme's with a validator per front name — cart, checkout, customer, search, compare, contact, menu, page, newsletter, sales, downloadable, styleguide and wishlist, shared lists by their code — extensible through
di.xml.
Install
composer require selveq/route717 bin/magento setup:upgrade
The storefront theme must be registered with theme type 4, which selveq/installer sets; otherwise this router steps aside and Magento's own routers answer.
License
OSL-3.0, the license of the original work. Scandiweb's copyright notices are kept in every file, and each file Selveq changed carries a Modifications © Selveq notice.