These are chat archives for reactioncommerce/reaction

26th
Jul 2017
Allie Reilly
@acreilly
Jul 26 2017 01:26
Thank you!
My issue is that I am trying to display images, even though I know there is media available, when I use find for all or findOne, nothing returns. https://github.com/boomerdigital/reaction-wish-list/blob/wishlist-section/client/templates/wishlist/wishlistItems.js#L19
kenpeter
@kenpeter
Jul 26 2017 01:48
Hi all. I git clone reaction commerce and running the default theme. I want to add a footer. How do I do that?
Julio Seña
@jcsena
Jul 26 2017 03:02
Hi, I'm trying to open a store. I am testing your ecommerce but have some bug with the header
Screen Shot 2017-07-25 at 10.02.31 PM.png
Screen Shot 2017-07-25 at 10.02.09 PM.png
Screen Shot 2017-07-25 at 10.02.31 PM.png
Screen Shot 2017-07-25 at 10.02.09 PM.png
Jeremy Shimko
@jshimko
Jul 26 2017 03:03
@acreilly did you subscribe to a publication for whatever data you’re trying to fetch?
Julio Seña
@jcsena
Jul 26 2017 03:04
Screen Shot 2017-07-25 at 10.03.56 PM.png
the header is hidden when i make the reload page
and fix when i clear the browser, cache, etc...
callback..
@_rakesh87_twitter
Jul 26 2017 07:31
Hello, folks! I am starting customization on reaction, first I want to changes the favicon.ico How I can do it.
Please share the thoughts on this I am following the old blog http://spencernorman.com/customizing-your-favicon-with-reaction-commerce-0-15 but was not able to get the desired results.
Sébastien R
@warhammer2345_twitter
Jul 26 2017 11:37
Hello everyone,
I am trying to configure MAIL_URL but I have no idea what I have to put on. Can you explain me and give me an example?
Sincerely,
Sébastien
BTR Naidu
@naidu
Jul 26 2017 13:18
Is there any way to setup recurring item (like subscription package) while creating / adding a product?
Daniel Honig
@dhonig
Jul 26 2017 13:22
@naidu you can hook into one of the order callbacks
then I would delegate all the heavy lifting to a background job
to keep the callback logic very lightweight
I can provide some sample code a better answer later on....
BTR Naidu
@naidu
Jul 26 2017 13:23
@dhonig does it involve some programming? Some sample code would be handy.
Thanks for the reply @dhonig
Daniel Honig
@dhonig
Jul 26 2017 13:23
Yeah it will definetly take some custom code
BTR Naidu
@naidu
Jul 26 2017 13:24
Ok. Looking forward for the sample code ..
So far I have enjoyed the drag and drop feature but need to dig into code.. hmm..
Daniel Honig
@dhonig
Jul 26 2017 13:24
Nice
BTR Naidu
@naidu
Jul 26 2017 13:25
looking forward for the challenge.
Alazahr
@Alazahr
Jul 26 2017 13:32
Hi all ! Anyone know how can i resolve : Oops! It looks like you don't have Git installed yet! in command prompt
danielpinna
@danielpinna
Jul 26 2017 13:35

Hi Everyone, I deployed Reaction on Heroku. But when I access the application only one blank page is displayed. No error appears in the browser console or in the server log.

Can someone help me?

@machikoyasuda Great!!
BTR Naidu
@naidu
Jul 26 2017 13:48
@Alazahr which OS you have? Linux? Which flavour or linux?
Alazahr
@Alazahr
Jul 26 2017 14:11
@naidu I got WIndows 10
BTR Naidu
@naidu
Jul 26 2017 14:45
@Alazahr stupid question but have you already installed the git package? https://git-scm.com/downloads
machiko
@machikoyasuda
Jul 26 2017 15:20
Hi all - Catch up on the latest with Marketplace progress w/ notes from our community call today: https://docs.google.com/document/d/1PwenrammgQJpQfFoUUJZ96i_JJYCM_4glAjB1_ZzgwA/edit?usp=sharing
Allie Reilly
@acreilly
Jul 26 2017 20:38
@jshimko Yes I had tried it with different set ups following how it is done in other parts of reaction but did not seem to work.
Mike Murray
@mikemurray
Jul 26 2017 21:21
@acreilly you need to make your own publication that fetches the media you need. Media for products is only fetched if you subscribe directly to products or the product publication.
Janus Reith
@janus-reith
Jul 26 2017 22:07

Hey, I just encountered this issue, maybe someone can help:
I have an exported function that I use both on client and server, that calculates a value and returns it.
Before that I had it serverside, and used Meteor.call to access it on the client - Now Im transitioning to a shared function in /lib.

I used Logger to log how the calculation is done without issues on the server before.
To distinguish now as both client/server need it I use:
if(Meteor.isClient){
import { Logger } from "/client/api";
}
if(Meteor.isServer){
import { Logger } from "/server/api/";
}

Now I get "ReferenceError: Logger is not defined" both on client and server everytime I call my function
What am I doing wrong?

Appareantly, using Logger i Client after importing it from client/api is not an issue, neither is doing the same thing on the server
So it must somehow be connected to it being and exported function and in /lib
*an
Jeremy Shimko
@jshimko
Jul 26 2017 22:40
you have to instantiate the Logger variable at the top scope
FYI, you should use 3 backticks around your code blocks (```) to add proper code highlighting. Unformated code with no highlighting is pretty tough to read.
Janus Reith
@janus-reith
Jul 26 2017 22:42
hey, thanks for the answer, as usual - yep i should get used to doing that, sry
could you explain further what you mean with instantiate at the top scope?
Jeremy Shimko
@jshimko
Jul 26 2017 22:43
let Logger;

if (Meteor.isClient){
  Logger = require("/client/api").Logger;
}

if (Meteor.isServer){
  Logger = require("/server/api").Logger;
}
Jeremy Shimko
@jshimko
Jul 26 2017 22:50
@acreilly you may find the Meteor docs for pub/sub helpful for what you’re trying to do.
https://guide.meteor.com/data-loading.html
Janus Reith
@janus-reith
Jul 26 2017 22:50
That worked, thanks for being my saviour again
Jeremy Shimko
@jshimko
Jul 26 2017 22:50
No prob. :)
kenpeter
@kenpeter
Jul 26 2017 23:58
When I try to run "reaciton &" in background. It will die sometime afterward. How do I run reaction in the background with continue running? Like using "forever"