Giter Club home page Giter Club logo

Comments (11)

pkarw avatar pkarw commented on May 21, 2024

@filrak it seems it need to be styled on the frontend - could you do that? And then we need to change /vue-storefront/src/store/modules/catalog.js:61 (loadCategories method) to:

 return new Promise((resolve, reject) => {
      client.search({
        index: config.elasticsearch.index, // TODO: add grouped prodduct and bundled product support
        type: 'category',
        q: qr,
        '_sourceInclude': ['name', 'position', 'id', 'parent_id', **'children_data'**]

      }).then(function (resp) {
        commit(types.CATALOG_UPD_CATEGORIES, resp)
        resolve(resp)
      }).catch(function (err) {
        reject(err)
      })
    })

and

    let qr = 'level: 2'

from vue-storefront.

pkarw avatar pkarw commented on May 21, 2024
  • add is_active = true to filter @pkarw

from vue-storefront.

filrak avatar filrak commented on May 21, 2024

@pkarw of course i will ;) As far as i remember Karol said that current graphics are as simple as possible. That's the reason why there are no nested categories yet but they should be implemented later and according to what you wrote

from vue-storefront.

pkarw avatar pkarw commented on May 21, 2024

So right now we should display only the 1. level and thats all? @filrak @karolbzik

from vue-storefront.

filrak avatar filrak commented on May 21, 2024

@pkarw according to design and what @karolbzik said - yup

from vue-storefront.

pkarw avatar pkarw commented on May 21, 2024

Added to the sidebar but with some minor issue to be fixed (#42). @filrak @karolbzik we need some design idea for this - how to present the subs?

Right now it's quite awkward
zrzut ekranu 2017-10-06 09 02 29
:

from vue-storefront.

karolbzik avatar karolbzik commented on May 21, 2024

#54

from vue-storefront.

karolbzik avatar karolbzik commented on May 21, 2024

vue storefront - sidebar menu

vue storefront - sidebar menu with nested categories

sidebar menu my account on mobile

sidebar menu on mobile

from vue-storefront.

pkarw avatar pkarw commented on May 21, 2024

Related to: #391

from vue-storefront.

pkarw avatar pkarw commented on May 21, 2024

@filrak you should take care of this one as it's kind of core change to the navigation

from vue-storefront.

pkarw avatar pkarw commented on May 21, 2024

Marvelous job @mercs600!

from vue-storefront.

Related Issues (20)

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.