Skip to content

Instantly share code, notes, and snippets.

@lmmendes
Last active December 13, 2016 14:44
Show Gist options
  • Select an option

  • Save lmmendes/a3d20d718d6710aac2d530597cef65b8 to your computer and use it in GitHub Desktop.

Select an option

Save lmmendes/a3d20d718d6710aac2d530597cef65b8 to your computer and use it in GitHub Desktop.
Spree Commerce Structuring a Site

Structuring a site using Spree

For context I'm new to spree and trying to build a site on to of it.

Right now I'm not sure on how to structure the site, I read some articles from resolve.digital a Spree Shop regarding on "How to Organize Products with Spree Commerce" (Part One, Part Two) but it didn't offer any advice on how to organize the taxonomies or Taxons that support the products.

Navigation Menu

Here is an example from a site that they did (http://au.unitedcellars.com/), how should I organize the information to represent this menu format?

Jumbo Menu

From the image you can see that Wines have a type, eg: Reds, Whites.. there are many more types that don't show up, the same goes for Varietals, Countries and Regions.

Q1: I'm guesseing that I should have a Taxonomie called "Navigation Menu" and inside that Taxonomie I should have the following Taxons "Wines", "Varietals", "Countries", "Regions" and a special one called "highlight" that is represented by the "Popular Now".

Q2: The wine types "Reds", "Whites" and the "Varietals" like "Shiraz" and "Merlot" I'm guessing that they are properties of the Wine How can I associate the properties values with the Taxons?

Is this done manually? I know that I what to have a Wines Taxon called "Reds" so I manually type inside the Taxon "Wines" the "Reds" and make the slugs match with the property slug? The same procedure goes for "Varietals", "Countries" and "Regions".

Q3: In guessing that the highlight taxon called eg: "Popular Now" is simply associated to the product that I wish to highligh.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment