Velo code to render components conditionaly SSR

Oofta i could go on for a while,

I want to be able to build my own frontend in nextjs. A headless approach. I understand that it is already doable, but i would like to avoid the checkout, payment processing, shipping, discounts, taxes headache & utilise all the wonderful apis wix offer.

The nice thing with the storefront api, is that they handle the whole checkout process + shipping/taxes, leaving the frontend totally customizable, less bloaty :slight_smile:

https://dev.wix.com/api/rest/wix-stores/carts
If we could get a little create endpoint there, that could be nice :slight_smile:

Also if wix paper performance vs perceived performance (great on desktop), none of this would be necessary!

I’m sure a lot of things are in the works. Bottle in the sea.