Skip to content

Wishlist Template Sub-module#3

Open
joshmiller83 wants to merge 12 commits into8.x-3.xfrom
2794531
Open

Wishlist Template Sub-module#3
joshmiller83 wants to merge 12 commits into8.x-3.xfrom
2794531

Conversation

@joshmiller83
Copy link
Contributor

@joshmiller83 joshmiller83 commented Sep 2, 2016

Feature Overview

A new entity, called wishlist_template, can be used to filter and display a wishlist view. To the customer, we will present a list of one or more "recommended" categories when viewing their wishlist through a template block. Each block will have a configurable taxonomy term view mode dropdown, allowing you to link them using the theming system to any given page you want. If a product is in the wishlist that matches a category, it will appear underneath the category. Each category will have a recommended quantity but will not enforce or require the quantity.

The idea is that you could create a "wishlist kit" or a "shopping list" and provide links and visual feedback on their progress towards filling their list. The block would be able to tell you the total amount in the wishlist. And, of course, it is possible, just like a cart, to checkout with a wishlist. Meaning you can easily help customers build a significant cart up and then checkout with the contents or feel no pressure and save it for later.

Alpha 1 will assume we have only one cart per customer. Obviously this assumption reduces our complexity, but it is not the final goal. The final goal would be to allow the customer to choose a template and a wishlist to compare it against. These could be used as promotions, for example: Consider a blog post that says, "Get ready for winter! 10 kinds of products that will keep your feet toasty and your winter fashion ahead of the curve." And at the end of the blog post there's a link that, when your customer clicks it, creates a "Get ready for winter wishlist" ready with a few selected products and lots of recommended categories based on a template and displays it in the block.

User Stories for Alpha 1

  • As a customer I can view a list of wishlist templates.
  • As a customer I can view a wishlist template.
  • - The order of categories MUST follow the delta order of the wishlist template.
  • As a customer I can click a button entitled "Use this list" to load a wishlist template.
  • - Each wishlist template MUST add at least one product to initialize a wishlist.
  • - The "Use this list" button MAY appear as a field with a field formatter in the display mode screens.
  • As a customer I can view my wishlist as a template in a block
  • - The block MUST ONLY display wishlists with a template applied.
  • As a customer I can click on taxonomy terms from within a wishlist template block.
  • As a customer I can click on "Add to wishlist" buttons and it will appear in my wishlist template block.
  • As an administrator I can create, update, and delete wishlist templates.
  • - Each template MAY designate one or more products per category using an entity reference field on the terms.
  • - The taxonomy term's entity reference field MUST HAVE the "Use this field to add product variations when creating wishlist templates" checkbox checked.
  • - Each template MUST have at least a single term that has a field designated as a default product or it SHOULD NOT validate.
  • - Each template MUST have at least a single product designated as a default product attached to a single term or it SHOULD NOT validate.
  • As an administrator I can add and remove categories to wishlist templates.
  • As an administrator I can add an entity reference field to wishlist templates.
  • - The default order type MUST get a field added automatically.
  • - Any order that has a wishlist template reference attached to it MAY be rendered using that template instead of the typical line item-based view.

Deadline

This will be a part of the Drupal 8 port as a sub-module and will be released in a week or two as a part of the Alpha 1 for Drupal 8's Commerce Wishlist.

@joshmiller83
Copy link
Contributor Author

Moving the template functionality to a separate module.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments