Skip to content

Commit

Permalink
removed prototype section of guide since Solidus removed it.
Browse files Browse the repository at this point in the history
  • Loading branch information
Reddshift committed May 22, 2017
1 parent 2ca67cd commit 98f67e2
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions guides/products_and_variants.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Variant records can track some individual properties regarding a variant, such a

### Master Variants

A master variant is like a template or set of defaults for other product variants. Every product has a master variant. Whenever a product is created, a master variant for that product will also be created. If there are no option types on a product, then there is only 1 variant (the master variant). If 1 or more option types are created for a Product, the master variant becomes a template for the others, and is not actually "salable" itself.
A master variant acts as a template or set of defaults for other product variants. Every product has a master variant. Whenever a product is created, a master variant for that product will also be created. If there are no option types on a product, then there is only 1 variant (the master variant). If 1 or more option types are created for a Product, the master variant becomes a template for the others, and is not actually "salable" itself.

There are a couple advantages of the master variant concept:

Expand Down Expand Up @@ -116,10 +116,6 @@ $ product.prices
=> [#<Spree::Price id: 2 ...]
```
## Prototypes
A prototype is a useful way to share common `OptionType` and `Property` combinations amongst many different products. For instance, if you're creating a lot of shirt products, you may wish to maintain the "Size" and "Color" option types, as well as a "Fitting Type" property.
## Taxons and Taxonomies
Taxonomies provide a simple, yet robust way of categorizing products by enabling store administrators to define as many separate structures as needed.
Expand Down

0 comments on commit 98f67e2

Please sign in to comment.