These are chat archives for reactioncommerce/reaction

29th
Mar 2019
Nuruddin Badawi
@NuruddinBadawi
Mar 29 16:34
HI, Can I Access to All Shops in the marketplace via GraphQL schema ?
It’s seems the Starter Kit just for single shop, right ??
If I understand well the I can’t use starter kit if I enable the Marketplace, because I can’t show all the shop’s in the single store front, unless I create subdomain for each shop, right ?
Owen Hoskins
@owenhoskins
Mar 29 17:33

Hello community, I've just freshly cloned the Reaction Platform repo and ran make & make start, however reaction-next-starterkit container fails to start with:

error An unexpected error occurred: "EACCES: permission denied, mkdir '/home/node/.cache/yarn/v4/npm-classnames-2.2.6-43935bffdd291f326dad0a205309b38d00f650ce'".

I am running on Docker for Mac and using Kitematic I was able to make that volume available and the container proceeded but threw another error:

NODE_ENV=production node ./src/server.js
...
Error: Cannot find module 'cookie-parser'
...

Anyone else face this before?

antecrypto
@antecrypto
Mar 29 18:13

Hello, Is this possible on Reaction Commerce?

MainDomain.com - Access to Reaction, 4 products displayed, specific CSS displayed, Specific Header Image Displayed.

MainDomain.com - Button that goes to "another collection of 4 products", website CSS changes, New Items displayed, Specific Header Image Displayed.

Sub.MainDomain.com - Button that goes to "another collection of 4 products" via subdomain, Website CSS changes, New Items displayed. Specific Header Image Displayed.

All "ADD TO CART ACTIONS" on any 3 "collections" gets added to the same CART for checkout?

Janus Reith
@janus-reith
Mar 29 18:15
@antecrypto Should be possible
Example implementation: Give each of these product groups an own tag id
antecrypto
@antecrypto
Mar 29 18:17
Alrighty, so no need to use Reaction Marketplace?
Janus Reith
@janus-reith
Mar 29 18:18
Then take the subdomain to match it to a tag, and use that tag as input parameter for the catalogItems query
antecrypto
@antecrypto
Mar 29 18:18

Then take the subdomain to match it to a tag, and use that tag as input parameter for the catalogItems query

Thanks Janus

Janus Reith
@janus-reith
Mar 29 18:19
@antecrypto I think that should not be necessary for the use case you gave, as it seems the seperation doesn't have to be too strict?
I could think of several ways how to achieve the separate css per site, but you'd have to figure out what works best for you
antecrypto
@antecrypto
Mar 29 18:21
Nope, basically just need to split up "collections (4 single products per collection) to show different css/header, and all "collections" need to be able to checkout together. Other than that, I'm going to be adding a discount code of 20% per collection if they order all 4 products, on each collection
Janus Reith
@janus-reith
Mar 29 18:21
Also, this could probably be achieved with just one nextjs frontend instance, that behaves different for each domain, but you might check if thats actually the case our if you need separate frontends
Alright
Then I'd say, shouldn't be too hard or complex, but certainly requires coding and is not something available out of the box
antecrypto
@antecrypto
Mar 29 18:22
Appreciate your input, ty
Janus Reith
@janus-reith
Mar 29 18:23
you're welcome, good luck
nicooler
@nicooler
Mar 29 22:27
Does anybody have issues with the login from the starterkit too? And that new users are not appearing in accounts?