Giter VIP home page Giter VIP logo

Comments (7)

andrecrt avatar andrecrt commented on June 22, 2024

Hi!

Thanks for your feedback, interest on the project and looking forward to seeing your store powered by it!

The concept of Category/Collection is something up to the storefront, as you might have already noticed. On the API/Atlas (https://github.com/yoonic/atlas) side of things, there's only the concept of "Collections" which can be used to group Products (and also Contents, Customer, etc if you wish).

In order to achieve sub-categories, you just need to set a parentId to the sub-category (collection) --> https://github.com/yoonic/atlas/blob/master/src/resources/collections/models.js#L87-L89

from nicistore.

 avatar commented on June 22, 2024

I'm building 2 sites - one backend for corporate customers for the Boss and a simple Disaster Preparedness Kits ecommerce site ( I can show you the latter one once it is up!).

from nicistore.

andrecrt avatar andrecrt commented on June 22, 2024

Nice! Did my answer help?

from nicistore.

 avatar commented on June 22, 2024

Yes, I believe it will work. I've been working on creating Variants first. Also, wiped my HD accidentally so I'm starting over a bit. I'll let you know on the subcategories!

from nicistore.

 avatar commented on June 22, 2024

Question on variants: I'm getting the options to appear on the CartItems. Where will I be storing the Product Variant Data, or is there nothing to hold the Data at the moment and i must create my own StoreHandler?

from nicistore.

andrecrt avatar andrecrt commented on June 22, 2024

The Products entity has the concept of "metadata" that is an object in which you can store whatever sorts of information you want. You can use that for variant logic.

from nicistore.

mateomorrison avatar mateomorrison commented on June 22, 2024

@stevecawdery Share that backend with the opensource! Would love to integrate it

from nicistore.

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.