These are chat archives for reactioncommerce/reaction

8th
Mar 2018
JohnZorn
@nakedcity
Mar 08 2018 09:08 UTC
Gus anyone here to tell me if multiple currencies is supported?
Brent Hoover
@zenweasel
Mar 08 2018 09:09 UTC
Yes they are
JohnZorn
@nakedcity
Mar 08 2018 09:09 UTC
thanks for the answer
Brent Hoover
@zenweasel
Mar 08 2018 09:09 UTC
Also, love your music.
JohnZorn
@nakedcity
Mar 08 2018 09:09 UTC
:)
me too I wish I was that man :)
Brent Hoover
@zenweasel
Mar 08 2018 09:10 UTC
I saw him at the knitting factory a few years ago
anyway :+1:
JohnZorn
@nakedcity
Mar 08 2018 09:10 UTC
yes brother I always try to do to his concerts when he is on tour in Europe
Brent are the prices set for other currencies or is based on currency exchanges?
Brent Hoover
@zenweasel
Mar 08 2018 09:12 UTC
Currency exchange rates based on the OPenExchangeRate API
JohnZorn
@nakedcity
Mar 08 2018 09:12 UTC
thanks for the info
Can I bother you with a last question?
Brent Hoover
@zenweasel
Mar 08 2018 09:13 UTC
you set prices in a base currency and then it just shows the converted rates if you are in another currency
sure
JohnZorn
@nakedcity
Mar 08 2018 09:13 UTC
Do they have wholesale or retailers role feature?
Brent Hoover
@zenweasel
Mar 08 2018 09:14 UTC
No, currently we don’t have different prices for different roles
JohnZorn
@nakedcity
Mar 08 2018 09:14 UTC
How would you solve this issue with the current features of the platform?
duplicating items? or private pages?
or duplicating the site?
Brent Hoover
@zenweasel
Mar 08 2018 09:15 UTC
I would extend the schema to include a price per role for every product
actually, that might not work
JohnZorn
@nakedcity
Mar 08 2018 09:16 UTC
due to the currency conversion based on the price field?
Brent Hoover
@zenweasel
Mar 08 2018 09:17 UTC
you would need play around with the publication a little bit to make sure you don’t expose the prices to everybody
JohnZorn
@nakedcity
Mar 08 2018 09:17 UTC
cool mate thanks for all the help
I will try to install and play around with the system
Brent Hoover
@zenweasel
Mar 08 2018 09:17 UTC
so maybe you could have a seprate ProductRates collection and publish that based on the user role
kk
JohnZorn
@nakedcity
Mar 08 2018 09:18 UTC
is this platform free for anytype of company?
Vigy
@vigyano
Mar 08 2018 09:20 UTC
I am using latest reaction 1.8.2 and when I do docker build I keep getting this error after waiting for morethan 40 mins of build time.
[-] Building Meteor application...


Even with METEOR_ALLOW_SUPERUSER or --allow-superuser, permissions in your app
directory will be incorrect if you ever attempt to perform any Meteor tasks as
a normal user. If you need to fix your permissions, run the following command
from the root of your project:

  sudo chown -Rh <username> .meteor/local

/opt/build_scripts/build-meteor.sh: line 30:  5448 Killed                  meteor build --directory $APP_BUNDLE_DIR
The command '/bin/sh -c cd $APP_SOURCE_DIR &&             $BUILD_SCRIPTS_DIR/install-deps.sh &&             $BUILD_SCRIPTS_DIR/install-node.sh &&             $BUILD_SCRIPTS_DIR/install-phantom.sh &&             $BUILD_SCRIPTS_DIR/install-mongo.sh &&             $BUILD_SCRIPTS_DIR/install-meteor.sh &&             $BUILD_SCRIPTS_DIR/build-meteor.sh &&             $BUILD_SCRIPTS_DIR/post-build-cleanup.sh' returned a non-zero code: 137
$ reaction -v

Node: 8.9.4
NPM: 5.6.0
Meteor Node: 8.9.4
Meteor NPM: 5.6.0
Reaction CLI: 0.28.0
Reaction: 1.8.2
Reaction branch: master
Docker: 17.12.0-ce
Michael Jenny
@prinzdezibel
Mar 08 2018 10:34 UTC
@vigyano I guess you set the TOOL_NODE_FLAGS="--max-old-space-size=2048" variable, don't you? https://docs.reactioncommerce.com/reaction-docs/master/deploying-reaction-using-docker
Vigy
@vigyano
Mar 08 2018 16:25 UTC
Found the issue. It is a memory issue, increased the docker memory and it fixed it.
William Moss
@willmoss1000
Mar 08 2018 20:23 UTC
currently I use something like this in the autovalue to find the value of a field in the schema. const productId = this.siblingField("_id").value; how would I refer to the subschema price, and access price.min of a given product?
const priceMin = this.siblingField("min").value; doesn't work. @prinzdezibel ?
Patrick Newell
@pnewell4_twitter
Mar 08 2018 20:54 UTC
I am pulling my hair out... I have a file called client/index.less in a custom plugin which is not being picked up. Any troubleshooting suggestions?
Patrick Newell
@pnewell4_twitter
Mar 08 2018 21:00 UTC
not sure why I hadn't tried this earlier, but I added import "./index.less" to my index.js and it seems to be working... the docs suggest I don't have to do that. Am I reading them wrong?
Esteban Montes
@emontesg
Mar 08 2018 22:13 UTC
I can add my personal provider to login ? or only can use google, facebook, intagram etc. to login ?
Loz
@lozGemachet_twitter
Mar 08 2018 22:35 UTC
Hello, do you have a plugin store where I could upload my custom plugin and direct our customers to install from?
Esteban Montes
@emontesg
Mar 08 2018 22:58 UTC
Someone help me ? I need login with my private provider
Brent Hoover
@zenweasel
Mar 08 2018 23:26 UTC
To add a private provider you will need to create an extension to do so. You can look at the packages for Instamgram, etc. as examples
Esteban Montes
@emontesg
Mar 08 2018 23:30 UTC
Where can look the packages ?