E-commerce with Hugo!

I have had my hugo site for a while now.
(Mind that’ it’s in french but I am working to make it multilingual)

I always wanted an e-commerce subsection but I didn’t want to deal with having 2 sites
Paying for Shopify or other e-commerce platforms wasn’t what I was looking for.
So I started working on a way to do it all with Hugo.
I ended up having to resort to using a cloud service for a few backend stuff.
But it’s basically free

Of course there’s still quite some work to do but it’s getting there.


For instance the blue filters on the product list page are using JS to show and hide products based on the filtering tags.

But if there are products on other pages with the same tag it doesn’t show them. I’ll have to find a way to incorpore pagination and filtering. It doesn’t sound easy.


But I have had many challenges to get there, I am sure I’ll find a way eventually.

https://cloud-forge.net/boutique/

3 Likes

Right now this is how it works :

  • boutique folder in which can have as many different sub-shop categories folders as needed.
  • then each sub-shop categories folders can contain as many items as needed.

Really nice.
Long time ago I had such a project POC, but never went in production.

By any chance is your code available ?
Would love to see your solution.