{"id":20961861,"url":"https://github.com/heimrichhannot/contao-isotope-stock-bundle","last_synced_at":"2026-03-07T00:33:14.280Z","repository":{"id":205754107,"uuid":"714953690","full_name":"heimrichhannot/contao-isotope-stock-bundle","owner":"heimrichhannot","description":"A stock extension for isotope compatible with our legacy isotope extensions.","archived":false,"fork":false,"pushed_at":"2025-02-03T07:45:55.000Z","size":79,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-05-14T07:36:01.767Z","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":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/heimrichhannot.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2023-11-06T07:30:44.000Z","updated_at":"2025-02-03T07:45:51.000Z","dependencies_parsed_at":"2024-09-16T14:56:06.697Z","dependency_job_id":"e5c500e0-8c81-458a-b300-d39f08c0ae0a","html_url":"https://github.com/heimrichhannot/contao-isotope-stock-bundle","commit_stats":null,"previous_names":["heimrichhannot/contao-isotope-stock-bundle"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/heimrichhannot/contao-isotope-stock-bundle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heimrichhannot%2Fcontao-isotope-stock-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heimrichhannot%2Fcontao-isotope-stock-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heimrichhannot%2Fcontao-isotope-stock-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heimrichhannot%2Fcontao-isotope-stock-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heimrichhannot","download_url":"https://codeload.github.com/heimrichhannot/contao-isotope-stock-bundle/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heimrichhannot%2Fcontao-isotope-stock-bundle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30204154,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T19:07:06.838Z","status":"ssl_error","status_checked_at":"2026-03-06T18:57:34.882Z","response_time":250,"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":"2024-11-19T02:17:59.322Z","updated_at":"2026-03-07T00:33:09.268Z","avatar_url":"https://github.com/heimrichhannot.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Contao Isotope Stock Bundle\n\n\u003e Oh no, another isotope stock bundle? Yes, but this is just the stock management part of [isotope_plus](https://github.com/heimrichhannot/contao-isotope_plus), [istope-bundle](https://github.com/heimrichhannot/contao-isotope-bundle) and [isotope-exstension](https://github.com/heimrichhannot/contao-isotope-extension-bundle). \n\u003e It is a standalone bundle, so you can just migrate from the old extensions to this one if you only need the stock part. \n\u003e Or maybe this make it easier to migrate to another bundle. Or you need a stock management extension and you like this one. Your choice :)\n\nThis bundle add stock management to [Isotope eCommerce](https://github.com/isotope/core#isotope-ecommerce) [Contao CMS](https://contao.org/de/) extension.\n\n## Features\n\n- add a stock management to Isoptope eCommerce\n  - set stock (and optional initial stock) on products\n  - evaluate stock on order process\n- set max order size per product\n- stock report frontend module\n- twig filter\n\n## Usage\n\n### Installation\n\n1. Install via composer or contao manager:\n\n    ```bash\n    composer require heimrichhannot/contao-isotope-stock-bundle\n    ```\n\n1. Update your database.\n\n### Setup\n\nTo activate stock management, the initial stock field or the max order size feature,\njust activate these attributes in your product type configuration.\n\n### Stock report frontend module\n\nThe stock report frontend module shows all products with stock management and their stock.\n\n![screenshot_stock_report.png](docs%2Fscreenshot_stock_report.png)\n\n### Twig filter\n\nThe twig filter `stock_attribute` can be used to check if a product uses a stock attribute.\n\n```twig\n{% if product|stock_attribute('initialStock') %}\n    {{ (roduct.stock / product.initialStock * 100)|round }}%\n{% endif %}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheimrichhannot%2Fcontao-isotope-stock-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheimrichhannot%2Fcontao-isotope-stock-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheimrichhannot%2Fcontao-isotope-stock-bundle/lists"}