{"id":23765822,"url":"https://github.com/solidusio-contrib/solidus_product_assembly","last_synced_at":"2025-04-09T20:09:27.228Z","repository":{"id":8580956,"uuid":"57402480","full_name":"solidusio-contrib/solidus_product_assembly","owner":"solidusio-contrib","description":":package: Create a Solidus product composed of other products.","archived":false,"fork":false,"pushed_at":"2024-02-01T14:56:53.000Z","size":507,"stargazers_count":14,"open_issues_count":3,"forks_count":41,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-04-09T20:09:23.605Z","etag":null,"topics":["admin","assembly","bundles","ecommerce","extension","product","solidus"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/solidusio-contrib.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}},"created_at":"2016-04-29T17:42:23.000Z","updated_at":"2025-01-11T08:51:05.000Z","dependencies_parsed_at":"2024-12-31T23:18:18.400Z","dependency_job_id":"75bc0385-c209-457b-b789-cbda0783d245","html_url":"https://github.com/solidusio-contrib/solidus_product_assembly","commit_stats":{"total_commits":346,"total_committers":65,"mean_commits":5.323076923076923,"dds":0.7485549132947977,"last_synced_commit":"8e0264474ccd555c5a83eb92eca5e2ae990e8b14"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solidusio-contrib%2Fsolidus_product_assembly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solidusio-contrib%2Fsolidus_product_assembly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solidusio-contrib%2Fsolidus_product_assembly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solidusio-contrib%2Fsolidus_product_assembly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/solidusio-contrib","download_url":"https://codeload.github.com/solidusio-contrib/solidus_product_assembly/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248103871,"owners_count":21048245,"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":["admin","assembly","bundles","ecommerce","extension","product","solidus"],"created_at":"2024-12-31T23:18:08.987Z","updated_at":"2025-04-09T20:09:27.201Z","avatar_url":"https://github.com/solidusio-contrib.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Solidus Product Assembly\n\n[![CircleCI](https://circleci.com/gh/solidusio-contrib/solidus_product_assembly.svg?style=shield)](https://circleci.com/gh/solidusio-contrib/solidus_product_assembly)\n[![codecov](https://codecov.io/gh/solidusio-contrib/solidus_product_assembly/branch/master/graph/badge.svg)](https://codecov.io/gh/solidusio-contrib/solidus_product_assembly)\n\nCreate a product which is composed of other products.\n\n## Installation\n\nAdd solidus_product_assembly to your Gemfile:\n\n```ruby\ngem 'solidus_product_assembly'\n```\n\nBundle your dependencies and run the installation generator:\n\n```shell\nbin/rails generate solidus_product_assembly:install\n```\n\n## Usage\n\nTo build a bundle (assembly product) you'd need to first check the \"Can be part\"\nflag on each product you want to be part of the bundle. Then create a product\nand add parts to it. By doing that you're making that product an assembly.\n\nThe store will treat assemblies a bit different than regular products on checkout.\nSpree will create and track inventory units for its parts rather than for the product itself.\nThat means you essentially have a product composed of other products. From a\ncustomer perspective it's like they are paying a single amount for a collection\nof products.\n\n## Development\n\n### Testing the extension\n\nFirst bundle your dependencies, then run `bin/rake`. `bin/rake` will default to building the dummy\napp if it does not exist, then it will run specs. The dummy app can be regenerated by using\n`bin/rake extension:test_app`.\n\n```shell\nbin/rake\n```\n\nTo run [Rubocop](https://github.com/bbatsov/rubocop) static code analysis run\n\n```shell\nbundle exec rubocop\n```\n\nWhen testing your application's integration with this extension you may use its factories.\nSimply add this require statement to your `spec/spec_helper.rb`:\n\n```ruby\nrequire 'solidus_product_assembly/testing_support/factories'\n```\n\nOr, if you are using `FactoryBot.definition_file_paths`, you can load Solidus core\nfactories along with this extension's factories using this statement:\n\n```ruby\nSolidusDevSupport::TestingSupport::Factories.load_for(SolidusProductAssembly::Engine)\n```\n\n### Running the sandbox\n\nTo run this extension in a sandboxed Solidus application, you can run `bin/sandbox`. The path for\nthe sandbox app is `./sandbox` and `bin/rails` will forward any Rails commands to\n`sandbox/bin/rails`.\n\nHere's an example:\n\n```\n$ bin/rails server\n=\u003e Booting Puma\n=\u003e Rails 6.0.2.1 application starting in development\n* Listening on tcp://127.0.0.1:3000\nUse Ctrl-C to stop\n```\n\n### Updating the changelog\n\nBefore and after releases the changelog should be updated to reflect the up-to-date status of\nthe project:\n\n```shell\nbin/rake changelog\ngit add CHANGELOG.md\ngit commit -m \"Update the changelog\"\n```\n\n### Releasing new versions\n\nPlease refer to the dedicated [page](https://github.com/solidusio/solidus/wiki/How-to-release-extensions) on Solidus wiki.\n\n## Contributing\n\nSpree is an open source project and we encourage contributions. Please see the [Community Guidelines](https://solidus.io/community-guidelines/) before contributing.\n\nIn the spirit of [free software](http://www.fsf.org/licensing/essays/free-sw.html), **everyone** is encouraged to help improve this project.\n\n## License\n\nCopyright (c) 2014 [Spree Commerce Inc.](https://github.com/spree) and [contributors](https://github.com/spree/spree-product-assembly/graphs/contributors), released under the [New BSD License](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolidusio-contrib%2Fsolidus_product_assembly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsolidusio-contrib%2Fsolidus_product_assembly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolidusio-contrib%2Fsolidus_product_assembly/lists"}