{"id":14968604,"url":"https://github.com/mglaman/commerce_examples","last_synced_at":"2025-10-26T04:31:07.322Z","repository":{"id":68373178,"uuid":"52552771","full_name":"mglaman/commerce_examples","owner":"mglaman","description":"Examples module for Drupal Commerce 2.x","archived":false,"fork":false,"pushed_at":"2018-03-15T19:24:40.000Z","size":285,"stargazers_count":55,"open_issues_count":10,"forks_count":15,"subscribers_count":20,"default_branch":"master","last_synced_at":"2024-09-28T10:24:08.725Z","etag":null,"topics":["demo","drupal","drupal-commerce"],"latest_commit_sha":null,"homepage":"","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/mglaman.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}},"created_at":"2016-02-25T19:57:52.000Z","updated_at":"2024-07-21T20:48:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"d1c8e100-53c8-4ca9-af3e-4104b27f4679","html_url":"https://github.com/mglaman/commerce_examples","commit_stats":{"total_commits":71,"total_committers":5,"mean_commits":14.2,"dds":0.05633802816901412,"last_synced_commit":"059ddfac066aa856d326e55c52c23971cb1fc0a6"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mglaman%2Fcommerce_examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mglaman%2Fcommerce_examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mglaman%2Fcommerce_examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mglaman%2Fcommerce_examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mglaman","download_url":"https://codeload.github.com/mglaman/commerce_examples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219864035,"owners_count":16555943,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["demo","drupal","drupal-commerce"],"created_at":"2024-09-24T13:40:17.445Z","updated_at":"2025-10-26T04:31:01.816Z","avatar_url":"https://github.com/mglaman.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Commerce Examples [![Build Status]\n===============================\n\nAn examples module for Commerce 2.x. Provides some usually defaults and a sample\nmigration.\n\nFor demo, see https://github.com/bojanz/commerce_demo\n\n## Installation\n\nAdd this private repository to the composer configuration repositories list:\n```\ncomposer config repositories.mglaman vcs https://github.com/mglaman/commerce_examples\n```\n\nThen, install this module:\n```\ncomposer require drupal/commerce_examples:dev-master\n```\n\n## Features\n\n* Sample product type\n* Color and size attributes\n* Sample product display and add to cart form configurations\n* Migration example from local CSV source\n* Price resolvers\n* Order type resolvers\n\n#### Price resolver\n\nVisit any product and add `?discount=TRUE` to trigger a 15% discount.\n\n#### Order type resolver\n\nBased on the product variation type, the product will go into the default order type, or be treated as digital.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmglaman%2Fcommerce_examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmglaman%2Fcommerce_examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmglaman%2Fcommerce_examples/lists"}