Code Monkey home page Code Monkey logo

insheepsclothing's Introduction

globie-wordpress-starter-pack

v 1.8

Starting point for our wordpress themes

Tech

This works thanks to the great work of:


Create a new theme

git clone [email protected]:interglobalvision/globie-wordpress-starter-pack.git /path/to/new-theme
cd /path/to/new-theme
rm -rf .git
git init

Setup

  • yarn
  • check composer.json if you want moment or other things
  • composer install --prefer-dist
  • webpack

Add new packages

To install new packages use yarn

E.g. Slick Slider

yarn add slick-carousel

Then import js files in main.js:

import 'slick-carousel';

And import css files in site.styl:

@import '~slick-carousel/slick/slick.css';

~ is used to ref node_modules inside stylus

Each package is added differently depending on it's export and nature. Most modern packages are webpack friendly :)

Dev

git clone [email protected]:interglobalvision/globie-wordpress-starter-pack.git /path/to/new-theme
cd /path/to/new-theme

Locally exclude built files and stuff. Edit .git/info/exclude:

composer.lock
dist/

insheepsclothing's People

Watchers

 avatar

insheepsclothing's Issues

[QA] Shop Page Layout

  • Price typography: Body bold on desktop, and small body bold on mobile

  • STORE needs to be centered on mobile

  • Replace the + and - signs with the ones in design

Image
Image

  • Reduce padding between product image and product artist to 8px (currently 20px)
    Image

  • Reduce padding between product album and format information to 8px
    Image

  • Reduce vertical padding between products from 20px (currently 40px)
    Image

  • Text in Sort By dropdown should have 12px margin on left side

  • Sort by dropdown right edge should right align to the arrow / product grid
    Image

  • On mobile, the results and sort by dropdown need to be moved above the grid. On mobile, they do not need the container border. They should sit 12px above products and have 40px of space between itself and the JOIN THE RECORD CLUB button
    Image

  • Mobile JOIN THE RECORD CLUB button should have this layout (should not be full width)
    Image

  • Mobile PRE-ORDER button needs to over hang on the right the same distance as it is above
    Image

  • Mobile: Price on product cards needs to be below all of the product information. Please refer to this screenshot for spacing of mobile cards
    Image

  • Cart icons should be 20px wide, and cart quantity is ROM condensed size 24
    Image

  • On mobile only, the Categories should be in a drawer as well, and the default state should be SHOP ALL when the user gets to the page.

  • The number to indicate number of genres/formats selected, should be body bold

  • The grey line underneath format and genre moves underneath all the categories in that section when it is expanded
    Image

[QA] Shop Page typography

Design in Figma

Note that when you click into a text element on Figma while in Dev Mode, you can view the Typography to the right. Example:

Image

  • SHOP text should be H1
  • Change language from SHOP to STORE (my bad, sorry!)
  • Missing the STORE header on mobile
  • Results text should be Body Small
  • "Format" and "Label" should be Body Small Bold
  • Format and Label dynamic text should be Body Small
  • "PRE-ORDER" should be size 14pt on desktop and Body Small on mobile

[TSK-395] Add Pagination

  • On desktop, display 50 results and then have pagination

  • On mobile, display 10 search results and then have pagination

  • On the first page of results, this is indicated with a bold, and underlined number 1, and then only a right arrow is displayed.
    Image

  • On the 2nd page of results and all thereafter, left and right arrows are displayed, and the currently viewed page is in the middle of the 3 numbers, and underlined / bold
    Image

Desktop Spacing
Image

Mobile Spacing
Image

[TSK-328] Filters/Categories

Designs in Figma (make sure you are looking at the page "Approved Designs" linked here)

Desktop Filter Design
Image

Mobile Filter Design
Image

COLOR STYLES for both desktop / mobile
Image

Desktop Typography
Image

Mobile Typography
Image

  • Desktop Spacing (tip in case you don't know: if you switch on Dev Mode in Figma - you'll see all of these spacing notes in detail
    Image
    Image

  • Mobile Spacing

FUNCTIONALITY

  • When a user comes to the Shop page, all products are displayed in the results, as indicated by the SHOP ALL category highlighted in bold in the filter/category section.

  • These Shop All results are sorted by Featured first, Newest, then Oldest
    Image
    Image

  • The Genre filter should be customizable for the admin, as new genres may be added/removed regularly

  • When a user clicks either Genre, or Format, the dropdown expands, the + icon transforms into a –

  • User can select as many options as they want from the Genre and Format options. The square selectors next to the options fill black to indicate that they are active and a number in parenthesis updates next to the filter category to indicate how many total selections in that category are active
    Image

  • The results automatically update as user selects / deselects filtering options

  • In the Category filter (shop all, new this week, back in stock etc), user can only select ONE at a time.

  • Active category selected is indicated by bold text
    Image

  • On mobile, if the user collapses the category filter, the active category filter is shown
    Image

SORT BY FILTERING

  • Default selection is to filter by Featured - which means that the results are ordered by most recently featured first, then newest then oldest
  • Users can also then sort by Newest and Oldest from the dropdown
    desktop dropdown
    Image

Image
Image

  • Mobile dropdown
    Image

[TSK-363] Fix Monsterinsight

Notes from Phil when it Monsterinsight stopped working

•MonsterInsights was working fine until we had to renew our license.
•I had to renew the license with a different account because the other one was created by an ex-employee.
•Once the license was renewed, MonsterInsights stopped working.
•I've tried to relaunch setup through the Wordpress Wizard, but I feel like it needs to be connected manually through code since most of our plugins are custom and not done through the Wordpress dashboard.

[QA] Pagination

I'm not sure if this logic will be implemented later and for the sake of functionality it just hasn't been accounted for yet, but we're going to display 50 search results per page on desktop, and then 10 for mobile.

  • First page shows pagination like this where the number one is to the left side and bold. Only 3 pages are shown
    Image

  • And then when you are on page 2 and onwards, it is centered and left arrow is visible
    Image

[TSK-669] Create new store homepage layout

  • Frontend: Create new Shop page
  • Frontend: Add header with total results
  • Frontend: Add top filtering dropdown
  • Frontend: Add left sidebar, and 3-column grid layout for product listing
  • Frontend: Add pagination
  • Backend: Wire up logic for header results
  • Backend: Wire up logic for sidebar
  • Backend: Wire up logic for filtering dropdown
  • Backend: Wire up logic for pagination

Image

Implement New Design

Designs in Figma

  • Entire page has background HEX# F1F1F1
  • There's a bar below that contains the header SHOP and search results number. The Sort By is on the right hand side.

Image
Image

  • Desktop layout shows 3 columns of products. Tablet down shows 2 columns.

  • Anatomy of the desktop product cards:
    Image

  • Anatomy of mobile product cards:
    Image

  • Products tagged as "Preorder" have a tag at the upper right hand corner. See below screenshot for placement and spacing. Text style desktop is Body Copy Small
    Image

Out of stock state
Image

  • Underneath the filters/categories, lives a button that links people to the Record Club page. ISC Admin has the ability to turn this button on and off at their discretion.

Desktop
Image

Mobile
Image

Add/remember page on back navigation

When the user is browsing through collections,features,shop, events etc their place is not saved when clicking on an item and then going back. User is automatically sent to the top/start of the page.

Screen.Recording.2024-01-08.at.1.08.54.PM.mov

Search Results

We are seeing products appear in search results through the public Shopify theme (which is themed to club.insheepsclothinghifi.com) How do we have it so that search results appear with the correct shop theme?

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.