Using Reaction Commerce for a single shop


#1

Currently Reaction is shipping with two shops enabled by default, presumably as a showcase of it’s multi-vendor capabilities.

It seems fairly straightforward to use Reaction for a single shop and I’ve found that it’s possible to remove the shop-name slug from the url by changing this line: https://github.com/reactioncommerce/reaction/blob/development/packages/reaction-router/common/init.js#L163
from
prefix: "/" + prefix
to
prefix: ""

Are there any other considerations I should be aware of in terms of modifying reaction to be best suited for running a single shop?


#2

Those two changes to init.js are the same one’s I made for two separate projects which are both working as a “single” shop. Seems to be all there is to it!


#3

Thanks Owen! That’s what I was hoping for.