Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scaffold for online catalog site #22

Open
aschmelyun opened this issue Aug 28, 2020 · 2 comments
Open

Scaffold for online catalog site #22

aschmelyun opened this issue Aug 28, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@aschmelyun
Copy link
Owner

Create a simple cleaver-catalog-starter template that highlights Cleaver's ability to generate and build data-driven sites via JSON. An online catalog of various products with specific attributes (think mechanical keyboards, computer parts, auto accessories), would be perfect for example content used alongside this.

@aschmelyun aschmelyun added the enhancement New feature or request label Aug 28, 2020
@eydun
Copy link

eydun commented Feb 14, 2021

Sounds interesting. How would you handle dynamic properties such as inventory (in-stock/out-of-stock)?

@aschmelyun
Copy link
Owner Author

@eydun It won't be much of an e-commerce starter package, but more like a catalog showing items, pictures, etc. You could add a stock attribute to it and either update it manually, rebuilding the static site each time. Or, you could use JavaScript/Vue to pull in the stock value from an external API on page load.

Hope that helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Backlog
Development

No branches or pull requests

2 participants