These are chat archives for reactioncommerce/reaction

28th
Mar 2018
erdemilhan
@erdemilhan
Mar 28 2018 06:49
Hello All, has anyone tried to implement promotions on reaction? We are looking into a simple bundle promotion as in "Buy X get Y free)
Brent Hoover
@zenweasel
Mar 28 2018 06:51
Is this something that would require a promo code or would just happen when you added it to cart?
Either way, you could just create a plugin that listens for cart events and then add/removes/discounts items
erdemilhan
@erdemilhan
Mar 28 2018 06:56
hi @zenweasel yes indeed this is going to happen when you add to cart
We are working in a marketplace mode. So the expectation is that merchant can select a free bundle product for another of his product to define as bundle
then a simple promo info can be displayed in product details page
in the cart page, calculation of cart amount should take this promotion into account
Brent Hoover
@zenweasel
Mar 28 2018 06:59
we don’t have any concept of a bundle, but you could just apply a promo code on cart add of a particular product. If you look at the discount-codes plugin in imports/plugins/included you can see how that gets implemented. Codes can then apply discounts a few different ways.
erdemilhan
@erdemilhan
Mar 28 2018 07:07
ok so what you are suggesting is to generate a discount-code on the fly for that particular product and simulate a bundle discount scenario? i'll look at the plugin in detail, thanks for the pointer
Brent Hoover
@zenweasel
Mar 28 2018 07:08
That would be the simplest implementation I think.
sunclyde
@sunclyde
Mar 28 2018 07:39
Dear all, just have a glance at reaction commerce, didn't find CRM related features
not found a place to check customer list or such things like this, is that not implemented by default package?
otherwise we need to integrate an external CRM system?
Loan Laux
@loanlaux
Mar 28 2018 07:41
@sunclyde There's no CRM feature built in at the moment. But integrating your own external system should be perfectly doable using the plugin API.
sunclyde
@sunclyde
Mar 28 2018 07:42
Thanks for the clarification, is there any suggested CRM to integrate?
Loan Laux
@loanlaux
Mar 28 2018 07:48
I'm not aware of anyone who has integrated a CRM with Reaction yet. I'd say go for the one that's the most developer friendly, but of course there are other factors that only you can decide upon.
sunclyde
@sunclyde
Mar 28 2018 07:53
that's clear for me, thank you!
Loan Laux
@loanlaux
Mar 28 2018 07:56
If you need any help, don't hesitate to reach out here. The community is happy to help—especially for such a project that would benefit the Reaction ecosystem as a whole. :)
erdemilhan
@erdemilhan
Mar 28 2018 08:01
hello All, once again - one question about page, component management from a CMS perspective - i understand reaction takes a lean approach here, but anyone has experience with integrating with a CMS solution as the frontend?
sunclyde
@sunclyde
Mar 28 2018 08:23
i'm wondering any live sites are using reaction commerce?
sunclyde
@sunclyde
Mar 28 2018 08:38
yea, that's great, i can see 5 online sites
Sebastian Rindom
@srindom
Mar 28 2018 09:34
Hi, I am experiencing super slow build times (1-2 minutes) every time I change a file and it is becoming a real pain. Is anyone else experiencing this issue or do any of you guys have tips for what I could do? Thanks
Build times are pretty slow on my machine as well, so I elaborated a work-around.
Sebastian Rindom
@srindom
Mar 28 2018 09:59
@loanlaux Thanks! That's quite a workaround - is anyone currently looking at moving Reaction away from Meteor?
Loan Laux
@loanlaux
Mar 28 2018 10:00
It's on the roadmap, but my impressions are that it'll take quite a bit of time. The GraphQL API is a first step towards this. Would be glad to get the core team's input on this.
galpeer
@galpeer
Mar 28 2018 11:31
I upgraded to Reaction's latest version and the search modal is not working. Do you know why?
Loan Laux
@loanlaux
Mar 28 2018 11:33
@galpeer Did you upgrade from 1.9.0 to 1.10.0?
galpeer
@galpeer
Mar 28 2018 11:45
I took the latest version from GitHub
I didn't upgraded but created a brand new project with 1.10
Loan Laux
@loanlaux
Mar 28 2018 11:46
Oh, that's an interesting one. Could you file an issue on GitHub?
galpeer
@galpeer
Mar 28 2018 11:47
Sure.
Loan Laux
@loanlaux
Mar 28 2018 11:47
Thanks a lot!
afour-deepakn
@afour-deepakn
Mar 28 2018 13:12
@zenweasel
I just want to know Is Reaction Commerce ready to implement multi-vendor marketplace for e-commerce platform?.
can I have some pointers on this
Loan Laux
@loanlaux
Mar 28 2018 14:21
Currently dreaming about integrating http://cpu.rocks or similar to Meteor's isobuild... 🤩
My bad, http://gpu.rocks.
A GPU-accelerated build system. Doesn't it sound like an awesome idea?
Reading benchmarks, I think that could boost build performance by 10~20x. The thing is, Meteor's isobuild is not multi-threaded (as almost every Node app out there). So basically, you can run it on the highest clock speed possible... Or modify it to take advantage of Nvidia GPUs.
Loan Laux
@loanlaux
Mar 28 2018 14:27
Absolutely no idea on the feasibility of this though, and I imagine lots of people have already looked into it. Just thinking out loud here. That would truly be awesome.
Brent Hoover
@zenweasel
Mar 28 2018 15:06
@afour-deepakn The short answer is yes, Reaction is ready for marketplace. What your definition of what marketplace is and what you needs are may not match with what we call marketplace but you def can use it for that.
jiayimu
@jiayimu
Mar 28 2018 15:11
Hello, everyone. I am using docker machine to install the default website on AWS. After I run "docker run -d blabla..." I got this "...Status: Downloaded newer image for reactioncommerce/reaction:latest..." But when I went to my domain, I still got "Time-out" error. Right now, my domain is linking to the IP. I can see the collections in my database. The docker container is running fine. Does anyone know what else should I check?
Nathan Smith
@NSMobileCS
Mar 28 2018 16:39
hi, i'm working on a mvp ecommerce site that needs to pull in products listed from an external api. i'm working out how to have it display pics, cuz image links are included in the products api listing. i probably just want to modify the templating to show the images i guess. so there's no need to store a local copy of the images, is there? i should be able to just store the link seems easiest?
nuwrk
@nuwrk
Mar 28 2018 16:48
Does anyone have the analytics package working in production? Any thoughts opinions on it?
ibrahimot
@ibrahimot
Mar 28 2018 17:15
Hey guys, is there anyway to create an order in https://swag.getreaction.io/ or this is the only way how to learn order from here https://docs.reactioncommerce.com/reaction-docs/master/orders-admin
JohnZorn
@nakedcity
Mar 28 2018 17:39
Anyone to help
I'm getting this warning and the customized landing page does not work
modules.js?hash=69576d12fe5a6c58f760c1c0d71282aa2b1bf822:64094 Warning: The <Reaction(products) /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change Reaction(products) to extend React.Component instead.
@prinzdezibel yes I'm experiencing this issue
with the landing apage
seems not to be taking the extension of the products component
Nathan Smith
@NSMobileCS
Mar 28 2018 18:06

i'm getting this error
`Started proxy.

Unable to resolve some modules:

"react/lib/ReactComponentTreeHook" `

it was working yesterday, anybody know what that is?
JohnZorn
@nakedcity
Mar 28 2018 18:51
did you try meteor npm i
seems or the react lib isnt there or is another version
William Moss
@willmoss1000
Mar 28 2018 19:03
Could anyone advise what I can do to fix this error: used to load the font 'https://at.alicdn.com/t/font_r5u29ls31bgldi.woff' because it violates the following Content Security Policy directive: "font-src 'self'
*Refused
William Moss
@willmoss1000
Mar 28 2018 22:11
ok fixed it - added alicdn to browser policy :+1:
Has anyone got a load balancer working with websockets on elastic beanstalk? I've been trying for about 4 days now...
JohnZorn
@nakedcity
Mar 28 2018 22:28
I fixed my issue of React.Component warning by doing
import React from "react";
import { registerComponent, getHOCs, getRawComponent } from "/imports/plugins/core/components/lib";
const Products =  getRawComponent("Products");
class LandingPageComponent extends React.Component {
  render() {
   return (
     <div>
      <div className="banner">
        Banner update
      </div>
      <Products></Products>
     </div>

   );
  }
}

registerComponent("LandingPageComponent", LandingPageComponent, getHOCs("Products"));
njbotkin
@njbotkin
Mar 28 2018 22:54
Is there a nice way to package/specify npm dependencies with plugins?
Brent Hoover
@zenweasel
Mar 28 2018 23:18
@njbotkin You can create a package.json in your plugin and they will be installed by the CLI
The main issue now is if your packages install dependencies that conflict with packages the main app installs
njbotkin
@njbotkin
Mar 28 2018 23:19
Awesome. Okay.
Is there any automatic pruning of a plugin's dependencies if it's removed?
Brent Hoover
@zenweasel
Mar 28 2018 23:20
You can see now when the app starts up it says Installing dependencies for connectors-shopify
No. This feature is pretty limited at the moment. We are in the process of moving our plugins to be npm packages so all of that will just be normal npm stuff
njbotkin
@njbotkin
Mar 28 2018 23:21
Woohoo! Sounds great.