Spree Commerce extends the idea of a “product” with a set of abstract concepts. In Part One we reviewed how Spree deals with products, variants and taxons. Now we'll show you how options and prototypes help you build a store that’s easy to use, manage, and maintain.
Organize Variants with Options
Most of the time when a product has variants, they aren’t an arbitrary list. There are characteristics that define what kinds of variants you expect to have. In our t-shirt example, these characteristics were size, colour and fit (men’s or women’s). If you’re selling cupcakes your variants might be defined by flavors and quantities (single cupcake, box of twelve, party pack).
In Spree jargon, each of these characteristics is an option (or option type) and the different possibilities for variants are option values.
Why add this extra level of complexity? First, options can be reused. Once you’ve told Spree that t-shirts come in sizes and the available sizes are S, M, L , and XL, you can apply the size option to every new t-shirt. You don't have to re-enter the size values.
Second, options help customers navigate large sets of variants. A shoe store, for example, might provide drop-down selectors so customers can select their shoe size and the color they want from the available options, and be shown the variant that matches their selection. A store selling nuts and bolts might use options to build a table of variants where customers can look up the item that matches their requirements.
You don’t have to use the same options for all products. Different products can have different options, depending on what characteristics are relevant for organizing each product’s variants.
Speed up your workflow with Prototypes
Prototypes are groups of options that go together. T-shirts always have size, color and fit options. Rather than type these in for each new t-shirt, we can set up a prototype that already has these options configured. When we create a new t-shirt, we tell Spree we want the “t-shirt” prototype and the new product starts with size, color and fit options.
Prototypes can also retain properties, and you can set up as many of them as you like for different kinds of products.
Prototypes are particularly useful if you have a lot of data entry and multiple staff doing it. Setting up prototypes for common kinds of products speeds up work and reduces the opportunities to make a mistake.
Spree’s built-in components provide a comprehensive set of tools for describing a wide variety of product types. By understanding variants, taxons, properties, options and prototypes, you can manage complex product catalogues with standard, out-of-the-box Spree.
Rather than duplicating with custom programming what Spree already provides, you can allocate your development budget to new features that improve the customer experience. If you’d like help with your project please get in touch.
Let's work together
Tell us about your project and we'll get back to you shortly.
Join The Conversation
More On The Blog
2022 ECommerce SEO Checklist: Ranking Factors That Will Matter
It’s no secret that any successful eCommerce store should stay updated with all SEO best practices. We have seen it happen with many of our clients and others in the industry, as lead conversion and mobile revenue are directly tied to your store’s Google rankings. To help you get an in-depth overview of how to rank your store on Google in the future, we have put together a 2022 eCommerce SEO checklist.
Sol Dieguez — Jan 19, 2022
Solidus vs Spree: Which Is Better For Your eCommerce? - 2022 Update
At Resolve Digital, we have clients who prefer to work with both of these platforms. Thanks to years of experience, our team knows the ins and outs of Spree eCommerce and the newer Solidus framework. To help you decide which one is best suited for your company’s online retail needs, we have put together a comparative article explaining the differences between them.
Sol Dieguez — Jan 12, 2022
What's New In eCommerce Trends For 2022
The COVID-19 pandemic accelerated the mainstream use of online retail and helped to position several eCommerce stores within the market. This brought drastic changes to the once usual customer habits and eCommerce global trends. That’s why you need to keep an eye on the latest shifts of the market and optimize your company’s store according to the eCommerce trends for 2022.
Sol Dieguez — Jan 6, 2022