Download the PHP package rollpix/module-qr-landing without Composer
On this page you can find all versions of the php package rollpix/module-qr-landing. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download rollpix/module-qr-landing
More information about rollpix/module-qr-landing
Files in rollpix/module-qr-landing
Download rollpix/module-qr-landing
More information about rollpix/module-qr-landing
Files in rollpix/module-qr-landing
Vendor rollpix
Package module-qr-landing
Short Description QR code landing page for physical store products — redirects scans to PDP with UTM tracking
License MIT
Package module-qr-landing
Short Description QR code landing page for physical store products — redirects scans to PDP with UTM tracking
License MIT
Please rate this library. Is it a good library?
Informations about the package module-qr-landing
Rollpix_QrLanding
Versión en español
SPONSOR: www.rollpix.com
Magento 2 module that serves as a QR code landing page for physical store products. When a customer scans a QR code printed next to a product, the module records the visit and redirects to the product detail page (PDP), preserving UTM parameters for Google Analytics tracking.
Compatibility
| Requirement | Version |
|---|---|
| PHP | 8.1 | 8.2 | 8.3 |
| Magento | 2.4.7 | 2.4.7-p1~p4 | 2.4.8 |
Installation
Via Composer (recommended)
Manual
- Create
app/code/Rollpix/QrLandingand copy all repo files there - Run:
Admin Configuration
Path: Stores > Configuration > Rollpix > QR Landing
| Field | Type | Default | Scope |
|---|---|---|---|
| Enable Module | Yes/No | Yes | Store View |
| Enable Tracking | Yes/No | Yes | Store View |
| Identifier Type | Select | SKU | Store View |
| Fallback URL | Text | / |
Store View |
What It Does
QR Landing Controller (/qr/{sku})
- Receives QR scan via URL like
/qr/ABC123?utm_source=qr_store - Validates that the module is enabled for the current store view
- Resolves the SKU to a product and verifies it exists and is enabled
- Records the visit in
rollpix_qr_visits(automatic when tracking is enabled, with 5-minute deduplication per IP+SKU) - Sanitizes all stored inputs (strip_tags + length truncation)
- Redirects (302) to the product page, appending UTM parameters
- If the product is not found, redirects to the Fallback URL (defaults to homepage); shows 404 if fallback is empty
REST API — Status (GET /V1/rollpix-qr/status)
- Auth: Bearer token (admin)
- ACL:
Rollpix_QrLanding::status - Returns:
{ "enabled", "tracking_enabled", "module_version", "identifier_type" }
REST API — Report (GET /V1/rollpix-qr/report)
- Auth: Bearer token (admin)
- ACL:
Rollpix_QrLanding::report - Query params:
from,to(Y-m-d),sku,page,pageSize - Returns visit aggregations by SKU and daily counts
Behavior When Disabled
/qr/{sku}returns 404 (or redirects to fallback URL if configured)- REST APIs still respond (they report
enabled: false) - No visits are recorded
Technical Architecture
| Component | Type | Purpose |
|---|---|---|
QrRouter |
Custom Router | Parses /qr/{sku} into controller params |
Controller\Qr\Index |
HttpGetActionInterface | Landing logic: validate, track, redirect |
Helper\Config |
Config reader | Reads rollpix_qrlanding/general/* |
Model\Status |
API implementation | Returns module status |
Model\Report |
API implementation | Aggregated visit report |
Manual Testing Guide
Uninstall
Via Composer
Manual
The rollpix_qr_visits table will be removed automatically on module uninstall via composer. For manual removal, drop it manually.
License
MIT
All versions of module-qr-landing with dependencies
PHP Build Version
Package Version
Requires
php Version
~8.1.0||~8.2.0||~8.3.0
magento/framework Version *
magento/module-catalog Version *
magento/module-store Version *
magento/module-webapi Version *
magento/framework Version *
magento/module-catalog Version *
magento/module-store Version *
magento/module-webapi Version *
The package rollpix/module-qr-landing contains the following files
Loading the files please wait ...