{"repo":"solidusio-contrib/solidus_product_assembly","free":true,"listed":false,"github":"https://github.com/solidusio-contrib/solidus_product_assembly","clone":"git clone https://github.com/solidusio-contrib/solidus_product_assembly.git","description":":package: Create a Solidus product composed of other products.","language":"Ruby","stars":14,"topics":["solidus","assembly","product","bundles","admin","extension","ecommerce"],"license":"BSD-3-Clause","category":"ecommerce","readme_excerpt":"Solidus Product Assembly Create a product which is composed of other products. Installation Add solidus product assembly to your Gemfile: Bundle your dependencies and run the installation generator: Usage To build a bundle (assembly product) you'd need to first check the \"Can be part\" flag on each product you want to be part of the bundle. Then create a product and add parts to it. By doing that you're making that product an assembly. The store will treat assemblies a bit different than regular products on checkout. Spree will create and track inventory units for its parts rather than for the product itself. That means you essentially have a product composed of other products. From a customer perspective it's like they are paying a single amount for a collection of products. Development Testing the extension First bundle your dependencies, then run bin/rake . bin/rake will default to building the dummy app if it does not exist, then it will run specs. The dummy app can be regenerated by using bin/rake extension:test app . To run Rubocop static code analysis run When testing your application's integration with this extension you may use its factories. Simply add this require statement to your spec/spec helper.rb : Or, if you are using FactoryBot.definition file paths , you can load Solidus core factories along with this extension's factories using this statement: Running the sandbox To run this extension in a sandboxed Solidus application, you can run bin/sandbox . The path fo","default_branch":null,"files":null,"tree":[],"storefront":"/r/solidusio-contrib","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/solidusio-contrib/solidus_product_assembly/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}