Code Monkey home page Code Monkey logo

hummingbird's Introduction

Hummingbird theme

This is a PrestaShop's theme we are working on. Please, if you work on this theme, use the 8.1.x branch of PrestaShop to make sure this theme is compatible with the latest 8.1.x version.

Read more about this theme on the blog.

image

How to build assets

Same as the PrestaShop project, you need at least NodeJS 14.x and NPM 7 in order to build the project.

First you need to install every node module:

npm ci

then create a .env file inside the webpack folder by copying webpack/.env-example and complete it with your environment's informations. Please use a free tcp port.

then build assets:

npm run build

Documentation

We use Storybook as a documentation. As the theme is currently in development, there is a lot of work on documentation. Don't hesitate to add whatever you feel usefull to it.

Contributing

Please refer to the contributing guide

Continuous Integration

The CI runs contain stylelint, eslint, TypeScript type checks.

Continuous Deployment

When develop is merged into master, the Storybook is delivered almost instantly to his public link using a Github Pages.

License

This theme is released under the Academic Free License 3.0

hummingbird's People

Contributors

boherm avatar davidglezz avatar dennispw avatar devmysoft avatar ga-devfront avatar gytiszum avatar hlavtox avatar jblach avatar jf-viguier avatar klemart3d avatar kpodemski avatar lramos-prolaser avatar lucrp avatar matks avatar matthieu-rolland avatar micka-fdz avatar mparvazi avatar nicosomb avatar oksydan avatar pawelkierklo avatar prestaedit avatar progi1984 avatar pululuk avatar rodriciru avatar sharakpl avatar sudo-do avatar tblivet avatar touxten avatar tswfi avatar yannicka avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hummingbird's Issues

[DESKTOP - Product Page] Right column

Epic: #2
Responsive's issue: #7

Link to Figma prototype

Info

Contains every information of the product: Prices, availability, attributes, quantity and add to cart button.
Also contains block reassurance module

UX and design explanations

  • Unavailable colors are crossed out
  • Buttons have 4px radius
  • Selected combinations are highlighted
  • The name of the selected color is indicated, useful for color blind people

Mockups

Default
desktop-rightcolumn-default

Disable
desktop-rightcolumn-disable

Dropdown
desktop-rightcolumn-dropdown

Boxes
desktop-rightcolumn-boxes

Product pack
desktop-rightcolumn-pack

[DESKTOP - Product Page] Image and slider

Epic: #2
Responsive's issue: #4

Link to Figma prototype

UX explanations

  • Layout changes and image thumbnails are now placed on the left side of the main image to save space from scrolling
  • The selected image is still visually indicated by a purple outline to let customers know which image is selected
  • Horizontal Scroll

Mockup

image and slider

[DESKTOP - My account Page] Home page

Epic: #2
Responsive's issue: #25

Link to Figma prototype

UX and design explanations

  • Navigation menu is always available on the left side because it allows users to easily navigate between different pages in 1 click
  • This account page serves as a true “home base” by including all pages account features
  • Icons are used to communicate the location of each page so users can identify them quickly
  • A short description has been added to each page to inform its content to users
  • The Sign out button is highlighted in red

Mockup

desktop - account page

[EPIC] Build the new theme

Here is the list of the task needed to create the new theme of PS 8.0

Figma link for mockups

Desktop tasks

Home page

Product page

Category page

Cart page

Checkout page

Sign in page

My account page

Manufacturer, Store, Sitemap, and Contact us pages

Components


Responsive tasks

Home page

Product page

Category page

Cart page

Checkout page

Sign in page

My account page

Manufacturer, Store, Sitemap, and Contact us pages

Components

[RESPONSIVE - My account Page] Home page

Epic: #2
Desktop's issue: #19

Link to Figma prototype

UX and design explanations

  • This account page serves as a true “home base” by including all pages account features
  • Icons are used to communicate the location of each page so users can identify them quickly
  • A short description has been added to each page to inform its content to users
  • The Sign out button is highlighted in red

Mockup

responsive - account page

Option to make Combinations required.

Is your feature request related to a problem? Please describe.
The problem starts when a customer decides to use the add the cart button from the home screen. This step uses default combinations to add items to the cart; therefore, store owners will get a wrong order and eventually have to return the item.

Describe the solution you'd like
To solve this problem, a feature should be introduced. In the BO if a default product combination is not selected then the customer should be forced to select combinations to ensure correct products are added to cart for an order.

In the below image - default style and size are selected. Even though the user wants a t-shirt for a girl with size L.

image

[DESKTOP - Component] Product list

Epic: #2
Responsive's issue: #46

Link to Figma prototype

UX and design explanations

  • Tags have a 8px margin
  • Text is aligned on the left
  • First letter of the text is in capital
  • On hover, the card has a shadow
  • On hover, the button "quick view" appears

Mockups

Home Page and Product Page
desktop-homepage- productlist

Category Page
desktop-categorypage-productlist

Hover behaviors
desktop-productlist-hover-1
desktop-productlist-hover-2

[RESPONSIVE - My account Page] Addresses

Epic: #2
Desktop's issue: #21

Link to Figma prototype

UX and design explanations

  • When adding a new address, the button "Save" has been replaced by "Add new address"
  • When editing an existing address, the wording "Update" has been replaced by "Edit". The button is still "Save".

Mockups

List of addresses
responsive - addresses

Add new address
responsive - add new address

Edit address
responsive - edit address

[RESPONSIVE - My account Page] Order history and details

Epic: #2
Desktop's issue: #22

Link to Figma prototype

UX and design explanations

Breadcrumbs

  • Ellipsis is used for breadcrumb, which means that some words have been shortened to fit the breadcrumb in a single line

Alignement

  • The header text in the first column is differentiated from the second column text by a heavier weight. It makes the header easy to read with its contrast.
  • The numeric alignment is applied for data related to size (e.g. the currency). The font used for numeric alignment is "Monospace", also known as "Tabular" font. This means that a wide letter such as "W" that is bigger than "I" will have the same width. It allows users to scan numerical data easier.
  • First column of data is aligned to the left and the second one is aligned to the right

Order details

  • Sections are better defined and identifiable by dividers and section titles (e.g. Addresses, Products, Tracking, etc)
  • In terms of alignment, the same rules apply
  • Image of the purchased product has been added so customers can remember the look of the product
  • Total price is differentiated from the rest by a heavier weight to create a contrast so it can easily be identified
  • Affordance has been improved by transforming the "Reorder" link into a button

Mockups

Order history and details
responsive - order history and details

Order details
responsive - order details

Add an option to be able to enable/disable the display of the copyright "Ecommerce software by PrestaShop" in the footer

This issue has been migrated from the Forge. Read the original ticket here.

  • Reporter: marion_francois
  • Created at: Thu, 12 Apr 2018 09:10:49 +0200

Before in 1.6 version we had the CMS block module allowing to configure links in the footer and display or not the copyright "powered by PrestaShop".

This module has been replaced in 1.7 by the tab Design > Link Widget.
But we can't anymore choosing to display or not the copyright.

So, if I want to remove it, I have to edit the file in templates/_partials/footer.tpl, which isn't easy for a merchant

Specs

  1. In Shop parameters > General page, under "Display best sellers", add a toggle "Display PrestaShop copyright in the footer" Yes/no, set on Yes by default.
  2. If the toggle is set on No, then the following sentence will not be displayed:
    capture d'écran_2924

[RESPONSIVE - Home Page] Categories

Epic: #2
Desktop's issue: #40

Link to Figma prototype

UX and design explanations

  • The category section allows users to easily access a specific category
  • It also allows merchants to showcase some of their categories
  • This section is positioned between the banner and the popular products

Mockup

responsive - categories

[RESPONSIVE - Product Page] Image and slider

Epic: #2
Desktop's issue: #3

Link to Figma prototype

UX and design explanations

  • Main image is full width
  • Image thumbnails allow users to jump directly from an image to another one
  • Image thumbnails are positioned below the main image because it's closer to users' thumb, so more reachable
  • The selected image is still visually indicated by a purple outline to let customers know which image is selected
  • It's also important to indicate how many image thumbnails the product has, with the slider indicator at the bottom of the main image
  • Arrows indicates if users can swipe left and/or right
  • When clicking on the main image, it activates the full screen

Mockups

responsive - image and slider-1
responsive - image and slider-2

Full screen when clicking on the main image
responsive - image and slider full screen

[DESKTOP - Home Page] Categories

Epic: #2
Responsive's issue: #39

Link to Figma prototype

UX and design explanations

  • The category section allows users to access a specific category
  • It also allows merchants to showcase some of their categories
  • This section is positioned between the banner and the popular products

Mockup

desktop - categories

[DESKTOP - My account Page] Order history and details

Epic: #2
Responsive's issue: #28

Link to Figma prototype

UX and design explanations

Alignement

  • The header text is differentiated from column text by a heavier weight. It makes the header easy to read with its contrast.
  • The numeric alignment is applied for data related to size (e.g. the currency). The font used for numeric alignment is "Monospace", also known as "Tabular" font. This means that a wide letter such as "W" that is bigger than "I" will have the same width. It allows users to scan numerical data easier.
  • Textual data is aligned to the left (e.g. Order reference or Payment)
  • Headers are aligned according to their column data

Order details

  • Sections are better defined and identifiable by dividers and section titles (e.g. Addresses, Products, Tracking, etc)
  • In terms of alignment, the same rules apply
  • Image of the purchased product has been added so customers can remember the look of the product
  • Total price is differentiated from the rest by a heavier weight to create a contrast so it can easily be identified
  • Affordance has been improved by transforming the "Reorder" link into a button

Mockups

Order history and details
desktop - order history and details

Order details
desktop - order details

[RESPONSIVE - Product Page] Right column

Epic: #2
Desktop's issue: #6

Link to Figma prototype

Info

Contains every information of the product: Prices, availability, attributes, quantity and add to cart button.
Also contains block reassurance module

UX and design explanations

  • Unavailable colors are crossed out
  • Buttons have 4px radius
  • Selected combinations are highlighted
  • The name of the selected color is indicated, useful for color blind people

Mockups

Default
responsive-rightcolumn-default

Disable
responsive-rightcolumn-disable

Dropdown
responsive-rightcolumn-dropdown

Boxes
responsive-rightcolumn-boxes

Product pack
responsive-rightcolumn-pack

[DESKTOP - My account Page] Addresses

Epic: #2
Responsive's issue: #27

Link to Figma prototype

UX and design explanations

  • Navigation menu on the left allows users to go to navigate to other pages with only 1 click
  • When adding a new address, the button "Save" has been replaced by "Add new address"
  • When editing an existing address, the wording "Update" has been replaced by "Edit". The button is still "Save".

Mockups

List of addresses
desktop - addresses

Add new address
desktop - add new address

Edit address
desktop - edit address

In FO product page, move the number of items in stock before the 'Add to cart' button and before to the stock label

Is your feature request related to a problem?

As a visitor, I want to know easily how many products are in stock when I am in the product page.
Currently, this information is displayed in the "product details" tab of the product page and not highlighted enough.

capture d'écran_3113

Describe the solution you'd like

If the "Display available quantities on the product page" is enabled in BO product settings page and if the product quantity is > 0, we should display the number of items in stock before “add to cart” button and just before the stock label:
Availability: X in stock - Delivered within 48 hours (in stock here is the "label of in stock product" defined by the merchant in product settings) in green #5A9166

The stock quantity should change according to the combination selected.

Detail of specs and mockups

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.