These are chat archives for reactioncommerce/reaction

3rd
Oct 2017
Josh Cox
@joshuacox
Oct 03 2017 05:49
just curious what version of node does everybody have installed locally? node -v = v6.11.1 here
Brent Hoover
@zenweasel
Oct 03 2017 05:52
7.10.0 from reaction -v
node -v the same
Josh Cox
@joshuacox
Oct 03 2017 05:53
and meteor uses it's own, correct? the only difference I can find between my reactiondev container (which builds atm) and my env is that it is using the latest node
Brent Hoover
@zenweasel
Oct 03 2017 05:53
I believe reaction -v gives you the version that Meteor is using
Josh Cox
@joshuacox
Oct 03 2017 05:54
what about reaction build?
Brent Hoover
@zenweasel
Oct 03 2017 05:54
I assume that the CLI is using your globel node?
Josh Cox
@joshuacox
Oct 03 2017 05:55
well no, I tend to have a node from nvm which is in ~/.nvm/version or similar
Brent Hoover
@zenweasel
Oct 03 2017 05:56
well, it’s using whatever node is available in your envrironment
Josh Cox
@joshuacox
Oct 03 2017 05:56
which node /home/thoth/.nvm/versions/node/v6.11.1/bin/node
Brent Hoover
@zenweasel
Oct 03 2017 05:56
maybe global wasn’t the right word
Josh Cox
@joshuacox
Oct 03 2017 05:56
that is for sure
because build ends up making a docker container
and inside that docker container you'd think you'd have things locked down to make consistent builds
which is the weird part, I have a docker container reactiondev, which builds fine on my system, and in fact, uses the system docker to do so, kind of a science experiment at first when i made it. But is now the only way I can build
Josh Cox
@joshuacox
Oct 03 2017 06:03
notice I'm not talking about building the reactiondev container, I am asking the reactiondev container to build from a local reaction folder I mount into said container, I also have the docker sock and other necessary magic for the container to submit to the outer docker binary a new docker build so it can make reaction for me, and it does so.
but I cannot do so from that same local reaction folder using my local reaction build mycustom

reaction -v

Node: 6.11.1
NPM: 3.10.10
Meteor Node: 4.8.4
Meteor NPM: 4.6.1
Reaction CLI: 0.11.0
Reaction: 1.5.0
Reaction branch: obb-marketplace
Docker: 17.07.0-ce

^which that is the reaction -v locally
Ashish
@ashishgokhale
Oct 03 2017 06:11

Hi support,

Is there any way I can disable shipping globally,

Either from admin panel

or by code.

if there is way in code I will do just let me know.

Thanks

Josh Cox
@joshuacox
Oct 03 2017 06:22
for anyone following along notice i added an strace branch to my reactiondev container. I'm using it to hunt down why these out of memory errors are happening
Ashish
@ashishgokhale
Oct 03 2017 06:25
@joshuacox can you please let me know is there any global way to disable shipping option from cart, from admin panel, or by code
Brent Hoover
@zenweasel
Oct 03 2017 06:26
@ashishgokhale When you say “disable shipping” do you mean to skip the shipping step?
Ashish
@ashishgokhale
Oct 03 2017 06:27
yes during checkout
@zenweasel yes
Brent Hoover
@zenweasel
Oct 03 2017 06:31
There’s no way to disable it through the admin. You should be able to remove it by changing the workflow. This is covered in the Customization Guide: https://docs.reactioncommerce.com/reaction-docs/master/plugin-workflow-7
Ashish
@ashishgokhale
Oct 03 2017 06:34
ok Thanks
Ashish
@ashishgokhale
Oct 03 2017 06:46

Also my suggestion is shipping should be a toggle to globally enable/disable. Let suppose I want to sell some digital or virtual product which need not to ship.

I can see there is field in database against every product : "requiresShipping" so it can be done. So there will be addition of a good feature, if RC have it. :)

Josh Cox
@joshuacox
Oct 03 2017 07:00
interesting enough I nvm install v8.6.0 and things are working again locally, but what would that have to do with reaction build seeing as how A. meteor has it's own node and B. the base reaction container has it's own node
shahid belal
@ConnectBelal_twitter
Oct 03 2017 10:31
when i create static pages i am getting "you don't have permission to view content" but when i log in static content shows?
shahid belal
@ConnectBelal_twitter
Oct 03 2017 10:45
image.png
Brent Hoover
@zenweasel
Oct 03 2017 11:06
You need to make sure you have added the permission group for that route
it needs to be added to all users
shahid belal
@ConnectBelal_twitter
Oct 03 2017 11:14
Thanks
Ashish
@ashishgokhale
Oct 03 2017 13:41
Is there any way in RC to store remote server image url path. Can I use cdn either from amazon or so?
Josh Cox
@joshuacox
Oct 03 2017 14:25
@jshimko I'm getting out of memory errors on circleci too! bah humbug!
all is public here
Janus Reith
@janus-reith
Oct 03 2017 14:34
Getting weird errors on atest amrketplace branch:
Whenever i try to load the page in browser, server console throws:
Exception while invoking method 'login' TypeError: Path must be a string. Received null
Daniel Honig
@dhonig
Oct 03 2017 17:32
@joshuacox I've been fighting trying to get a working container from your dev setup
so far everything starts up and core dumps
Sophie He
@sophiehe
Oct 03 2017 17:35
If you'd like an update on marketplace, community, or docs, join tomorrow's open Community Call. We'll also be answering all your development questions. Here's the agenda: http://getrxn.io/2wuBVqu
rhaix
@rhaix
Oct 03 2017 18:40
How can I solve this error? Error while importing to Shops: E11000 duplicate key error collection: meteor.Shops index: id dup key: { : "J8Bhq3uTtdgwZx3rz" }
Roger
@roger07848885_twitter
Oct 03 2017 19:08
I have installed https://github.com/reactioncommerce/reaction-example-plugin in the folder/import/plugins/custom/ but nothing is displayed in the shop. The shop has been started with the reaction-cli. Does the plugin work for the current version of reaction?
José Luis Di Biase
@josx
Oct 03 2017 19:10
the plugin works
Daniel Honig
@dhonig
Oct 03 2017 19:10
you may need to do a reaction reset after installing it
José Luis Di Biase
@josx
Oct 03 2017 19:10
but the problem is that you have to move the json files to the core root project (to load all the data)
first reaction reset -nthen reaction
Roger
@roger07848885_twitter
Oct 03 2017 19:11
I have moved the data from private/data so I do get the example product data but the style does not show
I will try the reset
Roger
@roger07848885_twitter
Oct 03 2017 19:20
thanks @josx for the response. I have tried it now and I only get the data. I expected the layout and css to also change.
or also you can go to /about route
Roger
@roger07848885_twitter
Oct 03 2017 19:57
/about route did not work
José Luis Di Biase
@josx
Oct 03 2017 19:57
maybe /tag/about or /shop/about
i dont remember the default shop url
Roger
@roger07848885_twitter
Oct 03 2017 20:03
/tag/about was found but the content was empty. /about and /shop/about gave error "page not found"
Josh Cox
@joshuacox
Oct 03 2017 21:08
@dhonig that's the weird thing, I'm getting coredumps on my local setup, but NOT in the container at this point, so I have no clue, and cirlceCI does the same thing https://circleci.com/gh/OpenBusinessBox/reaction with only my modified branch working at the moment and NOT v.1.4.3 nor the marketplace branch
with the major difference being that my modified branch is using meteor 1.5.1 and not 1.5.2.1
Michael Ermer
@MichaelErmer
Oct 03 2017 21:27
image.png
hi, im new to reaction, i created a new theme, however it does not get loaded, can someone check my structure above?
Brent Hoover
@zenweasel
Oct 03 2017 21:30
Looks good to me. Also kudos for using WebStorm.
when you say “it does not get loaded” what are you expecting?
Michael Ermer
@MichaelErmer
Oct 03 2017 21:31
i have done reaction reset -n now and it seems that it worked
Brent Hoover
@zenweasel
Oct 03 2017 21:31
:+1:
Michael Ermer
@MichaelErmer
Oct 03 2017 21:31
webstorm is the best, how do i properly run reaction using it?
just meteor default command?
Brent Hoover
@zenweasel
Oct 03 2017 21:32
Yeah, pretty much. You will want to configure ESLint as well
Michael Ermer
@MichaelErmer
Oct 03 2017 21:32
i also get 21:32:45.385Z WARN Reaction: Error while importing to Shops: E11000 duplicate key error collection: reaction.Shops index: _id_ dup key: { : "J8Bhq3uTtdgwZx3rz" }all the time
Brent Hoover
@zenweasel
Oct 03 2017 21:33
You get that using the default data?
Michael Ermer
@MichaelErmer
Oct 03 2017 21:35
yeah
looks like it created two shops
image.png
Brent Hoover
@zenweasel
Oct 03 2017 21:37
that’s really weird. In all the people who have used this, I have never seen that
and you have reaction reset so.. :confused:
Michael Ermer
@MichaelErmer
Oct 03 2017 21:38
:D
i have delete the second one manually but it reapeared
Michael Ermer
@MichaelErmer
Oct 03 2017 22:07
is there a plugin to support something like product sizes?
Brent Hoover
@zenweasel
Oct 03 2017 22:11
not sure what you mean?
Michael Ermer
@MichaelErmer
Oct 03 2017 22:13
sorry, i meant additional configuration or options
like sizes of cloth
Brent Hoover
@zenweasel
Oct 03 2017 22:14
do you mean like another layer beyond product/variant/option?
Michael Ermer
@MichaelErmer
Oct 03 2017 22:14
yeah
something like a free text field for a custom label
Brent Hoover
@zenweasel
Oct 03 2017 22:15
No. The data structure already supports unlimited layers but you would need to create a plugin to change the UI
Michael Ermer
@MichaelErmer
Oct 03 2017 22:15
ok
cool
motive (image) -> type (shirt/hoodie/etc) -> color (red, blue…) -> size
so motive is product, type is option, color could be variant and then i need to add size manually
Brent Hoover
@zenweasel
Oct 03 2017 22:18
yeah, if you look at the data structure it allows you to have unlimited levels of depth
there’s just no UI for that since the three levels is what works best for most people