-
Notifications
You must be signed in to change notification settings - Fork 42
Store Items
We are using the Netlify CMS to manage the items in the store. To access the editor, go to https://kodi-tv.netlify.app/admin. (this URL will change to https://kodi.tv/admin once we move everything into production). You will need to login with your GitHub credentials, and only team members who have write access to the kodi-tv repo can add or edit store items.
When you first log in, you'll be presented with a list of existing blog posts. On the left hand side you should select Store to get the Contents list for the store. From here, you can search, sort, select - and then either edit a published store item, or create a new one.
Once you have logged in and switched to the Store list, you can click the button labeled New Item in the upper right part of the page. Store items have a name, URL, group number, and image.
Notes:
- The image can be uploaded when you create the store item, or you can use any image that has been used in store item before.
- The URL is the URL to the item on whatever external store is being used for that item.
- The group number is used to bundle together similar items and determine where in the list that group is. Currently group 10 is all Matrix apparel, group 20 is all Leia/general apparel, group 30 is non-clothing, and group 40 is Pi cases.
You can save store items at any time, and a store item must be saved at least one before you can publish it. Once saved, to publish a store item you set the status to READY and then select the PUBLISH NOW option from the publish menu. This will generate a series of commits to the main
branch, and that will trigger a site build.
Find the store item you want to edit and open it. Once you open an entry, you get the same editor you used to create a store item. Once you save it, you again need to set the store item status to READY and the use the PUBLISH NOW option in the publish menu.
When you save a store item, but don't publish it, it will not appear on the initial contents list: this is purely a list of published store items.
Instead, go to Workflow at the top of the screen to call up store items in various stages of their lifecycle: Draft, In Review, or Ready (based on whatever status is set when editing a a store item).