{"id":41448999,"url":"https://github.com/cronixweb/shopware-avantlink-plugin","last_synced_at":"2026-01-23T15:11:13.519Z","repository":{"id":309224656,"uuid":"1021204643","full_name":"cronixweb/shopware-avantlink-plugin","owner":"cronixweb","description":null,"archived":false,"fork":false,"pushed_at":"2025-11-11T09:18:56.000Z","size":51,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-11-11T11:20:44.787Z","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/cronixweb.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-07-17T04:00:16.000Z","updated_at":"2025-09-26T20:08:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"1fe15b2a-6356-41ec-aab7-d8344dbf228f","html_url":"https://github.com/cronixweb/shopware-avantlink-plugin","commit_stats":null,"previous_names":["cronixweb/shopware-avantlink-plugin"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cronixweb/shopware-avantlink-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cronixweb%2Fshopware-avantlink-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cronixweb%2Fshopware-avantlink-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cronixweb%2Fshopware-avantlink-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cronixweb%2Fshopware-avantlink-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cronixweb","download_url":"https://codeload.github.com/cronixweb/shopware-avantlink-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cronixweb%2Fshopware-avantlink-plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28694466,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T14:15:13.573Z","status":"ssl_error","status_checked_at":"2026-01-23T14:09:05.534Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2026-01-23T15:11:12.781Z","updated_at":"2026-01-23T15:11:13.507Z","avatar_url":"https://github.com/cronixweb.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CronixAvantLink Plugin for Shopware 6\n\n**Official GitHub Repository:** [cronixweb/shopware-avantlink-plugin](https://github.com/cronixweb/shopware-avantlink-plugin)\n\nThe CronixAvantLink plugin integrates AvantLink’s **site-wide** and **order confirmation tracking** scripts into your Shopware 6 storefront — making affiliate tracking simple and automated.\n\n---\n\n## 🛠️ System Requirements\n\n- PHP 8.1 or higher  \n- Docker with Docker Desktop (recommended for local dev)  \n- Shopware 6.6.x or 6.7.x (tested on 6.7)\n  - Minimum Shopware version: 6.6.0.0\n- Composer  \n- Git  \n\n---\n\n## 🚀 Quick Start Guide (Local Setup using Docker)\n\nThis plugin was tested using the `dockware/dev:latest` Docker image.\n\n### 1. Setup Shopware via Docker\n\nCreate a new folder like `shopware_project` and place the following `docker-compose.yml` file inside:\n\n```yaml\nversion: \"3.7\"\n\nservices:\n  shopware:\n    image: dockware/dev:latest\n    container_name: shopware\n    ports:\n      - \"80:80\"         # HTTP\n      - \"3306:3306\"     # MySQL\n      - \"22:22\"         # SSH\n      - \"8888:8888\"     # Mailcatcher\n      - \"9999:9999\"     # Adminer\n    volumes:\n      - shop_volume:/var/www/html\n      - db_volume:/var/lib/mysql\n    environment:\n      - XDEBUG_ENABLED=1\n    networks:\n      - web\n\nvolumes:\n  db_volume:\n  shop_volume:\n\nnetworks:\n  web:\n    driver: bridge\n```\n\nNow run:\n\n```bash\ndocker compose up -d\n```\n\nAfter container starts, you can access:\n\n- Shopware Frontend: http://localhost  \n- Shopware Admin Panel: http://localhost/admin (username: `admin`, password: `shopware`)\n\n---\n\n### 📦 Plugin Installation (Inside Docker)\n\n1. Access Docker Container\n\n```bash\ndocker exec -it shopware bash\n```\n\n2. Navigate to Plugin Directory\n\n```bash\ncd custom/plugins/\n```\n\n3. Clone the Plugin (if not already placed)\n\n```bash\ngit clone https://github.com/cronixweb/shopware-avantlink-plugin.git CronixAvantLink\n```\n\nOr create plugin using:\n\n```bash\nbin/console plugin:create CronixAvantLink\n```\n\nThen copy the folder manually into `custom/plugins`.\n\n4. Install \u0026 Activate Plugin\n\n```bash\nbin/console plugin:refresh\nbin/console plugin:install --activate CronixAvantLink\nbin/console cache:clear\n```\n\n---\n\n## ⚙️ Plugin Features\n\n### ✅ 1. Site-Wide Tracking Integration\n\nAvantLink script is injected globally into your storefront's `\u003chead\u003e` section.\n\nImplemented in:  \n`src/Storefront/Resources/views/storefront/base.html.twig`\n\n---\n\n### ✅ 2. Order Confirmation Tracking Script\n\nTracks orders on the checkout \"Thank You\" page.\n\nImplemented in:  \n`src/Storefront/Resources/views/storefront/page/checkout/finish/index.html.twig`\n\n---\n\n### ✅ 3. Configuration from Admin\n\nGo to:  \n**Shopware Admin \u003e Extensions \u003e CronixAvantLink**\n\nYou can configure:\n\n- Merchant ID  \n- Test Mode  \n- Enable/Disable Tracking  \n- Script Injection Position  \n\n---\n\n### ✅ 4. Event Subscriber\n\nUsed to dynamically inject data into Twig templates from order context.\n\nImplemented in:  \n`src/Storefront/Subscriber/OrderTrackingSubscriber.php`\n\n---\n\n## 🗂️ Plugin Folder Structure\n\n```\nCronixAvantLink/\n├── src/\n│   ├── Resources/\n│   │   ├── config/\n│   │   │   ├── config.xml\n│   │   │   ├── plugin.png\n│   │   │   ├── plugin.xml\n│   │   │   ├── services.xml\n│   │   └── views/\n│   │       └── storefront/\n│   │           ├── layout/\n│   │           │   └── footer/\n│   │           │       └── footer-minimal.html.twig\n│   │           ├── page/\n│   │           │   └── checkout/\n│   │           │       └── finish/\n│   │           │           └── index.html.twig\n│   │           └── base.html.twig\n│   ├── Storefront/\n│   │   └── Subscriber/\n│   │       └── OrderTrackingSubscriber.php\n│   └── CronixAvantLink.php\n├── tests/\n├── composer.json\n├── phpunit.xml\n├── README.md\n\n---\n\n## 🧪 Testing the Plugin\n\n1. Visit the Shopware storefront: [http://localhost](http://localhost)  \n2. Go to checkout and complete a test order.  \n3. Open browser Developer Tools → Network tab → and check if the AvantLink script loads successfully.  \n4. Test configuration changes via plugin settings in the admin.\n\nTo validate the AvantLink plugin using `shopware-cli`:\n\n```bash\nshopware-cli extension validate custom/plugins/CronixAvantLink\n```\n\nSample Output:\n\n```\n✖ 0 problems (0 errors, 0 warnings)\n```\n\n---\n\n## 🛡 License\n\nMIT License\n\n---\n\n## 👨‍💻 Author\n\n**Cronix LLC**  \nWebsite: [https://cronixweb.com](https://cronixweb.com)  \nEmail: [admin@cronixweb.com](mailto:admin@cronixweb.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcronixweb%2Fshopware-avantlink-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcronixweb%2Fshopware-avantlink-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcronixweb%2Fshopware-avantlink-plugin/lists"}