Skip to content

This is the job test if you wish to be a front-end developer at Blazar Capital

Notifications You must be signed in to change notification settings

aleksandar89d/shopify-test

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Shopify test

This is the job test if you wish to be a front-end developer at Blazar Capital

Contents

When you have completed this test you will have demonstrated skills/knowledge in

  • git
  • html
  • css
  • javascript
  • liquid

Requirements

When building the different elements make sure to apply responsivness, so the page looks good on the following media queries:

  • Mobile - 375px
  • Tablet/Desktop - 768px

Hero banner:

  • Show Collection title
  • Show Collection image
  • File located in theme/snippets/collection-collection-hero.liquid

Product list:

  • Iterate over the products in the collection.
  • Use product-card snippet to render product and prevent repetitive code.
  • File located in theme/snippets/collection-product-list.liquid

Product card:

  • Show Product title
  • Show Product size and Product color. Only included in the product title.
    • Find a smart way to show them display them separately.
  • The Product price.
  • The 'Add to cart' button should only show on hover for desktop and always be visible for mobile.
  • File located in theme/snippets/product-card.liquid

Add to cart button:

  • Use a click event to add the product to the cart.
    • A product id and quantity is required when adding an item to the cart.

Mini cart:

  • Should always show the current number of products in the cart.
  • File located in theme/snippets/mini-cart.liquid

Stylesheets

  • Located in theme/assets/theme.scss.liquid

Scripts:

  • Located in theme/assets/theme.js.liquid

Bonus Requirement

Pagination:

  • You should be able to navigate through the products. Make sure you have at least 10 products.
  • Note: Shopify allows a maximum of 50 products per page.

Instructions

To complete this test.

  1. Fork this repository
  2. Create a website based on the supplied PSD-file (it is not required to use the images from the PSD-file)
  3. Create a pull request to this repository

Note: Both products and collection have already been created in Shopify and available through Liquid. So there's no need to upload any assets.

Prerequisites

ThemeKit by Shopify

ThemeKit allows you sync your local theme files to your Shopify store. You will be provided with

  • A config.yml file to connect to your store to be placed in your root of your theme directory.
  • A preview link to view your changes.

How to use:

  • Navigate to your theme directory and run theme watch -a to start the sync between your local theme files and the store.

Instructions

To complete this test.

  1. Fork this repository
  2. Create a website based on the supplied desig files in the design directory (All images and icons are already in theme or available from Shopify)
  3. Create a pull request to this repository

Helpful links

Liquid documentation

Liquid cheatsheet by Shopify

About

This is the job test if you wish to be a front-end developer at Blazar Capital

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Liquid 100.0%