News for hackers. Stuff that matters.
Re:Static web – back to the roots? by reacharavindh on Saturday May 25, 2019 @03:57AM (#20007669)
but sometimes you legit need dynamic capabilities. I'm now pondering about selling a few items through my website(built with Hugo). But, how? So, I'm stepping into Wordpress realm because that's where the payment processing stuff are.

Anyone here know/have done a shopping website built with Hugo and a simple third party service for payment processing?

Re:Static web – back to the roots? by thirdsun on Monday May 27, 2019 @04:57AM (#20020531)
I currently run a static website with a shop using Shopify's JavaScript SDK. All the benefits of Shopify's excellent backend and admin interface while still using a performant website that can be designed however I please.

Another option is Snipcart, which explicitely works as a drop-in shop for any website[2].

[1] https://shopify.github.io/js-buy-sdk/

[2] https://snipcart.com/

Re:Static web – back to the roots? by icebraining on Saturday May 25, 2019 @04:59AM (#20007845)
You can use Stripe Checkout without a server - all you need is to configure the products on the Stripe account, then use JS on your site to pass the product SKUs when redirecting to the Checkout page: https://stripe.com/docs/stripe-js/reference#stripe-redirect-...
Re:Static web – back to the roots? by vector_spaces on Saturday May 25, 2019 @04:01AM (#20007678)
I haven't used them, but I was evaluating SnipCart as an option for adding e-commerce capabilities to a static site. Other requirements made us ultimately decide to port everything to Squarespace, but I've been thinking about turning on a small static site store of my own with these guys.

https://snipcart.com/

Re:Static web – back to the roots? by md1204 on Tuesday May 28, 2019 @10:14AM (#20030197)
Snipcart has been mentioned a few times already, but you should check this tutorial on their blog:

> https://snipcart.com/blog/hugo-tutorial-static-site-ecommerc...

It shows exactly the use case you're mentioning with Hugo.