All Projects → shopifypartners → sketch-shopify-data-populator

shopifypartners / sketch-shopify-data-populator

Licence: MIT license
A Sketch App plugin to populate your designs with meaningful ecommerce data. Goodbye Lorem Ipsum. Hello JSON.

Labels

Projects that are alternatives of or similar to sketch-shopify-data-populator

library-replacer-sketchplugin
A Sketch plugin that allows you to replace a library in a Sketch file
Stars: ✭ 19 (+5.56%)
Mutual labels:  sketch
sketch-pages-to-folders
Sketch plugin that exports all the artboards of a Sketch file into folders, which are based on the pages of the Sketch file.
Stars: ✭ 56 (+211.11%)
Mutual labels:  sketch
Sketch-Interactions
Library for creating user flows and add visual connection with Jira tasks in Sketch
Stars: ✭ 40 (+122.22%)
Mutual labels:  sketch
Anime2Sketch
A sketch extractor for anime/illustration.
Stars: ✭ 1,623 (+8916.67%)
Mutual labels:  sketch
gql-sketch
💎 minimal graphql client for Sketch
Stars: ✭ 29 (+61.11%)
Mutual labels:  sketch
Sketch-Resize-Commands
A Sketch plugin that lets you resize and reposition objects by using simple arithmetic commands, like `b+20,lr+20`. Multiple objects are supported.
Stars: ✭ 32 (+77.78%)
Mutual labels:  sketch
dualFace
dualFace: Two-Stage Drawing Guidance for Freehand Portrait Sketching (CVMJ)
Stars: ✭ 46 (+155.56%)
Mutual labels:  sketch
virtual sketching
General Virtual Sketching Framework for Vector Line Art (SIGGRAPH 2021)
Stars: ✭ 111 (+516.67%)
Mutual labels:  sketch
sketch-data-cn
为 Sketch 准备的模拟数据中文版,包含:中文姓名,手机号,省份,城市,地区,公司名,银行名,星期几,详情地址,邮编,邮箱,颜色,广告词等。
Stars: ✭ 39 (+116.67%)
Mutual labels:  sketch
DeepPS
[ECCV 2020] "Deep Plastic Surgery: Robust and Controllable Image Editing with Human-Drawn Sketches"
Stars: ✭ 63 (+250%)
Mutual labels:  sketch
SketchStrap
SketchStrap - Bootstrap customizer
Stars: ✭ 42 (+133.33%)
Mutual labels:  sketch
library-styles-sync
sync shared styles from a Sketch Library to the current document
Stars: ✭ 70 (+288.89%)
Mutual labels:  sketch
stark-sketch-plugin
Ensure your design is accessible and high contrast for every type of color blindness
Stars: ✭ 45 (+150%)
Mutual labels:  sketch
uiLogos-sketch-plugin
Sketch plugin to Insert professionally designed dummy logos of companies and 190+ country flag into SketchApp
Stars: ✭ 26 (+44.44%)
Mutual labels:  sketch
RemoveAllGuides
Plugin for Sketch App.
Stars: ✭ 21 (+16.67%)
Mutual labels:  sketch
sketch-crowdin
Connect your Sketch and Crowdin projects together
Stars: ✭ 35 (+94.44%)
Mutual labels:  sketch
Sketch-Navigator
"Sketch Navigator lets you quickly jump to any specific artboard without having to scan the all too easily cluttered Layers List in the app’s left-hand pane." - Khoi Vinh
Stars: ✭ 160 (+788.89%)
Mutual labels:  sketch
sketchplugin-swift-color
A Sketch Plugin for generating UIColor and NSColor initializer Swift code from fill color of selected layers.
Stars: ✭ 58 (+222.22%)
Mutual labels:  sketch
context-sketch-plugin
Count character, words, and paragraphs from a text layer easily inside Sketch!
Stars: ✭ 13 (-27.78%)
Mutual labels:  sketch
Sketch-Highlighter
Sketch plugin that generates highlights for selected text layers
Stars: ✭ 41 (+127.78%)
Mutual labels:  sketch

Working with Realistic Data in Sketch Using JSON

Sketch Data Populator

Credits

Sketch Data Populator was conceived by precious design studio and developed the plugin in collaboration with Lukas Ondrej to improve our design process for working with data.

For full project details visit Sketch Data Populator

Why Use Data Populator with our Ecommerce Data

Precious Design Studio believe that designers should work with meaningful and realistic data as early as possible in the design process for the following reasons:

  1. Content informs design decisions (and helps you convey your purpose)
  2. Data are relentless (so UI components must be designed for robustness)
  3. It's fun (seeing your design evolve with meaningful data is motivating and rewarding)

Sketch Data Populator not only makes you more productive, it changes the way you design user interfaces.

The ecommerce data presets will let you quickly pick a set of product category images and product info to get you started as quickly as possible on your Shopify project.

Installation

  1. Download the ZIP file (or clone repository)
  2. Move the file Sketch Shopify Data Populator.sketchplugin into your Sketch Plugins folder. In Sketch 3, choose Plugins › Reveal Plugins Folder… to open it.

How to use …

The Sketch Shopify Data Populator plugin creates a grid from a selected element (Layer Group or Artboard) and replaces text and image {placeholders} with data from a JSON source:

Sketch Data Populator

Here's how it works:

  1. Create a Layer Group that contains at least one Text Layer. In these Text Layers, use placeholders for you data fields in curly brackets – such as {firstname} or {lastname}. Within a Text Layer, you can do arbitrary string concatenation such as {lastname}, {firstname}. The plugin's "Populate with …" command will replace all these placeholders with respective data.

  2. In the same Layer Group, create a Shape Layer (this is your image placeholder). Give the Shape Layer a placeholder name in curly brackets – such as {image}. The plugin's "Populate with …" command will replace this placeholder with respective image data (PNG, JPG).

  3. Create another Shape Layer as your icon placeholder. Give it a placeholder name in double curly brackets, something like {{icon}}. Set any of its properties like size, fill color or shadow as desired – all properties will apply to the final icon once populated. The plugin's "Populate with …" command will replace this placeholder with respective icon vector data (SVG).

Available Commands:

Populate with Preset

will display a dialog that allows you to select one of your Presets as well as configure Data and Layout options:

Populate with Preset

Data options

  • Randomize data order: instead of going through the JSON top down row by row, it will pick a random data set.
  • Trim overflowing text: a Text Layer that has been set with a fixed width will trim overflowing text.
  • Insert ellipsis after trimmed text: will insert a "…" after the trimmed text.
  • Default substitute (see below)

Populate again (⌘⇧X)

re-populates all selections with the last used Preset/JSON and options configuration. Great for "shuffling" through different data sets.

Place image

will prompt you for picking an image on your computer and then use it as the background for the selected shape.

Reveal Presets

will point you into the plugin's location for its Presets. Presets are simply JSON files and folders with image assets that live inside the plugin bundle. In there, you can use any desired folder structure. To find the "Preset" folder inside the plugin bundle, right click Sketch Data Populator.sketchplugin and select Show Package Contents.


Check out the Shopify Demo.sketch file to get an idea.


Data format & assets

The data need to be stored in JSON files that can be loaded by the plugin from either the Presets Folder (Populate with Preset) or from any folder on your computer (Populate with JSON). The data in JSON need to be in an array like in this example of apparel products:

[
    {
	    	"id": 1,
	    	"name": "Ayres Chambray",
        "description": "Comfortable and practical, our chambray button down is perfect for travel or days spent on the go. The Ayres Chambray has a rich, washed out indigo color suitable to throw on for any event. Made with sustainable soft chambray featuring two chest pockets with sturdy and scratch resistant corozo buttons.",
        "price": "$99.99",
        "image": "assets/apparel_001.jpeg",
        "thumbnail_001": "assets/apparel_001.jpeg",
        "thumbnail_002": "assets/apparel_001_thumb.jpeg"
    },
    {
	    	"id": 2,
	    	"name": "Duckworth Woolfill",
        "description": "Inspired by the timeless, functional style of your grandfather's work coat, the Foraker features brass buttons and 4 patch pockets. Crafted in Bristol, Tennessee, our 10oz organic duck canvas is light enough for an early summer morning, but rugged enough to handle your days work.",
        "price": "$219.99",
        "image": "assets/apparel_002.jpeg",
        "thumbnail_001": "assets/apparel_002.jpeg",
        "thumbnail_002": "assets/apparel_002_thumb.jpeg",
        "thumbnail_003": "assets/apparel_002_thumb2.jpeg"
    }
]

Note that in the example the image file (JPG) are referenced from a folder called assets. This means all your image and icon data should be placed inside a folder that sits on the same level as your JSON file. The images/icons folders as well as your images and icons can be named anything you like, you just need to reference them relative to your JSON file.

You can also use a full URL to reference your images if that is your preference.

The “apparel” images are from http://unitedbyblue.com, The "products" images are from apple.com.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].